Simple Javascript eXtension Framework == The simple Javascript eXtension framework (jx in short) implements wrappers around common tasks performed on DOM object, JSON object and implements various utilities like design patterns for easy handling of collections as well as mathematic functions and some basic machine learning techniques and models. Jx doesn't get in the way of other frameworks like jQuery; Dojo; Mootools; Backbone; Boostrap. We put in a concerted effort to keep it simple yet useful.
dom.js utils.js rpc.js
This file is intended to handle DOM objects via jx.dom namespace. The namespace will rely on DOM object identifiers (ID) with a few exceptions of radio & checkboxes. The handling is mostly around getting and setting data on various attributes.
We advise using utils.js in order to handle collections of DOM objects as utils.js implements various utilities and industry standard design patterns
This implementation is designed by W3C specifications of HTML5 and will integrate well with other frameworks that do so. In addition we tried to mildly specify preconditions for executions of functions
This file implements common utilities for managing JSON objects and collections. We have implemented the handling of collections around some well known design patterns, iterator, visitor and observer. We have chosen these considering the scope & context in which javascript is used. That being said they can be extended & optimized. They come in handy when handling collections of DOM objects (for example search, setting values on attributes) This file is designed to handle http requests post, get, put of data and submitting form data as well. HttpClient.instance is a factory class provided to access to the interface and provide the functionality
rpc.js: