Add to del.icio.us

programming ides: annoyances

Written: 09:49 on June 09, 2008  |  By: jon  |  MORE…
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:-

  • 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!
Tags: IdeProgrammingRants

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.

leave a comment

4 + 17
Saving... Comments can take up to 10 seconds to post due to spam checking.
01
Alex at 13:45 on June 09, 2008 87.127.165.208
I'm in a similar boat - I'm using Zend Studio on my MacBook Pro at the moment. Most of the time it's great, but just last week it slowed to a crawl and needed restarting when I tried to do anything. I tracked that down to the Project I had open, if I just use the Filesystem is works fine. The project is a nice feature though, so I'd like to get it fixed. The code completion, like you said, is great.

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!
02
Dan at 08:29 on June 13, 2008 92.233.77.219
Have you tried eclipse's PDT bundle? its not the prettiest of IDE's but for functionality i always end up going back to eclipse, and it also has the added bonus that i can write PHP, Python, C, and Lua code all in the same environment.

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.
03
Lawrie at 11:56 on June 13, 2008 83.67.28.194
Coming from someone who was born on a Mac, take it from me; Macs for developers are ASSHAT. Roo has been working constantly with Justin Frankel, Jason Schwa, Scott Stillwell and others on moving Reaper to the Mac and creating Audio Units for Logic Pro, and all of them constantly lament the absolute abortion that is the Mac OS. Coding for it is apparently like trying rape Tinkerbell with a Rubik's Cube and not end up with a liquid Canadian flag all over your hands.
04
Blake at 22:59 on June 24, 2008 66.167.129.84
I always loved UltraEdit-32, and if there were a Mac version of it I'd still be using it today. However, since I switched 2 years ago I basically just use TextWrangler. It has decent highlighting and an Applescript for Java compilation, but other than that it's not a feature heavy program. It's almost Notepad. I've never been really big into code completion, though what I loved most about UltraEdit was column selecting (I could change 1000 lines at once, came in handy) and Save to/Open from FTP. I also tried Eclipse for some Java stuff I had to do the year before last in school but it was just really laggy.
05
Schweppes at 05:47 on July 10, 2008 75.153.181.118
Use Vim stop being a whinny bitch.
What is dovka?

this is a group blog run by a group of irc zealots, the prefabricators; each is a member of an exclusive irc channel on phrenzy.

Friends

here's a list of destinations that are worth visiting…

Categories

we talk about a range of stuff here at dovka:

Twitter

always dedicated to the cause, the prefabricators microblog whilst out exploring the real world…

  • anthony: Awaits freeepc from RBC. — 6 pm
  • anthony: Needs to go to RBC to get his free eeepc. — 6 pm
  • ethan: I want souvlaki. Lots of. — 4 pm
  • johnny: is very very tired… — 12 pm
  • jon: fuck you, tower of souls. you have been defeated! — 11 pm
  • liam: got to be a postman today :o — 25 HRS AGO
Archives

dig through our monthly archives and find old relics:

RSS Feed for this page