New PHP project wizard
Based on a feedback from you, our users, we have decided to implement a new version of New PHP project wizard.
We have created two types of New PHP project wizard - one for a completely new, empty project and one for a project with existing sources. Please try it (using the latest development build of NetBeans PHP IDE) and of course, if you find any issue, report it please.
Have a look at the screenshots and remember - any feedback from you is more than welcome. Thanks a lot!
Two PHP project wizards:

New PHP project wizard (no existing sources):
New PHP project wizard (with existing sources):

Thanks for updates! Creating new projects based on existing sources is very useful function.
It's be good if you fixed a small bug:
I can't set nothing in "index file" field on Run Configuration in project properties.
Sometimes if using mod_rewrite it's needed that run http://test.com/, not http://test.com/index.php.
Sorry for my english.
Posted by Alexius on July 14, 2008 at 02:59 PM CEST #
what about creating a zend proyect?
Posted by Nicolas Wolf on July 14, 2008 at 10:48 PM CEST #
Hi Nicolas,
in the first version of the PHP support in Netbeans we don't plan to have direct support for a framework. We are planing to support some PHP frameworks in the next version. But still it should be possible to develop application with Zend framework without a problem.
Thanks,
Petr
Posted by Petr on July 15, 2008 at 12:50 AM CEST #
Hi Alexius,
do you have any main page of your application? Which is page displayed, when your project is started?
Thanks,
Petr
Posted by PETR PISL on July 15, 2008 at 12:54 AM CEST #
Hello,
How about an option to select HTML template or layout in a way that's similar to the Visual Web Application projects?
It would be cool it we could also create our own HTML templates and then later reuse then when create an new PHP or HTML project.
Posted by raymond on July 15, 2008 at 05:23 PM CEST #
> It would be cool it we could also create
> our own HTML templates and then later
> reuse then when create an new PHP or HTML
> project.
Check Tools -> Temlates; You can customize your templates down there.
Posted by lowmon on July 15, 2008 at 08:49 PM CEST #
lowmon is right. You can use as well Save As Template action in context menu over a file in the Project view. I'm going to do blog entry about this.
Posted by Petr on July 15, 2008 at 11:54 PM CEST #
Hi Petr & lowmon,
While it's true that you can use the Save template option it's not as integrated as the temmplate wizard that's used when creating a Visual Web Page.
The template wizard shows you the layouts during the creation of a page while the Save->template solution is mainly used for snippet insertion.
Posted by raymond on July 16, 2008 at 04:44 PM CEST #
Hi raymond,
you can not use the wizard for a Visual Web Page for php. The wizard generate jsp files based on the JSF. PHP doesn't provide any visual editing so far. Every support provides specific wizards, which are able to generate specific files. So php support doesn't know anything about JSF support.
Also if the php wizard will provide the possibility to generate layout in the created file, it will be useful? Let's say that there are 100 pages in an application and the layout is defined in every single page. What happen if you need to change the layout for the application?
There are PHP frameworks, which support the layout and tool like NetBeans should support these frameworks.
Thanks,
Petr
Posted by Petr on July 16, 2008 at 05:19 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 03:25 AM CET #