webcamp:front-end developers day. Коротков Александр "backbone.js scalable...
Post on 08-Aug-2015
39 Views
Preview:
TRANSCRIPT
scalable applicationBackbone.js
Header
Fields
Control
Footer
Use MarionetteJS
Modulesencapsulate code
Bind view with modelBackbone vs Marionette
Manage behaviourprototype and extend
Page 1
Page 2
• use models, and build logic based on model’s attributes
• use “defaults” in models
• one type for attributes in model
• router shows state (not managing)
• use “reset css” and prefixes“bq-name”
top related