AtomicJS

AtomicJS is designed to support building applications using the Model-View-View Adapter-Controller (MVVAC) design pattern. Applications are built on AtomicJS by creating controllers and view adapters in JavaScript, and models in JSON. The default view adapter engine provided with AtomicJS will either bind view adapters to views created using plain HTML5 or create the view from the adapter by instantiating appropriate HTML DOM elements into the HTML document. A unit testing adapter engine will be provided at some future date. AtomicJS also provides a set ofobserverclasses which provide wrappers that can be setup around models so that changes to the model can be observed and reacted to. This is combined with the view adapter engine to provide 2 way data binding across view adapter controls. All dependencies in AtomicJS are injected via constructor functions. Concerns are well separated and thanks to the View-View Adapter relationship, mixing of logic and structure is avoided. There is no need to add expressions, conditionals or other logic into the views (HTML). The result is a principled but simple approach to building web applications.

results matching ""

    No results matching ""