Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

Backbase widgets work wonders

Mature AJAX toolkit rewards learners of BXML with highly interactive Web clients

By Peter Wayner
August 08, 2005
 

One fertile area of programming today is the AJAX (asynchronous JavaScript and XML) toolkit. The buzzword may only be a few months old, but everyone seems to instinctively know that a nice library or toolkit will make it much easier to build sophisticated JavaScript-based clients that run in a basic Web browser. The Amsterdam-based Backbase has been building its library since long before the buzzword arrived and continues to produce some of the more sophisticated results on the market.

Free IT resource

TechNet: More ways to know it, share it, and keep it running.

Sponsored by Microsoft

Free IT resource

Attend the SOA Executive Forum: Breaking SOA Bottlenecks SOAExecForum.com/may2007

Sponsored by InfoWorld

Return to special report

DOWNLOAD PDF

Click here to download InfoWorld's special report Can a browser really do that? (AJAX)




Backbase 3.0

Backbase, backbase.com

Very Good  8.5
criteria score weight
Capability 9 30%
Ease of development 9 30%
Documentation 7 15%
Performance 8 15%
Value 8 10%

Cost:
Standard Edition is priced at $5,760 per CPU; .Net, J2EE, and XML Server products range from $6,000 to 8,000 per CPU

Platforms:
The JavaScript files in the library can be served by any Web server; Backbase also includes some integration with J2EE and .Net servers. The JavaScript files will run with IE 5.0+ and Mozilla/Firefox 1.5+/.8+.

Bottom Line:
This impressive toolkit provides a mature, sophisticated collection of widgets for adding features normally expected in native applications to Web pages. The system uses its own extension of HTML and XML known as BXML, sure to please methodical coders looking for a clear replacement to the cross-browser complexity of modern JavaScript.

About our Reviews and Scoring Methodology

Backbase Web clients are amazing. The company offers several customizable examples that make it simple to spin up a Web page with objects to drag and drop. One example lets you create four windows with news and weather in them. They float in the browser like real windows float in an OS. It’s no stretch to say you could create a complete Mac-like interface in just a few lines in the HTML file.

About that HTML file: Backbase pages have an HTML suffix and the Web server treats them as such, but these files actually bear little likeness to HTML. They do contain familiar HTML tags, but the most sophisticated Backbase files are filled with Backbase’s own version of XML called BXML.

Much of the work in Backbase development requires joining together these XML tags. The libraries may be written in JavaScript, but you don’t need to use this JavaScript for very much. Instead, you’re more likely to build up XML descriptions of the Web pages and the actions that happen when events occur.

Extraordinary HTML
For instance, a Backbase Web page includes a link tag that starts off with an ‘a’ like a standard link, but it includes unfamiliar attributes such as b:action=‘load’ or b:url=‘window-01.xml’ or b:mode=‘aslastchild.’ These are parsed by the Backbase libraries and interpreted by them.

Many of the tags have no resemblance to HTML. The actions are linked to events by creating an <s:event> tag and filling it with <s:task> tags, not by writing JavaScript. There are <s:task> tags for all of the major changes that can be made in the Web page, such as selecting some text in a field. The result is a well-structured hierarchy of XML.

The good news is that the Backbase architects have a talent for elegant solutions, unlike the cluster of committees that produced the current mess called JavaScript. The event mechanism is straightforward and the XML provides a good amount of discipline.

The bad news is that you can’t do much with your hard-earned knowledge of producing cross-browser JavaScript. The API is, for most intents and purposes, an entirely new language. It’s smaller, cleaner, and crisper, but it’s still new. If you’re fed up by the lack of consistency in JavaScript, you’ll enjoy the rigidity of Backbase. Still, some JavaScript coders will resist Backbase, because it can’t be learned incrementally.

There’s no arguing with the results, though. I built several Web pages and modified some of the built-in examples. It’s simple, for instance, to create a very swish store by editing a few XML files that describe the objects. Several of the Backbase examples like to separate the data from the display logic. You don’t even touch the HTML or JavaScript; the Backbase code parses the XML to get the information about the items for sale. The coding is filled with XPath logic, which will make XML lovers happy.

Back and Forth
The pages themselves are highly interactive and responsive. Click on items, and the Web page morphs to describe them or sell them without triggering an AJAX lover’s worst nightmare: the interminable loading of a new Web page. If you purchase something, the Backbase code drops an item in the shopping cart simply by rewriting the HTML. You can even set up a page to let you drag things to a shopping cart -- a wonderfully intuitive touch that has always eluded Web designers.

The code even shows flashes of brilliance. There were several moments when I was pleasantly surprised by the raw power of the mechanism. My favorite detail may be the built-in debugger that pops up floating windows when you hit the escape key. You view internal data structures such as the BXML DOM or trace the events that get fired. When the code is finalized, you disable the debugger to lock out users and save downloading time.

Such sophistication, however, may cause confusion among the users of the Web apps you produce. Most people are conditioned to expect the pause between Web pages, and they understand that it means that information was successfully sent to a distant server. They understand that a transaction doesn’t happen until that crucial HTTP POST operation. Backbase developers must always keep in mind that users may not understand where the browser begins and ends, especially when the JavaScript in the browser is creating its own windows.

This confusion will certainly fade as AJAX developers find the best new tools and users grow accustomed to the results. Backbase’s collection of AJAX tools is outstanding, and the clean and friendly look and feel of Backbase apps will help bring about this new consciousness.





 


 
InfoWorld Test Center Contributing Editor Peter Wayner is the author of thirteen books, including Translucent Databases and Policing Online Games.
 

TOP NEWS:


»  Intel says Moblin update coming soon
Open-source effort set for mobile Linux should have an alpha-level release in a few weeks

»  Are virtual firewalls a solution for VM security?
Virtual firewalls can be a useful security tool, but their efficacy depends heavily on how you have set up your networks

»  Ubuntu to unveil new version of Launchpad next week
Ubuntu's beta community still has a long way to go to achieve the popularity of competitors such as SourceForge.net

»  Oracle unveils access management suite
Oracle's suite includes a new server that provides controls to fine-tune user privileges

»  5 ways the iPhone 3G still lags in enterprise
Despite Apple's improvements, its iPhone 2.0 software remain less competent and less tested than its BlackBerry and Windows Mobile counterparts

»  Ubuntu founder urges Linux desktop to rival Apple
Shuttleworth also cites need for new business models to fund free software




Beyond AntiVirus: Symantec Endpoint Protection
Today's threats to the endpoint are much more dangerous as they rapidly evolve to evade traditional security measures. To combat these threats, companies should supplement existing security with proactive behavioral based technologies. Join this webcast to learn about Symantec's next generation AntiVirus solution that provides that level of protection. Sponsor: Symantec

»  Click here to view this Webcast
  Zombie PCs Are Attacking Your LAN
A recent study showed that malware-infected zombie PCs are now a bigger threat to ISPs and Web infrastructure than DoS attacks. As this brand new IT Strategy Guide explains, an increased use of peer-to-peer techniques by the attackers has made it harder to fight back. Download now, compliments of Verio:

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist