In terms of usability, I find NetBeans to be one of the best open source PHP IDE's available, with excellent support for things like autocomplete and debugging, which make development a whole lot easier.
To start off with, open up NetBeans and create a new PHP Project:
I've set the project name to "PHPHelloWorld" and I found that NetBeans detected my ~/public_html folder automatically:
NetBeans also detected my local web server and URL settings:
For our simple HelloWorld application, we don't require any PHP frameworks:
After clicking 'Finish', we end up with the default PHP template:
Now I added some code, including a function to the index.php file. I've included a function in the code so that when you type it out you can see some of the NetBeans autocomplete features:
Finally, click on the 'Run Project' button (or hit F6) and watch as your program deploys:
No comments:
Post a Comment