PHP and Eclipse

Lukas Smith recently wrote about the development processes surrounding Zend’s planned Eclipse-based IDE.

I never really understood why Zend have duplicated the existing PHPEclipse effort, but Lukas’s post shed a little light on it. It’s certainly a shame that they don’t appear to have fully embraced the community element of open source development, but in the long run, a competing project might be good thing.

Every few months I give PHPEclipse a try. It looks great, but last time around a few minor bugs stopped it becoming my primary IDE. I submitted a bug report and the developers checked in a fix to CVS and I’ve been eagerly awaiting the next release ever since. Version 1.18 was released last week and I can’t wait to see if it’s ready for me to make the switch!

What I particularly liked with PHPEclipse was the live preview pane, where you can have the IDE request the file you are editing from the webserver. Great for front end UI work obviously, but even better when you’re developing a class. With a bit of effort, you can can configure your server to run a unit test for you. Edit, save, see test result….edit, save, see test result, doesn’t that sound great?

Whenever I do a little C++ development I use Microsoft Visual Studio, which is a fantastic IDE. It always leaves me hungry for the same features in my PHP environment. When you write C++, using the debugger is the norm, whereas in PHP, developers reach for a debugger as the very last resort (if at all). Hopefully things are a-changing…

2 thoughts on “PHP and Eclipse

  1. James Harrison

    Well worth trying out Dreamweaver 8 for PHP development. It has a Live Preview function which is very useful when debugging, and has one of the nicest interfaces and workflow i’ve come across in a long while. Plus it plugs nicely into the rest of Studio 8 for other web development tasks.

  2. lordelph Post author

    Dreamweaver is a lovely HTML editor, but I don’t think it is cut out for much more than basic PHP scripting. I don’t see it as a real IDE for complex coding.

    Correct me if I’m wrong (I haven’t used Dreamweaver 8 yet) but it doesn’t look like there’s support for debugging PHP there?

    What I want is an IDE that supports remote debugging, and is nice and reliable enough for everyday use. PHPEclipse is the closest I’ve come so far 🙂

Comments are closed.