backbone-app
v0.1.4
Published
JavaScript MVC-framework based on BackboneJS
Downloads
2
Readme
🔥 backbone-app 🔥
backbone-app is a JavaScript MVC-framework based on BackboneJS, which supports all the needed features to create working Single Page Application:
Components based architecture
Routing
RESTful data fetching & handling
How to start
You need just 3 steps to create your app with BlocksJS:
If you don't need to work with remote API:
Create App class inherited from BlocksJS.App class.
Create pages classes inherited from BlocksJS.Page class.
Create Router class inherited from BlockJS.Router class. Specify the list of routes for pages, that you created before.
Create some blocks classes (this is how we call components here) inherited from BlocksJS.Block class. You can reuse them several times.
Include your blocks in pages templates and in other blocks.
That's all!