Steve L. Nyemba
14b54aded0
|
10 years ago | |
---|---|---|
ext | 10 years ago | |
README.md | 10 years ago | |
dom.js | 10 years ago | |
rpc.js | 10 years ago | |
utils.js | 10 years ago |
README.md
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 conerted effort to keep it simple.
dom.js:
Handling of DOM objects will rely on DOM object identifiers (ID) with a few exceptions. The focus of a dom object is mostly centered around a single DOM object,
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
rpc.js:
utils.js: Implementation of miscellaneous utilities commonly used, These functions are reusable and simple:
jx.utils.vector extracts a vector from an array of objects (or a matrix) jx.utils.keys extract keys from an associative array jx.utils.unique returns unique objects in an array, including array of objects (provided an key function)
jx.utils.patterns: Implementation of design patterns defined by the GOF http://en.wikipedia.org/wiki/Software_design_pattern
jx.utils.patterns.visitor The visitor design pattern jx.utils.patterns.iterator The iterator design pattern jx.utils.patterns.observer The observer design pattern
ext/math.js:
ext/ml.js: