programming ides: annoyances
I have used several IDEs for scripting PHP over the past five years. Since starting my job in 2006, I've been forced to switch a couple of times for hardware reasons. A bit of back story. When I first began to dabble in PHP I used UltraEdit32, on recommendation of a friend that was proficient in C. It suited my needs as a HTML editor originally, and was pretty flexible when it came to PHP (offering syntax highlighting) but no code completion.
Some time in 2004 or 2005 whilst I was at university, I was lucky enough to win a copy of Zend Studio 5. Obviously I began to realize what I was missing in my IDE. Before this point I don't think the IDE I was using really crossed my mind. However, the code completion was absolutely excellent (still unrivaled for PHP, I reckon) and the spread of features was awesome. One of my favourites was the built-in support for version control (CVS and Subversion) which became a bit of a killer app for me whilst coding my final year dissertation project.
Now, some of you might have tweaked that I said I switched due to hardware, and Zend Studio (as it is written in Java) is cross-platform. When I started my job I was thrown into the world of Apple Macintosh. After getting used to the basics of the operating system and falling in love with the BSD-esque underbelly, I got my copy of Zend running nicely under OS 9.0 Tiger. After a couple of months of glorious use, it began to get extremely sluggish. Loading it up took 20+ minutes, and each keystroke seemed to lag for about 2 seconds. Obviously, this was completely unusable. Apparently, it's something to do with the cache folder that Zend creates inside the user preferences directory. Despite following those instructions, it didn't remedy the situation.
I moved to OS X and a new (more powerful) iMac hoping that it would remedy the situation. Not really, I found. It still feels much more responsive on my PC in my home office, despite the specifications of the machines not being that distant from each other. In frustration, I went through some other popular IDEs for Mac:-
And so, I come to the REAL reason I started writing this blog. The PHPDoc competition for classes in the standard PHPdoc textmate bundle is ass. It is nowhere near as good as Zend Studios… but since that IDE isn't an option for me currently whilst I'm in the office, I've reverted to hacking away at the bundles in order to make it more 'Zend-like'. After reading through and putting into practice the TextMate and phpDoc Comment Blocks article at Killersoft, it became obvious that it is completely possible to do what I am trying to achieve. (Note: if you also follow that article, make sure you get the newlines correct in the bundle- if you copy-paste like I did, it does not work. Get the text-only version they supply and copy-paste that!)
So yep. Zend is great and all, but for the time being I'm flitting between Coda and Textmate. Is there any better alternative for scripting on a Mac? I can't get the Eclipse-based Zend Studio 5.5 by the way, since my license key won't stretch that far, and I refuse to pay for the upgrade!
Some time in 2004 or 2005 whilst I was at university, I was lucky enough to win a copy of Zend Studio 5. Obviously I began to realize what I was missing in my IDE. Before this point I don't think the IDE I was using really crossed my mind. However, the code completion was absolutely excellent (still unrivaled for PHP, I reckon) and the spread of features was awesome. One of my favourites was the built-in support for version control (CVS and Subversion) which became a bit of a killer app for me whilst coding my final year dissertation project.
Now, some of you might have tweaked that I said I switched due to hardware, and Zend Studio (as it is written in Java) is cross-platform. When I started my job I was thrown into the world of Apple Macintosh. After getting used to the basics of the operating system and falling in love with the BSD-esque underbelly, I got my copy of Zend running nicely under OS 9.0 Tiger. After a couple of months of glorious use, it began to get extremely sluggish. Loading it up took 20+ minutes, and each keystroke seemed to lag for about 2 seconds. Obviously, this was completely unusable. Apparently, it's something to do with the cache folder that Zend creates inside the user preferences directory. Despite following those instructions, it didn't remedy the situation.
I moved to OS X and a new (more powerful) iMac hoping that it would remedy the situation. Not really, I found. It still feels much more responsive on my PC in my home office, despite the specifications of the machines not being that distant from each other. In frustration, I went through some other popular IDEs for Mac:-
- Dreamweaver CS3 - Terrible. Honestly, I can't understand why people use this IDE. Crash-happy, slow, irritating text-completion. The site-wide (or project-wide) search is a decent feature, though. I hope more IDEs pick it up.
- Coda - Very enjoyable to use. Obviously an exercise in Cocoaforge for the authors, who have a very good grasp on GUI programming. It is missing certain tools, and some of the features are annoying (and cannot be changed via preferences). The IDE will shine with the advent of modules or plug-ins, if that ever happens.
- TextMate - My current IDE of choice. I switched to this for it's flexibility (code completion via Textmate 'bundles' is a fantastic idea and full-circle, reminds me of UltraEdit32). Thanks to my co-worker for praising it enough for me to take notice(!)
And so, I come to the REAL reason I started writing this blog. The PHPDoc competition for classes in the standard PHPdoc textmate bundle is ass. It is nowhere near as good as Zend Studios… but since that IDE isn't an option for me currently whilst I'm in the office, I've reverted to hacking away at the bundles in order to make it more 'Zend-like'. After reading through and putting into practice the TextMate and phpDoc Comment Blocks article at Killersoft, it became obvious that it is completely possible to do what I am trying to achieve. (Note: if you also follow that article, make sure you get the newlines correct in the bundle- if you copy-paste like I did, it does not work. Get the text-only version they supply and copy-paste that!)
So yep. Zend is great and all, but for the time being I'm flitting between Coda and Textmate. Is there any better alternative for scripting on a Mac? I can't get the Eclipse-based Zend Studio 5.5 by the way, since my license key won't stretch that far, and I refuse to pay for the upgrade!


comments
We love comments at dovka. In fact, we take these comments and put them into a big stew. They're so full of internetty goodness that they keep us full up until lunchtime.
I tried Zend Studio for Eclipse and found it's UI to be pretty poor, plus it crashed a lot. Admittedly that was the Beta, but the full version came out pretty quickly after that so I can't see it being a lot more stable. Plus the debugging on it was sloooooow.
I've heard good things about Komodo from the P3 Podcast (formally the Pro::PHP Podcast) but I haven't tried it. It's also cross-platform and is built using XUL. I mean to try it but haven't got around to it yet… Let me know if you find something good!
TextMate is pretty and all but it is only an Editor at the end of the day, not an IDE (although it is a pretty cool editor).
Komodo isn't too bad… forgiving the awful initial colour scheme… but eclipse is in a whole different weight class.