Your SlideShare is downloading. ×
2012 07 24 backbone_1
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 07 24 backbone_1

404

Published on

simple introduction about backbone.js

simple introduction about backbone.js

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
404
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
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. BACKBONEINTRO, MODEL divaka / 2012/07/24
  • 2. AuthorProfile:http://about.me/divakaBlog:http://design2u.me/blog
  • 3. WHAT’s Backbone A JavaScript MVC Framework
  • 4. Problems coding style are different Spaghetti Code  UI  Function No Class  Everything need to rebuild
  • 5. In the Past CRUD Reque PutAction Controller st Server DB data Success okay CRUD Reque PutAction Controller st Server DB data Success okay CRUD Reque PutAction Controller st Server DB data Success okay CRUD Reque PutAction Controller st Server DB data Success okay
  • 6. Advantage MVC Data Stored Model Control View Merged UI Action Delegate UI Control
  • 7. With Backbone Model Model Model Controller View View View UI
  • 8. Advantage Manage Code Easily
  • 9. Advantage Automatic update UI while Model changed Form notify notify Table DB Model notify DOM
  • 10. Advantage Template Engine  By underscore.js Template + data = UI
  • 11. BACKBONE MODEL
  • 12. Model
  • 13. Collection
  • 14. View – Control UI
  • 15. Router - Binding URL
  • 16. 參考資料 Website  英文官網  中文官網翻譯 English  Backbone JS – Hello World tutorial  Backbone.js Lessons Learned and Improved Sample App  Backbone: Dealing with stateful applications (part 1)  Asynchronously Load HTML Templates For Backbone Views Chinese  用 Backbone.js, underscore.js 和 jQuery 创建页面应  Javascript 前端工具 Backbone.js Framework 初學介紹  Backbone.js Event 事件介紹  小鐵的投影片介紹 Example  新建 FriendList  Backbone, Amber, Knockout 效能比較
  • 17. DEMO1. Simple Model2. Hello Backbone3. Get Model Data4. Delete Model data5. Model extend6. Auto Update

×