SACK, Simple AJAX Code Kit
SACK, or Simple AJAX Code Kit, is a wrapper class designed to make using AJAX simpler, and easy to implement. Another AJAX implementation, written by Gregory Wild-Smith and released under a Modified X11 licence.
I’ve seen AJAX solutions like SAJAX or Dojo, and they haven’t really interested me. They seem to bloated and, for the most part, rather insecure. This is mostly because they appear to be trying to do things with AJAX that it can do, but should it? Sometimes I feel AJAX is like Dinosaur cloning in Jurassic park — as Ian Malcolm said they “were so preoccupied with whether or not they could, they didn’t stop to think if they should.”Anyhow, as I’m using AJAX a lot these days — both for side projects and at work — I thought I would develop a nice simple wrapper for it that does exactly what I want from it; namely to be easy to use, yet very flexible in implementation.
The implementation is very simple as its name indicate it, a single javascript with just the SACK wrapper. In the downloaded package you can find complete documentation in addition to a simple demo using Sack and PHP. Pretty nice and small implementation that certainly will interest many. The implementation isn't that new, the first release was on May 9, 2005; and is already at its version 1.2 but the project seems to be not active since that time even that there is update on November 16.
At the SACK's project page Gregory is given a short sample to use this class that you may check it out also.


Subscribe to AJAX Magazine's feed