« Understanding AJAX Book | Main | New Teamslide 1.8 Remote-controlled Web Presentations »

Ajazz, Asynchronous Data Objects in Javascript

Ajazz is a Javascript library which implements client-side data types in JavaScript whose contents are transfered from the Web server asynchronously, using AJAX techniques. In addition to the data structures themselves (trees, arrays, etc.), it provides infrastructure for managing multiple AJAX requests in flight, parsing data structures from XML responses, and other utilities. Server-side tools and examples in Perl are also provided.

http://ajax.phpmagazine.net/upload/2006/06/ajazz-thumb.png

Ajazz is a very new project but you can already preview its version 0.1.0 which support currently the high-level data types trees and arrays of arbitrary objects (partly done), and come with eight support modules Utils, BitVector, TimedThing, MessageLog, FakeMessageLog, Listener, Request and Response. Ajazz is released under a BSD license, Samples and documentation are available, for more information http://cluefactory.com/oss/Ajazz/

Bookmark this article at these sites
Comments
1

Why not use JSON ? (see www.json.org)

Using XML for this instead of JSON sounds just stupid if you ask me...

2

Here is a Visual AJAX tool and library for AJAX Developers

It's free trial. http://eng.joyistar.com

3

Using XML can take a long time to parse a lot of data. I've done a total of one big project with XML, and my clients run into problems when they try to enter too much information.

I've implemented a script for sending and receiving JSON objects released under the LGPL. Basically there is a send object and a receive object, the properties of the send and receive objects are determined by the PHP script receiving the request. There is also a method to repeat a request every so often, which is used in my AJAX file upload script. The cool thing is that it is easy to stop the requests, and total code can be well under 5k with proper compression techniques.

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):