Your SlideShare is downloading. ×
2012 08 24 backbone_2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

2012 08 24 backbone_2

184

Published on

talk about Backbone view

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
184
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
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/

×