Introduction


ToolKit-JS is a small front end framework, it has an array of neat features, from components through to it's own implementation of AJAX, you can find ToolKit here.

Why use ToolKit?


This is a simple question, and it deserves a simple answer, unlike a lot of modern front end technologies, ToolKit is simple, it's lightweight and relatively fast.

Targeting DOM Elements


To target DOM elements, you can use the following methods:

ToolKit.Utils.$one('#idName'); // get a single element 
ToolKit.Utils.$all('.className'); // get an array of elements 

Service


If you wish to make use of AJAX calls, you can simply do so via using ToolKit's Service method.

Query


If you want to query an array of objects, you can simply use ToolKit-JS to do this, via using the Query method, the main purpose of this is to implement a more 'minimal' implementation of OQS(Object Query Script). This can be used as a load balancing tool, or possibly a disaster recovery implementation for when you're having one of those bad server days!