In this article, we’ll explore different design patterns that you can use in your Backbone.js applications, and we’ll look at many of the common gotchas that trip up developers.
* Perform Deep Copies Of Objects
* Create Facades To Objects
* Store Data Not Persisted By The Server
* Render Parts Of Views Instead Of Entire Views
* Keep Models Agnostic To Views
* Parameter Mapping In Routers
* model.fetch() Won’t Clear Your Model
* PUTs Require An ID Attribute
* Model Data On Page Load
* Handling Failed Model Attribute Validation
* HTTP Status Code 200 Trigger Error
* Create A Generic Error Display
* Update Single-Page App Document Titles
* JSDoc Functions And Backbone.js Classes
* Practice Test-Driven Development
Your new post is loading...