-
Notifications
You must be signed in to change notification settings - Fork 4
Agenda
Oren Farhi edited this page Aug 8, 2013
·
4 revisions
todo before workshop:
- upgrade
backbone workshop exercise:
-
Backbone.Model
- create YoutubeSearchResultItem
- show empty
- explore methods
- show on, listento
- set json data options
- excersice: create model
-
Backbone.View
- create YoutubeSearchResultItem
- show empty
- explain methods
- explain magic properties
- show properties
- explain render and convention of render return 'this'
- explain delegation
- excerise: create view, 2 click events, 'li'
-
Integrate Model & View
- pass model to view
- append to searchResults
- change model - show data-binding
-
Backbone.Collection & _
- explain collection
- explain methods
- explain events
- show passing data
- explain url
- show fetch of ".json"
- show connection to Model
-
Create YoutubeSearchResults
- explain el: "searchResults"