BACKBONEVIEW       divaka / 2012/08/24
AuthorProfile:http://about.me/divakaBlog:http://design2u.me/blog
WHAT’s Backbone A JavaScript MVC Framework
MVC                      Model   Data StorageBusiness         Controller           View           UI & interactionLogic
View Should be reused M                 User Data Model C     search          display         button V          View Shoul...
Backbone View         View Should be reused Because view contains many complicated interaction
Views Should be easy to GET              Get Data (model) Template A      Template B      Template C  View A          View...
Views Should be reused  View Page 1   Page 2   Page 3
Views Should be easy to    update                   Notify Change          View                              ChangeNotify ...
View        event                               templat                               e   el   Event                   mod...
Backbone View      View Should be reused    You only need to maintain the view
DEMOhttp://jsfiddle.net/LNUzm/http://jsfiddle.net/TpcHu/http://jsfiddle.net/LNUzm/1/http://jsfiddle.net/LNUzm/3/
Upcoming SlideShare
Loading in...5
×

2012 08 24 backbone_2

201

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
201
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
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/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×