没有合适的资源?快使用搜索试试~ 我知道了~
Backbone tutorials
需积分: 9 0 下载量 24 浏览量
2018-11-29
04:10:39
上传
评论
收藏 546KB PDF 举报
温馨提示
Backbone tutorial for beginner. 1. A feature comparison of different frontend frameworks 2. Todo MVC - Todo list implemented in the many different types of frontend frameworks
资源推荐
资源详情
资源评论
Backbone Tutorials
Beginner, Intermediate and Advanced
Thomas Davis
This book is for sale at http://leanpub.com/backbonetutorials
This version was published on 2012-10-23
This is a Leanpub book. Leanpub helps authors to self-publish in-progress ebooks. We call this idea Lean
Publishing.
To learn more about Lean Publishing, go to http://leanpub.com/manifesto.
To learn more about Leanpub, go to http://leanpub.com.
©2012 Leanpub
Tweet This Book!
Please help Thomas Davis by spreading the word about this book on Twitter!
The suggested hashtag for this book is #backbonetutorials.
Find out what other people are saying about the book by clicking on this link to search for this hashtag
on Twitter:
https://twitter.com/search/#backbonetutorials
Contents
Why do you need Backbone.js? i
Why single page applications are the future ............................ i
So how does Backbone.js help? ................................... i
Other frameworks .......................................... i
Contributors .......................................... i
What is a view? ii
The “el” property ........................................... ii
Loading a template .......................................... iii
Listening for events .......................................... iii
Tips and Tricks ............................................ iv
Relevant Links ......................................... v
Contributors .......................................... v
What is a model? vi
Setting attributes ........................................... vi
Getting attributes ........................................... vii
Setting model defaults ........................................ vii
Manipulating model attributes .................................... vii
Listening for changes to the model ................................. viii
Interacting with the server ...................................... ix
Creating a new model ..................................... ix
Getting a model ........................................ x
Updating a model ....................................... x
Deleting a model ........................................ xi
Tips and Tricks ......................................... xi
Contributors .......................................... xii
What is a collection? xiii
Building a collection ......................................... xiii
CONTENTS
What is a router? xv
Dynamic Routing ........................................... xv
Dynamic Routing Cont. “:params” and “*splats” .......................... xvi
Relevant Links .........................................xvii
Contributors ..........................................xvii
Organizing your application using Modules (require.js) xviii
What is AMD? ............................................xviii
Why Require.js? ...........................................xviii
Getting started ............................................xviii
Example File Structure ........................................ xix
Bootstrapping your application ................................... xx
What does the bootstrap look like? .............................. xx
How should we lay out external scripts? .............................. xxi
A boiler plate module ........................................ xxi
App.js Building our applications main module ...........................xxii
Modularizing a Backbone View ...................................xxiii
Modularizing a Collection, Model and View ............................xxiv
Conclusion ..............................................xxv
Relevant Links .........................................xxv
Contributors ..........................................xxv
Lightweight Infinite Scrolling using Twitter API xxvi
Getting started ............................................xxvi
The Twitter Collection ........................................xxvi
Setting up the View ..........................................xxvii
The widget template .........................................xxviii
Conclusion ..............................................xxix
Simple example - Node.js, Restify, MongoDb and Mongoose xxx
Getting started ............................................xxx
The technologies ...........................................xxx
Node.js .............................................xxx
Restify .............................................xxx
MongoDb ............................................xxx
Mongoose ............................................xxx
剩余54页未读,继续阅读
资源评论
TitanLiu
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 姿态估计资料,值得收藏
- MicroPython下ESP32实现SD卡存储语音录音,按钮控制,可多次
- OPENCV 常用XML 内涵17个常用XML,包括人脸检测,微笑检测,人眼检测,用于学习模型训练和使用
- 从CTF到漏洞挖掘:二进制安全的入门指南
- 中国省、市、县级乡村创新创业指数(2014-2021年).xlsx
- (全新整理)中国省、市、县级乡村创新创业指数(2014-2021年)
- 【重磅,更新!】中国农村经营管理统计年报,外出务工、耕地面积等数据(2006-2022年)
- 白盒审计下XSS Filter绕过技巧详解及解决方案
- 【java毕业设计】疫情防控志愿者管理系统源码(ssm+mysql+说明文档+LW).zip
- IMG_9980.JPG
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功