Zend Studio IDE Schemes
Friday, November 23rd, 2007As per a request from a comment on a previous post I made on here, here’s a zip of the original Zend IDE themes, including the Ruby Blue theme that my other Eclipse theme was based off of.
As per a request from a comment on a previous post I made on here, here’s a zip of the original Zend IDE themes, including the Ruby Blue theme that my other Eclipse theme was based off of.
I've been developing a little web app that allows someone to remotely play MP3s by sending commands to a Windows server running Apache2.2, PHP5, and foobar2000 (the latter being the MP3 player)
For some reason over the course of this week, all three installations of this app I have stopped working. The problem was coming from PHP all of a sudden deciding that it wanted to wait for the execution of the program before finishing its process. I'm still not sure why all three machines stopped working (I haven't touched the code for ~5 days until today) especially given that one is a Vista Ultimate x64, another is XP SP2 x86, and the main one being a Server 2003 box.
Anyway, the original way I was handling sending commands was using the Windows 'start' command to pass the actual program call. Using 'start' allows you to run programs that won't necessarily close right after execution (ie foobar2000). Example of the old way:
But as I said, it wasn't working anymore as PHP would hang on that particular host until I would manually RDP into the server and kill the foobar2000 process from the task manager.
After I went through as many different ways to stop this from happening, including creating a batch file that just ran foobar2000 and having that called by 'cmd.exe' which is then in turn called by 'start', I finally came up with something that worked thanks to a Russian web site that I couldn't understand save for the PHP examples:
Basically, it uses popen() to actually open the program (as well as create a handle inside PHP) and then immediately release the handle with pclose(). Now I'm again happily sending commands to foobar2000.
I have recently made the switch from using Zend IDE to Eclipse and PDT/Aptana for my jaunts into web development (read: every day of my career). While using Zend, I had ran across a post on the Zend Forums that listed a good chunk of different themes you could download and use in your Zend environment. My favorite out of the list was instantly the Ruby Blue theme, apparently from TextMate (although in my brief, brief time playing with TextMate, I never saw it as one of the options). Regardless, it's an awesome theme if you're into lights-on-dark for your editing like I am.
After my switch I found out that it's either really difficult to do Google searches on Eclipse themes and styles, or that no one has really made much headway in that part of the IDE. (There is the TextMate theme for RadRails but I found it to be not exactly my cup of tea...I'm picky, sorry!). So I tasked myself with an attempt at manually migrating the pretty colors from ZDE into Eclipse, and wouldn't you know it, the transition went pretty damn smoothly.
To get these color styles into your own Eclipse, just download the .epf file and go to File -> Import in Eclipse, choose General -> Preferences, select the file, and import. I recommend making a backup of your own preferences by following the same steps, only selecting Export instead of Import. I stripped out some of the non-color related stuff, but in order to make sure I got everything, I left some of the stuff I wasn't sure about in there, so there may be a conflict if you have some of your own personal preferences (though I'm fairly sure I didn't do much to my settings besides changing tabs to spaces).
Also, there are settings for both Aptana's CSS/JS editor as well as the Webtools versions of those editors (as well as HTML for webtools).