JSLoader – Javascript Libraries on Demand
JSLoader is a dead-simple, non-intrusive “Javascript-on-demand” packaging convention which helps developers and the internet community rapidly develop and prototype applications without the headache of figuring out the witches’ brew of files that need to be copied, included, etc. You do not need to download anything to use all the Javascript frameworks. it is because multiple sites will share this code the browser and proxy caches will help make things more efficient.
All Javascript Libraries are already installed on their server, so all you need to do is create a <script></script> tag with inside <noautolink> of your page and you should be able to load any of the available modules. Once you’ve loaded them, close the script tag out, and use a separate script block for using the API.
JSLoader supports many Javascript Framewroks. The following the an example of how to load a particular Javascript Library on your website / web application.
// Ext.js
JSLoader.load(“ria”,”ext”,”1.1.1″);
JSLoader.load(“ria”,”ext”,”2.0-beta1″);
// JQuery (no plugins yet…)
JSLoader.load(“ria”,”jquery”,”1.2.1″);
// Lightbox (for prototype/scriptaculous)
JSLoader.load(“ria”,”lightbox”,”2.03″);
// Prototype.js
JSLoader.load(“ria”,”prototype”,”1.5.1″);
JSLoader.load(“ria”,”prototype”,”1.6.0-rc0″);// Scriptaculous
JSLoader.load(“ria”,”scriptaculous”,”1.7.1-beta3″);
JSLoader.load(“ria”,”scriptaculous”,”1.8.0-pre1″);
Requirements: No Requirements
Demo: http://www.jsloader.com/
License: LGPL License