Hi, I created this mainly as an academic challenge, but hopefully it will be useful. If I've sent this to the wrong list, please let me know where I should direct it instead.
All the best,
Bryan Garaventa

gsQuery, the jQuery shell API


gsQuery, the jQuery JavaScript library shell, is a lightweight API that can be used to create independent customizable JavaScript libraries.



Since gsQuery utilizes the core functionality of jQuery as a blank template, developers can create new JavaScript libraries from the ground up. Thus allowing developers to extend individualized collections on an 'as-needed' basis to reduce overhead.



Similar to jQuery, it is possible to run multiple gsQuery instances within the same application, which may be useful when swapping, combining, adding, or removing libraries containing extensive collections relating to complex tasks. By default, gsQuery uses the "gsQuery" namespace ($gs) to prevent conflicts, yet this can easily be changed.



API Reference


gsQuery supports the following jQuery API calls:

jQuery Core : http://docs.jquery.com/Core

Selectors : http://docs.jquery.com/Selectors

Attributes : http://docs.jquery.com/Attributes

Traversing : http://docs.jquery.com/Traversing

Manipulation : http://docs.jquery.com/Manipulation

Events : http://docs.jquery.com/Events

Utilities : http://docs.jquery.com/Utilities



Purpose


The purpose of gsQuery is not to copy 'the wheel' of jQuery, but rather, to break down the functionality of jQuery into a reusable, empty JavaScript library that can be populated however desired.



gsQuery is also a learning aid, containing additional comments within the source code to supplement the original jQuery commentary. Sections were broken out to better illustrate how the base object of jQuery works, including the practical applications of encapsulation, closures, and prototyping.



Both the demo and the download are available at

http://gutterstar.net/gsquery


Reply via email to