Backbone js is one of good framework. It’s light weight and give structure to web application. It consist of :
- Model
- View
- Collection
- Router
- Templating (use UnderscoreJs and Handlebarjs)
Basic
To use backbone , it require jquery (not mandatory) and underscore js (mandatory)
View
View is used to show your data and event. Here is the example :
You can use view with event.
Model
Model containing the interactive data as well as a large part of the logic surrounding it: conversions, validations, computed properties, and access control.
Model With Validate