liteAJaX
After some work with Bru and some little updates, now I did the 0.1.2 release of my first simple AJaX javascript class.
My first interest about this topic came from some post on
Codewitch.org, that linked an interesting discussion and started a small
WiKi on this topic. Thanks Bru, again.
I weren't satisfied with some solutions that came out on the net and so I've started coding my own
barebone class to simplify the XMLHTTPConnection process.
At this point the
liteAJaX class isn't more than a small wrapper arount the main operations, with some functions and a logical structure to make easy for any developer to use this class in any project, with any server language, since it's completely
indipendent.
I just read
this interesting article about how any AJaX application should be designed in order to improve security, so I've added a small 'simplified' UTF-8 encoding function in my class, now at its 0.1.2 version. I'm quite satisfied that he came to my same opinions about GET/POST handling.
The next step, but I've got to find some time to research on it, is to
enhance the class with some method to bind a worker function to a specific form-field, in order to increase of another step the ease of implementation of an AJaX interface.
I got an
interesting article on ALA about doing this, but of course I've got to find if it's pratically useful and well supported by all the browsers that support AJaX as well (i.e. XMLHTTPRequest).
So, I hope this could be interesting for someone. Suggestions are welcome.
Published on 2005-04-04 at 20:46:03