X

An Oracle blog about NetBeans for PHP

PHP Application from Remote Server

Guest Author

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.


Join the discussion

Comments ( 35 )
  • Charles Soto Monday, June 8, 2009

    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.


  • Lukas Monday, June 8, 2009

    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.


  • guest Monday, June 8, 2009

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


  • murwazy Tuesday, June 9, 2009

    hi, thanks for this feature.

    why can not i select folders to download?

    i dont need folders with images, styles, files etc


  • Tomas Mysik Tuesday, June 9, 2009

    To Charles Soto:

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

    Thanks,

    Tomas


  • Tomas Mysik Tuesday, June 9, 2009

    To Lukas:

    Zkuste mrknout sem:

    Tools > Templates (pak PHP).

    HTH,

    Tomas

    PS: BTW anglictina je preferovany jazyk ;)


  • Tomas Mysik Tuesday, June 9, 2009

    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


  • Tomas Mysik Tuesday, June 9, 2009

    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


  • murwazy Tuesday, June 9, 2009
  • Lukas Tuesday, June 9, 2009

    To Tomas Mysik:

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


  • Tomas Mysik Wednesday, June 10, 2009

    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


  • gino pilotino Sunday, June 14, 2009

    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 ?


  • Tomas Mysik Monday, June 15, 2009

    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


  • Tomas Mysik Monday, June 15, 2009

    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


  • XeKtRuM Monday, June 15, 2009

    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


  • Tomas Mysik Tuesday, June 16, 2009

    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


  • hantsy Monday, June 22, 2009

    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.


  • YAAP Thursday, June 25, 2009

    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??


  • meigallodixital Tuesday, June 30, 2009

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


  • oteller Thursday, July 2, 2009

    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.


  • haberler Thursday, July 2, 2009

    sağolasın.


  • tatil yerleri Thursday, July 2, 2009

    thanlss.


  • tatil hotel Thursday, July 2, 2009

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


  • Konteyner Thursday, July 2, 2009

    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.


  • istanbul transfer Friday, July 17, 2009

    thanks for post


  • istanbul transfer Friday, July 17, 2009

    heheheh :)


  • istanbul transfer Friday, July 17, 2009

    good post


  • yetihehe Monday, August 24, 2009

    "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.


  • deeper voice Saturday, August 29, 2009

    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.


  • guest Saturday, September 26, 2009

    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


  • links of london Friday, October 30, 2009

    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.


  • UGG Classic Short Friday, November 13, 2009

    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


  • Petr Pisl Monday, November 16, 2009

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


  • lida Monday, January 18, 2010

    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.


  • web Saturday, July 10, 2010

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


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.