LiteJS is light weight javascript framework to create client side application. It is 5.3KB when gzipped and 16kb when just minified.
It uses the MVC design pattern to structure the web application code. You can create plugable modules, services, components and providers and many others to structure your application code. You can also create plugins which can you reuse in other projects.
It took some of the priciples from angularJS to create components and some principles from backboneJS to bind the DOM events on DOM nodes.
LiteJS does not have templating engion, but it provide very simple interface to configure your template engion to render your htmls. It allows you to choose any templating engion of your choice, might be handlebarJs, rivetsJs, VueJS any engion you are comfortable with. LiteJS does not use any third party library to run, but if you want to give support for olders browsers as well then you might have to include Webcomponent.js and Polyfill.js.
- Depedency Injection
- Auto instance creation when required.
- Memory management by removing instances if associated DOM element is removed.
- Communcation between component by standard channels
- Events binding on DOM elements
- Updating DOM with the help of templating engion
- Custom DOM events
- Light weight ajax
- Modules
- Providers
- Components as UI Component
- Services
- Func as Injectable Functions
- ltPromise
- ltRouter
- ltAjax
- ltQuery(light weight DOM query with utility function)
You can include the liteJS in your default html page your application.
<script src="litejs.min.js"></script>- Write documentation for LiteJS
- Someone can perform code reviews.
- Can help to improve this framework.
litejs@gmail.com