YOUR FEEDBACK
E-Commerce 2.0
Brian wrote: I think we're heading in the right direction, but we've still...
SOA World Conference
Virtualization Conference
$200 Savings Expire May 16, 2008... – Register Today!


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP LINKS YOU MUST CLICK ON


Introducing Aptana: An Alternative to Eclipse
Making your API easier to use

Digg This!

A few months ago I stumbled on an IDE named Aptana and I instantly recognized that it was the perfect IDE for developers who have found it difficult to convert to CFEclipse. And why is it such a great replacement?

For starters Aptana is actually based on Eclipse. That means it has all the great features that you've heard of about Eclipse, including the ability to use the CFEclipse plug-in with it. You can install CFEclipse the same way you'd install it for Eclipse, and there's almost no difference in how it works. (Figure 1)

But why is this any better than Eclipse? Well, the biggest roadblock for new CFEclipse users is the project-base workflow that it requires. But Aptana supports both the project-based workflow and the traditional file-based workflow that these users are accustomed to. This is huge, because it means that developers can continue to work the way they're used to while leveraging the advantages of CFEclipse. Yet it still supports Eclipse-style project-based workflow and so you can leverage the advantages that provides. Because of this you can experiment with that workflow so you're not giving up on learning that alternative work style. You're just not forced to work in a way you may not be comfortable with. (Figure 2)

But if that isn't enough, Aptana gives you more advantages than Homesite+/CFStudio or even Eclipse by itself. Aptana is primarily a JavaScript and CSS editor. That means you get full code assist, outlining, and support for CSS or JS files. It even includes code insight and assist with user-defined JavaScript functions. This won't help with any inline JavaScript or CSS embedded in a CFML file, but it's very helpful for JS and CSS files.

Aptana also has extensive help documentation. Its web site contains wiki-style documentation that's quite extensive and clear (www.aptana.com/docs). Not only that, the Aptana IDE has extremely well-developed help documentation. You can hover over a code element and a help overlay appears with a description, or click on the code element and hit F1 and the help view displays with information about the selected element. It also picks up any user-defined JavaScript function to provide code help for them too. Just put a JSDocs-style comment ahead of your JavaScript functions. For example:

/**
* This is a test function to demonstrate
* the power of Aptana.
*
* @param {String} arg1 The first argument
* @param {int} arg2 The second argument
* @return {String} Just returns arg1
*/
function myFunction(arg1, arg2) {
    alert('Hello World!');
    return arg1;
}

By putting this comment before my function, help information will be displayed whenever you use it or press F1 while it's selected. (Figure 3)

Aptana comes in two flavors: a standalone IDE and an Eclipse plug-in. So if you're already an Eclipse user, or ever become one, you can still leverage Aptana and all its great features just by using it as a plug-in like CFEclipse.

There are many features I haven't covered here. For a list of all the great features and for instructions on how to install Aptana, visit the web site at www.aptana.com.

About Robert Blackburn
Robert Blackburn is a developer and team leader of the Internet Application Development team at American Power Conversion Corporation (http://www.apcc.com). He has been using ColdFusion since 1999, and has revived and manages the CFUnit open source project (http://cfunit.sourceforge.net). He currently has a blog at http://www.rbdev.net/devblog for his occasional ramblings.

Rob R. wrote: It looks, smells and tastes like Eclipse to me... no thanks. How hard can it be to get text wrap to work? Same buggy text wrap Eclipse has.
read & respond »
ENTERPRISE OPEN SOURCE MAGAZINE LATEST STORIES . . .
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Open-Xchange to Deliver Collaboration Solution Integrated With Parallels Virtualization
Open-Xchange and Parallels are integrating Open-Xchange open source email and collaboration software with Parallels technology to deliver a cost-effective, enterprise-class alternative to commercial email and collaboration products at a competitive price. The products, which will be fu
Open Source Penetration and Use in SOA Deployments
Open source has made significant inroads into middleware deployments in the enterprise. More and more, open source is being used to deliver the benefits of SOA and open source to the enterprise. There are many custom Enterprise Service Bus deployments waiting to be upgraded to a simple
JavaOne 2008: Uncommon Java Bugs
Any large Java source base can have insidious and subtle bugs. Every experienced Java programmer knows that finding and fixing these bugs can be difficult and costly. Fortunately, there are a large number of free open source Java tools available that can be used to find and fix defects
OpenOffice 3.0 Goes to Public Beta
OpenOffice.org is publicly beta testing OpenOffice 3.0, which is not recommended for production use. General release is expected in September. Aside from cosmetics, it will support the upcoming OpenDocument Format 1.2 and is capable of opening Office 2007 and 2008 for Mac OS X files.
JavaOne 2008: Sun Challenges Linux
Sun's mule train has finally pulled into Indiana after three years on the road. Indiana is the Linux-friendly Fedora-like OpenSolaris project meant to move the Solaris-shy Linux community off Linux and on to Solaris tempted by Solaris widgetry like the highly scalable, rollback-easy, 1
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE