Getting started
-
See how this page is working.
-
How to define routes
- Organize the routes per area, defining modules using R.js
- See the example included in the repository
- Refer to Simrou documentation
Code organization
- Keep your ajax requests code in dedicated files (services.js)
- Perform DOM manipulation in custom Knockout binders
- Keep your models clean, use the provided base model function and its extend function.
Tools
- The project template includes Grunt to compile LESS code into CSS, and to bundle and minify JavaScript.
- (Recommended) use the Knight tool to generate external html templates.
https://github.com/RobertoPrevato/Humbular