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.0 | 9 | 8 | 7 | 8 | 9 |
8.3
Very Good
|









