This post will go over setting up my new favorite IDE. Up until now I have been using Nusphere PHPed IDE which I still think is much better at certain things but considering the price tag of what I am about to show you I think most people could live with the differences.
There are a few things that I recommend that you do. The first and should be most obvious thing that you will need first is a web server setup. If you don’t have an environment setup you can always download XAMPP which is a collect of applications you can put on your local development machine and not have to worry about manually setting up. I’ve written a How to Install XAMPP with Pear on another blog post. Check it out.
Now that we are sure we have the backend setup we now want to make sure that we have the front end setup. The front end will comprise of Netbeans IDE.
2.) Pick what version you want to install. I recommend the “PHP Version”.
This screen might fail if you don’t have JRE installed.
When you log into Netbeans for the first time there will most likely be some updates. The program should alert you to them at the bottom right corner of the window.
The program will need to be restarted with almost all updates.
Since I am taking an Object Oriented Programming (OOP) course right now my example will be based on that. To get to the files on the web server I will type http://localhost/oop to get to it. The next thing to do is to setup your first Project.
To create a new project click on “New Project” and point it to where you installed XAMPP. In my case it is located under C:\Users\Jared\xampp\htdocs\oop
To setup MySQL you must click on the “Services” tab
and then fill out the information that you need to connect. Make sure that you setup a Database and user that you log in with.
Leave a Reply