• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
179
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. BACKBONEVIEW divaka / 2012/08/24
  • 2. AuthorProfile:http://about.me/divakaBlog:http://design2u.me/blog
  • 3. WHAT’s Backbone A JavaScript MVC Framework
  • 4. MVC Model Data StorageBusiness Controller View UI & interactionLogic
  • 5. View Should be reused M User Data Model C search display button V View Should be reused User User Search User List Component View View View
  • 6. Backbone View View Should be reused Because view contains many complicated interaction
  • 7. Views Should be easy to GET Get Data (model) Template A Template B Template C View A View B View C
  • 8. Views Should be reused View Page 1 Page 2 Page 3
  • 9. Views Should be easy to update Notify Change View ChangeNotify Change Notify Change BOS S Page 1 Page 2 Page 3
  • 10. View event templat e el Event model Reuse Compone DOM Data nt View is not only UI
  • 11. Backbone View View Should be reused You only need to maintain the view
  • 12. DEMOhttp://jsfiddle.net/LNUzm/http://jsfiddle.net/TpcHu/http://jsfiddle.net/LNUzm/1/http://jsfiddle.net/LNUzm/3/