0
BACKBONEINTRO, MODEL         divaka / 2012/07/24
AuthorProfile:http://about.me/divakaBlog:http://design2u.me/blog
WHAT’s Backbone A JavaScript MVC Framework
Problems   coding style are different   Spaghetti Code     UI     Function   No Class     Everything   need to rebuild
In the Past         CRUD                Reque              PutAction          Controller   st        Server          DB   ...
Advantage   MVC                       Data Stored                         Model        Control          View        Merge...
With Backbone                     Model   Model   Model        Controller   View    View    View                          ...
Advantage   Manage Code Easily
Advantage   Automatic update UI while Model changed                                                Form                  ...
Advantage   Template Engine       By underscore.js        Template    +      data   =   UI
BACKBONE MODEL
Model
Collection
View – Control UI
Router - Binding URL
參考資料   Website       英文官網       中文官網翻譯   English       Backbone JS – Hello World tutorial       Backbone.js Lessons ...
DEMO1.   Simple Model2.   Hello Backbone3.   Get Model Data4.   Delete Model data5.   Model extend6.   Auto Update
Upcoming SlideShare
Loading in...5
×

2012 07 24 backbone_1

417

Published on

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
417
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "2012 07 24 backbone_1"

  1. 1. BACKBONEINTRO, MODEL divaka / 2012/07/24
  2. 2. AuthorProfile:http://about.me/divakaBlog:http://design2u.me/blog
  3. 3. WHAT’s Backbone A JavaScript MVC Framework
  4. 4. Problems coding style are different Spaghetti Code  UI  Function No Class  Everything need to rebuild
  5. 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. 6. Advantage MVC Data Stored Model Control View Merged UI Action Delegate UI Control
  7. 7. With Backbone Model Model Model Controller View View View UI
  8. 8. Advantage Manage Code Easily
  9. 9. Advantage Automatic update UI while Model changed Form notify notify Table DB Model notify DOM
  10. 10. Advantage Template Engine  By underscore.js Template + data = UI
  11. 11. BACKBONE MODEL
  12. 12. Model
  13. 13. Collection
  14. 14. View – Control UI
  15. 15. Router - Binding URL
  16. 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. 17. DEMO1. Simple Model2. Hello Backbone3. Get Model Data4. Delete Model data5. Model extend6. Auto Update
  1. A particular slide catching your eye?

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

×