introduction to backbone.js - ddd north
TRANSCRIPT
Garry ShutlerBackbone.js
@gshutler
Web is changingAPIs & clients
JavascriptNot simple now
Hate boilerplateNeed framework
What?
What?Routing
What?Eventing
What?Persistence
What?Rendering
What?Conventions
What?Documentation
What?Simplicity
What?Testable
ExampleTodo list
Task{
“id” : integer,
“name” : string,
“description” : string,
“status” : “todo” | “doing” | “done”
}
APIGET /tasks
POST /tasks
GET /tasks/{id}
PUT /tasks/{id}
DELETE /tasks/{id}
View
DivideConquer
View
View
View
View
CodezI haz them
Thoughts
Questions
Garry Shutler
@gshutler
http://www.robustsoftware.co.uk
https://github.com/gshutler/dddnorth