Aptana, the Ideal IDE for Drupal and Web Development

An Introduction

I’ve tried many IDEs from easier to use IDEs like Adobe Dreamweaver to more advanced IDEs like Zend Studio. I’ve used Dreamweaver for more than 5 years, only coder view for its code coloring and FTP integration. Although the HTML from Dreamweaver’s designer view may be satisfactory for simple HTML pages the code it generates quickly becomes unmaintainable with quirks such as poorly nested tables, empty <p> tags along with the addition of PHP, Javascript and custom CSS for cross browser compatibility.

After gaining experience with Eclipse while developing Java applications I realized that Dreamweaver is woefully inadequate for development, missing simple but key features such as inline code checking(think grammar checking for code syntax), code highlighting(for quickly locating the start of a loop or to easy distinguish parenthesis in a complicated if condition) and version control integration(requirement for larger projects). Another problem is that Dreamweaver isn’t supported in Linux I would argue is the best operating system for development due to the fact that it better matches the production environment and that open source projects such as Apache, MySQL, Eclipse and Git are faster and more stable on Linux.

I tried assembling multiple plugins such as WTP in to a generic eclipse installation but it was time consuming and the pieces didn’t fit together particularly well. I then tried Zend Studio(based on Eclipse) which was developed by Zend Technologies Inc. one of the main contributors to the PHP project. Although Zend Studio wasn’t perfect, it provided much of what I was looking for, namely a full featured Eclipse web development environment. However, a license costs $400 and only includes a year of upgrades. I had no problem paying $400(same price as Dreamweaver) for a well made IDE that dramatically increases development efficiency. However, I was also looking for an development environment that ~20 developers in The Chronicle Online Department can emulate; that’s close to $10,000 a year for licensing costs to put Zend Studio on personal and office machines. Also, much of the features in Zend Studio is from generic Eclipse plugins such as WTP and I wasn’t using much of the more advanced proprietary features many of which required me to also run Zend Server, essentially a $1,200 per year subscription of Apache with a pretty GUI, to take advantage of.

What is Aptana

Aptana Studio is also a customized version of the popular open source IDE Eclipse. Although Aptana, Inc. is a for profit company Aptana Studio is available under the open source GPL license or the APL license. Aptana is supported by all three major operating systems, Windows, Mac and Linux and is available as either a standalone install or as a plugin for eclipse. It has great support for PHP, Python(Google App Engine), Java, Ruby on Rails and AIR, as well as support for Ajax libraries such as jQuery and Prototype. Web markup and scripting languages including HTML, CSS, javascript, XML are also well supported. CVS, Subversion and Git and FTP/SFTP are well integrated to provide a full set of tools for most development environments. See the Apatana Studio website for a more complete and descriptive list of features.

Many of Aptana’s major features such as PHP, HTML, CSS, jQuery and version control support are also generic Eclipse plugins. However, Aptana is a far superior solution because it has a much simpler installation process and a more flexible/easy-to-use FTP support. Aptana Inc. is also actively developing Aptana Studio to make it an even more capable IDE for web development in the future.

Installing and Configuring Aptana

Installing Aptana on all three operating systems is very straight forward. I would highly recommend using the standalone version of Aptana since it simplifies the installation process and guarantees plugin compatibility. Aptana standalone currently uses the latest version of Eclipse(3.5) and it’s a good idea to keep the web development and application development environments separate to keep both simple. Eclipse is very self contained so there won’t be any problems running multiple installations of Eclipse and Aptana on a single machine.

Download Aptana for your operating system here. There’s an installer for the windows version that can install itself when double clicked. The Linux version comes in a zip file. The contents can be unzipped in to any directory and the executable AptanaStudio can be run without any installation. I don’t have access to a Mac but the installation there should also be very simple.

When Aptana Studio is started for the first time it will only have basic HTML/CSS/Javascript and FTP support. In order to add features such as PHP and version control support, go to the “Help” drop down menu and select “Install Aptana Features”. The following window should popup after some short delay; the selection of features is what we use at The Chronicle Online Department. (Note: “PHP Debugger Binaries” would normally be selected but I was getting a fatal repository error that halted the install process when I tried installing it today. I will update this post when this issue has been fixed. For the time being it should be left unchecked)

Aptana Features Selection

Aptana Plugins Selection

After clicking install once the necessary features are selected another window containing the selections for the actual Eclipse plugins will appear. Note that Aptana does not remember which options were selected previously for Ajax Frameworks so it is necessary to uncollapse the selection to reselect only the frameworks that are required. 2 versions of PDT SDK(PHP Development Tools Software Development Kit) are presented, only select one of them or a conflict will appear in the next step of installation. The rest of the process is very straightforward.

Happy coding!

This entry was posted in Web Development and tagged , , , , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

8 Comments

  1. Posted March 18, 2010 at 9:13 am | Permalink

    I really like this approach and use it for most of what I do online. But I get into all-or-nothing phases where I won’t even start on a project if I don’t think I can make it turn out perfect. Never starting is a waste of a good idea and opportunity.

  2. Posted May 28, 2010 at 4:25 am | Permalink

    You have done it once again! Superb article!

  3. Posted November 25, 2010 at 6:38 am | Permalink

    Thanks for the information, this was very helpful. I am in the early stages of learning web development as a hobby and this provided all the info I was looking for to choose the right platform to use.

  4. Posted January 14, 2011 at 3:57 am | Permalink

    I use Codelobster PHP Edition with special plug-in for Drupal (installation, autocompletion, hooks, context help and etc).

    And in general it’s very comfortable free PHP, HTML, CSS, JavaScript editor.

    • rdvg
      Posted September 14, 2012 at 10:34 am | Permalink

      what a shame!, is for Microsoft platforms and is not available for Unix / Linux. And it’s an IDE because it has limited shelf life (trial).

  5. Posted May 11, 2011 at 6:21 am | Permalink

    I could not agree more with you. If you are specialized in web development in general, than Aptana is way ahead of anything freely available for the enterprise web development.

    Ubuntu + Aptana such a perfect couple!

  6. Marshall
    Posted April 5, 2012 at 5:46 pm | Permalink

    AK! Broken image links! I want to see what you’re using. I’m new-ish to Aptana

  7. Posted July 21, 2012 at 12:23 pm | Permalink

    Изработувам ВЕБ страни по најефтина цена во
    МК, ПРОВЕРЕТЕ НЕМА ДА ВИ СЕ ВЕРУВА !

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>