June 24, 2005

Exclusive: JackBe nimble, JackBe quick for cranking out JavaScript

IDE enables developers to code rich clients that run on the browser

If you happen to be an old Web developer and think you’ve seen all the tricks that can be coded in HTML, consider looking at JackBe NQ Suite 4.0, a toolkit for producing sophisticated, JavaScript-enabled forms and spreadsheets. The IDE runs entirely in a browser as DHTML, but you’ll swear it’s a custom client application coded in Assembler. It’s that snappy.

The JackBe development environment has arrived just as interest in JavaScript and AJAX (Asynchronous JavaScript and XML) programming is exploding.

Although JavaScript dates to the second edition of Netscape, launched in 1995, developers are just beginning to understand that the browser and DHTML offer much of the highly interactive, sophisticated interfaces custom clients offer, but without many of the hassles. Getting a user to install a JavaScript tool developed with JackBe is as simple as getting him or her to go to a Web page with a current browser such as Firefox.

Lean JavaScript Machine

The secret of the system is its tightly coded library of essential JavaScript functions designed to be loaded onto a user’s PC the first time he or she visits a site. This file, approximately 21KB, is filled with JavaScript code for building menus, input boxes, and spreadsheets in HTML. The company squeezed out all the fat by giving the functions names only two characters long. It reminds me of the days when real programmers wrote bitbanging code in hex.

The rest of any Web application generated by JackBe is stitched together with many of these functions. Any programmer who has written software to generate software will understand how this approach saves bandwidth. Developers can spin up elaborate tables from a few library calls instead of writing endless lines of HTML tags.

If you remember doing programming when memory was expensive, you’ll appreciate the lengths JackBe’s creators went to squeeze out bytes. The pages, for instance, are specified by a single call to the Z function with a single string as a parameter.

There are also more specific functions for common problems. MY, for instance, takes a number and formats it with a dollar sign and two digits of precision. PN finds the parent node of a particular part of the document tree.

The names, types, and locations of all the parts are encoded into the string. The endless sea of DIV tags can be replaced by only a few hundred characters passed to a JavaScript library.

The result is a Web page that is more of a program than marked-up text. I think that JackBe is just beginning to explore how this can save features. The JackBe developers tell me that they’re constantly revising and extending the libraries to offer new widgets, and I predict that they’ll roll out some interesting ones. You can also extend the routines yourself, often in an object-oriented way, by defining new routines for jobs like event handlers.

The server-side of the JackBe development process runs in a Java servlet container. You install it by dropping in a WAR (Web Application Archive) file and then starting up the IDE by entering the URL for the file into IE.

The IDE itself must run in IE, but the tools it creates are cross-browser compliant. You can rip out the JavaScript code and use it alone, but the current development environment works best when you’re integrating it with J2EE applications.

Test Center Scorecard
30%30%15%15%10%
JackBe NQ Suite 4.098789
8.3
Very Good
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.