官术网_书友最值得收藏!

What this book covers

Chapter 1, Architecture of a Backbone application, deals with the project organization at two levels: logical and physical. On the logical side, you will learn how to connect the Backbone objects, while on the physical side, you will see where to put your scripts.

Chapter 2, Managing views, helps you extract the common patterns of views and create a new set of general purpose views that can be used on any Backbone application. These views will remove a lot of boilerplate code when managing views.

Chapter 3, Model bindings, explains how to deal with complex REST resources and helps you handle embedded resources and keep it in sync with views.

Chapter 4, Modular code, covers dependency management and script bundling with Browserify. Modern applications are becoming more JavaScript-intensive, so it's a good idea to handle dependencies in a smarter way.

Chapter 5, Dealing with files, it covers the common requirement for web applications to upload files to a server, this chapter tells you how to do it in Backbone with a REST server.

Chapter 6, Store data in the browser, shows you how to store data in the browser and how to do it from a Backbone perspective. The chapter shows how to build two drivers to transparently store Backbone models in localStorage and indexedDB instead of a remote server. This can be useful if you want to create offline applications.

Chapter 7, Build like a pro, tells you how you can automatize common and repetitive tasks in a script. It will dramatically improve your productivity. It describes how you can build a development workflow that automatically refreshes your project every time you make a small change.

Chapter 8, Testing Backbone applications, shows you the strategies and best practices when testing frontend code.

Chapter 9, Deploy to production, shows you how to deploy the project to a production server. While high-demand applications need a sophisticated platform, this chapter gives you the starting point for small apps.

Chapter 10, Security, teaches you how to authenticate against the REST servers and how to manage sessions from the Backbone side.

主站蜘蛛池模板: 墨玉县| 游戏| 竹山县| 周至县| 天等县| 铜山县| 高台县| 宜春市| 西乌| 雷州市| 太谷县| 铜梁县| 兴和县| 济阳县| 富顺县| 苗栗市| 安阳县| 嘉黎县| 宣化县| 合肥市| 宜君县| 邢台县| 讷河市| 永安市| 龙口市| 乌兰浩特市| 苍山县| 南漳县| 巫山县| 江陵县| 磐石市| 建瓯市| 通辽市| 馆陶县| 玛纳斯县| 深泽县| 巩留县| 巴青县| 莆田市| 齐齐哈尔市| 延长县|