netbeans | Ciprian Dobrea

Posts Tagged netbeans

NetBeans 6.8 PHP

Screenshot of NetBeans PHP

NetBeans PHP 6.8

I always like to have the best available tools when I get started on a LAMP project. Although writing PHP code is not IDE-dependent  like for example .NET or other development systems, it does help to have the best IDE one can find. Taking into consideration the available funds for setting up a development environment, it makes a lot of sense to use free available tools as much as possible, so to that end, I’ve ended up using NetBeans PHP, which at this time (March 2010), is at version 6.8.

I’ve enjoyed using Eclipse PDT for quite a while now, but my current project setup causes Eclipse to be very slow on managing my Subversion checked out project.

My experience with NetBeans is very good so far. It seems like the more I use it, the more I like it. There are a few down sides to it, like for example, having a smaller plugin base, or code completion not working so great, dispite the fact that code completion is been advocated as working better than Eclipse.

I’m sure for small projects it works well, but for larger ones, code completion kind sucks. I suspect the cause of that issue is NetBeans not keeping a project index cache somewhere. One should be built every now and then, updated each time you save or work with a function/method/etc and that index could be used to instantly serve code completion. I’m not sure that’s happening though.

All in all, here are my pros and cons regarding NetBeans.

Cons:

  • Ridiculous code completion times in projects that aren’t small (especially if you’re not working on a local server – i’m working on a local VMWare samba folder)
  • Poor list of issue tracker related plugins (it basically only supports Bugzilla and Jira out of the box, unlike Eclipse)
  • No folder refresh option (if I change anything outside NetBeans, I have to wait for it to refresh that folder whenever it feels like doing so)
  • Limited set of Subversion features (unlike eclipse)

Pros:

  • Significantly more athletic than Eclipse in every aspect (startup time, memory consumption, general responsiveness)
  • Pretty stable (very few crashes)
  • Symfony support (I like Symfony, so I like having support for it)
  • Can save project files outside project source folder (I like saving project files on a local HDD, since I’m forced to use project source folder as a VMWare samba share, so I can optimize response time in the IDE as much as possible)

Conclusion:

I’ve previously used Eclipse PDT and Zend Studio for Eclipse, because they were the only ones I considered to be serious PHP IDEs. I find other editors to be unworthy of any interest. I’ve also tested NuSphere PhpED, Dreamweaver (can you say LOL?), ActiveState Komodo, Maguma Studio and others like that, none of which are professional PHP tools.

Since it’s a very cool, professional PHP tool, and it’s completely free, I rate it 8.5 out of 10, for lacking quite a few features, but I still use it for working a lot better with my environment than Zend Studio for Eclipse, or Eclipse PDT. which I would probably rate 9.5 and 9.0 respectively, even though Zend Studio costs quite a lot of money.

, , ,

No Comments