imars world - Think about it: nobody will do it for you
Go to site navigation

JavaScript

edited on March 6th, 2009

I've created what is, for my needs, a über-cool little library compatible with JavaScript 1.5 and tested under all the browsers I could get my hands on: Opera 9, Firefox 2-3, MSIE 6+, and even WebKit (Safari, Konqueror) thanks to Arora.

The thing is completely modular, with clearly stated interdependencies, and comes with a Makefile based on CPP and Sed to build a production release out of exactly those modules which a given project needs, in a compact but still easy to read and debug should the need arise. (Yes, it can.)

You can download the current pre-release tarball here.

Below is a summary of what is already clean enough for me to dare publish, and the documentation I'm working on. Most if not all these tools evolve around DHTML and AJAX and are 100% unobstrusive. They are triggered by CSS class names or IDs, or invoked from your own JavaScript code and events.

Note that most files show empty documentation, however if you look at the source, you'll see plenty of instructions in early comments. I just haven't gotten around to reformatting them into proper NDlite yet.

Note that as of 2009/03/06, the total size of all of the above combined is 54,732 bytes in source form and 29,979 bytes in production form. Not only that, but few projects need the whole thing. Listview alone is worth 20,349 source, 13,902 packed for distribution, if you don't need it the production size is cut in half already. Debug shouldn't be in production, so that's another few kb saved.

Navigation:

© 2009 Stéphane Lavergne   Site powered by FernCMS   Valid: XHTML 1.1 CSS