CHANNELS
HOME
TOP STORIES
COLUMNS
OPINIONS
ZEICHICK'S TAKE
EMBEDDED NEWS
TEST & QA REPORT
ECLIPSESOURCE
SPECIAL REPORTS
SD TIMES 100
JOB BOARD
EVENTS CALENDAR
RESOURCE CENTER
WEBINAR CENTER
ADVANCED SEARCH
RSS
ON THE WEB
SITE MAP
ADVERTISE
EDITORIAL
PRIVACY POLICY
CONTACT US
REPORT A BUG
PRINT EDITION
SUBSCRIBE NOW!
CURRENT ISSUE
BACK ISSUES
SUBSCRIBER SERVICES
BZ MEDIA
ABOUT US
NEWS
BZ RESEARCH
SYSMANNEWS
ST&P MAGAZINE
STPCON
ECLIPSEWORLD
ADVERTISER LINKS
activePDF
Alexsys
Altova
Amyuni Technologies
Automated QA
Axosoft
Business Objects
Codejock Software
ComponentOne
Coverity
Data Dynamics
Developer Express
dtSearch
Dundas
Dynamsoft
Hewlett-Packard
IBM
Imagix
Infragistics
InstallAware Software
InterSystems
iWay
Kovair
LEAD Technologies
McObject
Microsoft
MKS
No Magic
nsoftware
Parasoft
Pegasus Imaging Corp
Perforce
Prezza Technologies
Programmer's Paradise
Programming Research
Rally Software Dev
Red Gate Software
ScaleOut
Seapine
Serena
Software FX
Sparx Systems
Swell Software
Syncfusion
TechExcel
Telerik
UrbanCode
WANdisco
Xceed Software
LOADING...
LOADING...
AS OF 8/21/2008 7:55PM EST
Two Sides to AJAX Toolkits
By
Allen Holub
March 15, 2006 —
Most open-source AJAX libraries are not commercial grade. That is, most of the libraries are missing chunks of functionality, and the documentation runs from poor to nonexistent. Youll have to weigh the pain of wading through the JavaScript sources and creating your own documentation against the pain of writing all this JavaScript from scratch.
One significant exception to this rule is TIBCOs General Interface 3.1a commercial product with an impressive drag-and-drop GUI-style user interface builder and decent documentation. The actual AJAX components are solidly built and look great on the screen, and you can throw together a UI in record speed.
Corporate Visual Basic developers will be right at home with General Interface, and it shouldnt take more than an hour or two to be productive with it. General Interface is a whole framework, not just a widget library, and it has many of the problems of frameworks (such as a framework-imposed directory structure on your projects). But if youre used to a framework approach, youll love it. The General Interface GUI is interesting in that it can run hosted in a browser (though youll get a bunch of annoying pop-ups warning about ActiveX controls when you try it).
One place where TIBCO differs from the alternatives is in how the AJAX widgets talk to your application. Most libraries perform a simple HTTP POST or GET. General Interface uses SOAP for everything, which is a mixed blessing. SOAP does completely isolate the UI from the underlying application. General Interface has no server-side componentyou just use whatever SOAP provider you like, including Javas Web services framework.
The down side is that your application has to understand SOAP. Youre trading off the need for writing simple servlets with the extra complexity (and performance hit) associated with a SOAP interface. The SOAP strategy makes good sense in a corporate environment where the server-side stuff is written in languages like Visual Basic, but it can be an annoyance if youre writing in Java (or PHP, or any language that doesnt have SOAP built in).
On the down side, TIBCO is clueless when it comes to dealing with clients who arent mega corporations, and this cluelessness is reflected in the pricing model. The product is free provided that your site is public-facing and you dont charge for access, but the costs escalate fast if youre doing anything else. If youre using the product to build applications for your local intranet, the cost runs from US$499 (five concurrent users max) to $8,995 (100 concurrent users max).
TIBCO doesnt even publish a price for fee-based public-facing Web sitesyou have to negotiate a price with them. Frankly, I find this sort of draconian, hideously expensive pricing model abhorrent, and I suspect that unless TIBCO changes its tune, it will find itself without customers within a year or so as the open-source libraries improve in quality (or some other UI fad grabs everyones imagination). You can get the product (and see some screen shots) at
www.tibco.com/software/business_optimization/rich_internet_applications.jsp
.
One good alternative to General Interface is the Zimbra toolkit (www.zimbra.com). Zimbras actual productessentially a Web-hosted version of Outlookis written using the toolkit, and the hosted product demo (
www.zimbra.com/products/hosted_demo.php
) is an impressive example of a well-done, great-looking AJAX UI. The toolkit supports drag and drop, multiple skins and any widget youre likely to need. The JavaScript is well-written, it works well, and its free.
On the significant down side, Zimbra has zero documentation, which will be a major obstacle unless you have a good JavaScript person on hand. The ramp-up time will not be insignificant. Theres no GUI layout tool, either, but I dont use these sorts of tools very much myselfthe tools usually create awful HTML, and I want my site to be maintainable.
Frankly, given the pain of dealing with TIBCO and the exorbitant cost of the product, I have to skip General Interface in my own work. If you have the resources, and need Visual Basic-style-mindless-programmer development, there is no real competition to General Interface. (The situation will obviously not stay that way as initiatives like Open AJAX come to fruitionZimbra is an Open AJAX participant.)
On the other hand, if you have a good JavaScript developer on hand, Zimbra looks great and works well, and you can create your own documentation for it. You wont have the drag-and-drop GUI, but youll also be out from under the corporate thumb.
Allen Holub is an architect, consultant and instructor in C/C++, Java and OO Design. Reach him at
www.holub.com
.
EMAIL THIS ARTICLE
SEND FEEDBACK
MORE COLUMNS
 
SUBSCRIBE TODAY!
E-Newsletters:
News on Mon/Thurs.
Test & QA Report
EclipseSource
SUBMIT
 
JOB BOARD
PDF & PRINT EDITION
* Requires Resource Account! 
LOGIN
or
SIGN UP
*
Download Current Issue!
ISSUE 8/15/2008 PDF
*
Need Back Issues?
DOWNLOAD HERE
Receive The Print Edition?
SUBSCRIBE HERE
 
EVENTS CALENDAR
Business of Software 2008
9/3/2008 to 9/4/2008
Boston
Red Gate Software
VSLive New York
9/7/2008 to 9/10/2008
New York City
1105 Media
Interop New York
9/15/2008 to 9/19/2008
New York
TechWeb
VMworld 2008
9/15/2008 to 9/18/2008
Las Vegas
VMware
Mobile Business Expo
9/16/2008 to 9/19/2008
New York City
TechWeb
REGISTER
MORE EVENTS
GET NOTIFIED!
About all of the latest Resources
SD TIMES 100
6th Annual SD Times 100
It's time once again to
recognize the organizations
or individuals that have
demonstrated leadership in
their markets.