Mike Borozdin's Blog

A blog about programming, web and IT in general

NetBeans 6.5 as a Cute and Free IDE for PHP

Although I mostly blog about .NET and related technologies, tools, etc., this time I’m writing about PHP. I work a lot with PHP as well. And recently I got a small project to do and I was looking for a free but cute PHP IDE. I’m quite aware about Eclipse and PHP Development Tools for Eclipse, but I still was wondering if there is some other free tool for PHP. Eventually, I remembered NetBeans.

NetBeans is mostly known for Java developers as a good and free IDE. At the same time recently NetBeans started supporting other languages, like C/C++, Ruby and finally PHP. Moreover it not only supports plain PHP, but it offers quite good support of HTML and JavaScript.

Ok, what do I mean by the term of “support”? I mean a standard set of features that every IDE must provide:

  • Project based structure
  • Code completion
  • Code navigator
  • Error checking while typing
  • Debugging
  • Versioning

So, NetBeans has it all. Furthemore, it works greatly with JavaScript that was a quite a surprise for me after a while working of with Eclipse. So, NetBeans has a nice code completion feature for JavaScript as well, that will understand your and 3rd party libraries, jQuery, for instance.

javascript

Then, NetBeans enables you to interact with databases straight from the IDE. You can connect to MySQL server and create a table for example.

createtable

 

Generally, I feel pretty good about NetBeans. It seems to be working much faster than Eclipse, both in terms of the loading time and in terms of code editing and code completion as well. I guess I’d better draw a comprehensive feature comparison with Eclipse PDT, but I will do that next time.

Now I just want to recommend anyone who is looking for a decent free IDE for PHP to give NetBeans a try. If you don’t need to write Java code, you can download a PHP only package that is just about 25 MB that is far lighter than the mentioned PDT.


Tags:
Posted by Mike Borozdin on Saturday, February 07, 2009 2:50 PM GMT
  Shout it Kick it!  
Permalink | Comments (16) | Post RSSRSS comment feed

Comments

SZoPer Poland

Sunday, February 08, 2009 7:10 AM GMT

SZoPer

Have you tried Aptana IDE? It's based on Eclipse, but I've heard it's better than PDT...

Mike Borozdin Russia

Sunday, February 08, 2009 7:29 AM GMT

Mike Borozdin

Hi SZoPer,

No, I haven't heard anything about it. I also used PHP Eclipse, now the project is not supported anymore.

dev.juokaz.com

Sunday, February 08, 2009 10:11 AM GMT

pingback

Pingback from dev.juokaz.com

NetBeans 6.5 - my muber one PHP IDE | Juozas devBlog

Jason United States

Sunday, February 08, 2009 11:29 AM GMT

Jason

Mike, true PHP Eclipse is unsupported, but Eclipse PDT is what replaced it, www.eclipse.org/pdt/  They just released the 2.0 version and are on track for 2.1 release in June to fall into line with the rest of the eclipse projects.

Mike Borozdin Russia

Sunday, February 08, 2009 11:51 AM GMT

Mike Borozdin

Jason,

Yes, I have PDT 2.0 installed. Anyway, it's still developed by another team. I remember I didn't find some features in PDT that I got used to while working with PHP Eclipse.

Pavel United States

Sunday, February 08, 2009 2:49 PM GMT

Pavel

I've been using NetBeans PHP since it went into Beta mode.  Most of my work is in .NET, so I'm already used to VisualStudio-style of IDE but occasionally I have a project or two in PHP.  

I was hooked on NetBeans 6.5 from the start.  It's faster than Eclipse for me and much more intuitive for someone who's used Visual Studio in the past.  It also is quite a bit faster than Aptana.

Thanks for bringing this great product up.

BTM Poland

Sunday, February 08, 2009 11:17 PM GMT

BTM

My friend talked me into trying eclipse (I'm using Zend Studio 5.5 for my main PHP needs) - it's not that bad, but one feature that is crucial for me is missing. And thats FTP integration. Now I do know that you can add a project and assign a FTP for it - but I would like to just add a FTP server and edit a single file, then add another and edit files there etc. Zend IDE and even HTML Kit (witch I was using before) has this feature and IMO it's a must.

Mike Borozdin Russia

Monday, February 09, 2009 12:24 AM GMT

Mike Borozdin

Pavel,

I had the same thought when I fist tried NetBeans, it looked like Visual Studio that was more convenient for me than Eclipse.

qingyue People's Republic of China

Monday, February 09, 2009 10:16 PM GMT

qingyue

BTM,
You can use the remotefs-ui plugin in netbeans.

BTM Poland

Tuesday, February 10, 2009 12:56 AM GMT

BTM

Thanks for the tip, qingyue. I'll try to get the plugin working as soon as I get home Smile
(the correct name is "remotefs", http://remotefs.netbeans.org/ if anyone else needs. "remotefs-ui" in google had some odd results for me ;))

Luke Barton United Kingdom

Thursday, February 12, 2009 3:25 AM GMT

Luke Barton

I stopped using NetBeans because of the performance of a single feature:

"Open Resource" or similar. Basically you can open a file by typing part of it's name and browsing a list. In eclipse, this lookup takes miliseconds, in NetBeans it can take up to several seconds and is a major productivity killer for me.

Otherwise, it's pretty good.

Mike Borozdin Russia

Thursday, February 12, 2009 3:31 AM GMT

Mike Borozdin

Hi Luke,

What IDE are you using now?

Ken United States

Thursday, February 12, 2009 7:07 AM GMT

Ken

Nice post. I've been using Editplus for years for my php work. I've tried Eclipse and Zend a couple times, but I'm so used to Editplus being very lightweight, I always ended up going back. I'll give NetBeans a shot, thanks!

BM United States

Friday, March 06, 2009 2:35 PM GMT

BM

I had so much trouble most of the php editors you all have described. All I want is an editory with decent debugger that works as soon as it's installed like Visual Studio. I'm done with Zend Studio and Eclipse. Too much of a process to set up the debugger. The Netbeans ide for Java I found worked really well so I'm going to try the PHP version.

Darkredz United States

Wednesday, July 22, 2009 4:02 AM GMT

Darkredz

I am a great NetBeans fan and the IDE have been working really well with DooPHP framework with all the autocomplete and code hinting.
Kudos to Netbeans!

Migliori casinò online United States

Tuesday, July 28, 2009 5:43 AM GMT

Migliori casinò online

I use NetBeans for some Java work, but it is so slow that it could never be my main editor for any language. Emacs is a great all-purpose code editor that works well with any language and doesn’t suck every last drop of ram and cpu like netbeans does.

Comments are closed