PHP Application from Remote Server

NetBeans 6.7 is nearly out so it's time to start developing new features for the next release...

Today, I would like to inform you that we have just added one thing that could help people who would like to develop their PHP applications that are on a remote server. For such users, we have added a new PHP project wizard that takes care about correct project setup. Now, let's try to create such project:

First, invoke new project wizard, select PHP and then PHP Application from Remote Server.

New PHP Application from Remote Server wizard

The next step, Name and Location, is already well-known so let's skip it here and continue with the last step.

Remote Settings

As you can see, NetBeans asks you only for minimum information - project URL (to be able to run the project) and a remote server together with a remote directory (to be able to download/upload the project).

If we click Finish, remote files are downloaded to the newly created project.

Download Progress

Of course, everything is logged so one can see the progress as well as investigate if any error occurs.

Remote Log

The newly created project is properly configured so every single change to your source files should be immediately propagated to your remote server so you can easily run the project or a file.

Remote Project Properties

That's all for today, we hope that you will welcome this feature, especially users who don't have their own server/PHP/database installed locally. And as always, please give it a try and report all the issues you find, thanks a lot.


Comments:

Wow, MS Visual Studio has had this sort of capability for years now. It's good to see this developing for NetBeans. One area I hope you improve on VS is the integration with CVS and remote sites. This is difficult in VS, as Microsoft prefers to integrate more closely with their own content management software. It would be especially great if CVS integration would allow for a seamless build, deploy-to-test, deploy-to-prod scheme. That would work well with our dev/prod VM scheme.

Posted by Charles Soto on June 08, 2009 at 10:24 AM CEST #

Dobrý den,
nevím, kde jinde se můžu zeptat, tak se ptám tady.
Kde jde nastavit defaultní šablonu pro PHP projekt?
Když vytvořím nový projekt, vždy má index.php doctype html transitional.

Posted by Lukas on June 08, 2009 at 03:38 PM CEST #

Nothing about how source files under version control will be handled?

Posted by guest on June 08, 2009 at 10:03 PM CEST #

hi, thanks for this feature.
why can not i select folders to download?
i dont need folders with images, styles, files etc

Posted by murwazy on June 09, 2009 at 02:18 AM CEST #

To Charles Soto:
Sorry, I don't understand what you mean exactly; NetBeans has built-in support for CVS, SVN and HG.

Thanks,
Tomas

Posted by Tomas Mysik on June 09, 2009 at 06:29 AM CEST #

To Lukas:

Zkuste mrknout sem:
Tools > Templates (pak PHP).

HTH,
Tomas
PS: BTW anglictina je preferovany jazyk ;)

Posted by Tomas Mysik on June 09, 2009 at 06:31 AM CEST #

To 218.214.126.215:
Not sure what you mean exactly; if one uses any VCS for his/her project then he/she probably doesn't need any FTP/SFTP... Of course, this is preferred and recommended.

Tomas

Posted by Tomas Mysik on June 09, 2009 at 06:32 AM CEST #

To murwazy:
Yes, this is a place for improvement - could you please file an ENHANCEMENT using NB IssueZilla (URL in blog post)? I would add some simple include/exclude pattern, not only for this wizard but for PHP projects in general.

Thanks,
Tomas

Posted by Tomas Mysik on June 09, 2009 at 06:35 AM CEST #

Tomas Mysik:

http://www.netbeans.org/issues/show_bug.cgi?id=166783

Posted by murwazy on June 09, 2009 at 06:56 AM CEST #

To Tomas Mysik:
právě že tak jsem to zkoušel, ale tímto způsobem nenastavím defaultní šablonu pro index.php

Posted by Lukas on June 09, 2009 at 10:00 AM CEST #

To Lukas:
Mate pravdu, ta stranka je primo soucasti PHP projektu. Z toho bohuzel plyne, ze ji nelze zmenit. Nicmene, toto IMHO neni zasadni bug, protoze:
- clovek nevytvari novy projekt tak casto,
- work around je jednoduchej - smazat vygenerovany index.php a vytvorit novou stranku

Pokud nesouhlasite, zadejte bug a uvedte use case, proc je to pro Vas tak dulezite.

Diky,
Tomas

Posted by Tomas Mysik on June 10, 2009 at 05:59 AM CEST #

i would like to try this but it looks that the relases of 13 and 14 june are broken (bugs are in issuezilla) and they eat up all the memory.

i'm wondering, is there a place to read cvs/mercurial daily changelog messages ?

Posted by gino pilotino on June 14, 2009 at 03:33 PM CEST #

To gino pilotino:
For PHP, you can subscribe to users@php.netbeans.org here [1].

Tomas
[1] http://www.netbeans.org/community/lists/top.html

Posted by Tomas Mysik on June 15, 2009 at 02:36 AM CEST #

To gino pilotino:
Sorry, I pointed you to the incorrect mailing list, it's for PHP users; for commit logs, please subscribe to cvs@php.netbeans.org. Instructions are on the same page.

Tomas

Posted by Tomas Mysik on June 15, 2009 at 02:49 AM CEST #

Hi, I think Netbeans its a great IDE for php.
I also write php-gtk apps and I thinks it will be nice if you add support for this extension.

I allready have a lot of equivalen php documented source files for the gtk extension for the code completion feature, the rest its just the same as the php local script.

if you want those php documented files, let me know

./XeKtRuM

Posted by XeKtRuM on June 15, 2009 at 10:48 AM CEST #

To XeKtRuM:
Could you please send me (tomas dot mysik at sun dot com) what you have? I would look at it. Or maybe better, you can file an issue and add an attachment.

Thanks a lot.
Tomas

Posted by Tomas Mysik on June 16, 2009 at 03:27 AM CEST #

Is there a plan of creating a common service in future for remote server connection, like Eclipse RSE.
I think it may be provided the following feature.
1. Connection management in "Service" window. Should support ftp,ssh and secured style.
2. Create a single connection instance between remote folder and local NetBeans project.
3. Synchronization rule, automactically or by some actions(synchronized on save).
4. Can use diff tool to compare local and remote file.

Posted by hantsy on June 22, 2009 at 10:43 PM CEST #

This is goob, but what if I wont just edit one single line in one page on a remote server ?? I do not wont to download all files to do that =(

It's better use some ftp browser. Is it possible ?? Do you plan to do this in future??

Posted by YAAP on June 25, 2009 at 03:16 AM CEST #

I think that eclipse rse behaviour would be perfect too ...

Posted by meigallodixital on June 30, 2009 at 04:58 PM CEST #

i would like to try this but it looks that the relases of 13 and 14 june are broken (bugs are in issuezilla) and they eat up all the memory.

Posted by oteller on July 02, 2009 at 11:14 AM CEST #

sağolasın.

Posted by haberler on July 02, 2009 at 11:15 AM CEST #

thanlss.

Posted by tatil yerleri on July 02, 2009 at 11:15 AM CEST #

Sorry, I don't understand what you mean exactly; NetBeans has built-in support for CVS, SVN and HG.

Posted by tatil hotel on July 02, 2009 at 11:15 AM CEST #

Wow, MS Visual Studio has had this sort of capability for years now. It's good to see this developing for NetBeans. One area I hope you improve on VS is the integration with CVS and remote sites. This is difficult in VS, as Microsoft prefers to integrate more closely with their own content management software. It would be especially great if CVS integration would allow for a seamless build, deploy-to-test, deploy-to-prod scheme. That would work well with our dev/prod VM scheme.

Posted by Konteyner on July 02, 2009 at 11:16 AM CEST #

thanks for post

Posted by istanbul transfer on July 17, 2009 at 10:30 AM CEST #

heheheh :)

Posted by istanbul transfer on July 17, 2009 at 10:30 AM CEST #

good post

Posted by istanbul transfer on July 17, 2009 at 10:31 AM CEST #

Good job.. İ like it.

Posted by Lida Fx15 Biber Hapı İkibindokuz Seo Yarışması on August 21, 2009 at 12:56 PM CEST #

"Not sure what you mean exactly; if one uses any VCS for his/her project then he/she probably doesn't need any FTP/SFTP... Of course, this is preferred and recommended."
Ok, if you develop pages locally. I need to send some pages to server to test them, there's no reason to commit them to vcs if they're not yet working. Upload on save is not always good, because I sometimes need to make operations on remote copy and not local, for time being I have to have open netbeans and ftp simultaneously.

Posted by yetihehe on August 24, 2009 at 12:29 PM CEST #

It would be especially great if CVS integration would allow for a seamless build, deploy-to-test, deploy-to-prod scheme. That would work well with our dev/prod VM scheme.

Posted by deeper voice on August 29, 2009 at 05:09 AM CEST #

i've just installed nb 6.7.1 on opensolaris, but i am unable to find "php app from remote server". Where can i find it? Any plugin correspond.
thanks

Posted by guest on September 26, 2009 at 12:59 PM CEST #

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.

Posted by links of london on October 30, 2009 at 02:34 AM CET #

thank you article..

Posted by lida Fx15 Biber Hapı İkibindokuz Seo Yarışması on November 02, 2009 at 06:34 AM CET #

i've just installed nb 6.7.1 on opensolaris, but i am unable to find "php app from remote server". Where can i find it? Any plugin correspond.
thanks

Posted by UGG Classic Short on November 13, 2009 at 10:59 PM CET #

The wizard php app from remote server was added in NetBeans 6.8.

Posted by Petr Pisl on November 16, 2009 at 08:41 AM CET #

Wow, MS Visual Studio has had this sort of capability for years now. It's good to see this developing for NetBeans. One area I hope you improve on VS is the integration with CVS and remote sites. This is difficult in VS, as Microsoft prefers to integrate more closely with their own content management software. It would be especially great if CVS integration would allow for a seamless build, deploy-to-test, deploy-to-prod scheme. That would work well with our dev/prod VM scheme.

Posted by lida on January 18, 2010 at 06:42 AM CET #

It would be especially great if CVS integration would allow for a seamless build, deploy-to-test, deploy-to-prod scheme. That would work well with our dev/prod VM scheme.

Posted by burmeh yaza lida fx15 biber hapı ile formda girin on June 06, 2010 at 06:09 AM CEST #

The wizard php app from remote server was added in NetBeans 6.8.

Posted by web on July 10, 2010 at 02:00 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today