2012 08 24 backbone_2

412 views

Published on

talk about Backbone view

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
412
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

2012 08 24 backbone_2

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

×