A small frontend library for quick generation and management of
DOM structure blocks.
Main concept
The idea is in reusing predefined interface parts schemes for building
instances of this parts. All data generated is stored in the objects and
can be quickly got by reference.
Also objects that represents single DOM nodes has few very useful methods
implements jQuery syntax.
Example:
Lets create classic tasks list: input field and adding button. User can input text in the field and add task by clicking button.
The tasks list interface:
UI.register({
name :'Tasks list',
scheme :{
wrap :{
list :'|Task',// Task - is the name of UI that will be used as regular item of list.