jQX Framework
jQX is a small javascript MVC framework. Some of the benefits of using JQX instead of simply including javascript files:
- Isolate all module actions to a single javascript file which loads other plugins and library files
- Automatically creates path configuration variables for images, css etc.
- Includes simple caching object to cache information
- Provides basic inheritance
jqx.load('plugin', 'date');
fuel.controller.MyModuleController = jqx.createController(fuel.controller.BaseFuelController, {
init: function(initObj){
this._super(initObj);
},
myMethod : function(){
}
....
}
For more examples, look inside the fuel modules js/fuel/controller folder