Developing Backbone.js Applications

Developing Backbone.js Applications

简介:

Backbone.js是一个具有RESTful JSON接口的JavaScript库,并且松散地基于模型-视图-控制器 (MVC) 应用程序设计范例。Backbone.js以轻量级而闻名,因为它唯一的依赖是一个JavaScript库Underscore.js。它设计用于开发单页web应用程序,并用于保持web应用程序的各个部分 (例如多个客户端和服务器) 同步。

如果您希望使用单页应用程序模型来构建网站的前端,Backbone.js是一个理想的工作框架。本实用指南提供了使用Backbone.js及其独特的模型-视图-控制器 (MVC) 架构创建结构化JavaScript应用程序所需的所有信息。

您将从Backbone的模型,视图,集合和路由器的要点开始,然后深入研究使用现代技术堆栈构建RESTful应用程序的方法。作者Addy Osmani还演示了该框架的高级用法,以及进行单元测试的方法。

英文简介:

Backbone.js is a JavaScript library with a RESTful JSON interface, and is loosely based on the model-view-controller (MVC) application design paradigm. Backbone.js is known for being lightweight, as its only dependency is on one JavaScript library, Underscore.js. It is designed for developing single-page web applications, and for keeping various parts of web applications (e.g. multiple clients and the server) synchronized.

If you're looking to use the single-page application model to build your site's frontend, Backbone.js is an ideal framework for the job. This practical guide provides all the information you need to create structured JavaScript applications using Backbone.js and its unique flavor of the model-view-controller (MVC) architecture.

You'll start with the essentials of Backbone's models, views, collections, and routers, and then dive into methods for building RESTful applications with modern technology stacks. Author Addy Osmani also demonstrates advanced uses of the framework, as well as ways to conduct unit tests.

书名
Developing Backbone.js Applications
译名
开发 Backbone.js 应用程序
语言
英语
年份
2012
页数
155页
大小
2.69 MB
标签
  • JavaScript
  • 下载
    pdf iconDeveloping Backbone.js Applications.pdf
    密码
    65536

    最后更新:2025-04-12 23:57:50

    ←Architecting Modern Web Applications with ASP.NET Core and Microsoft Azure

    →Computer Organization and Design RISC-V Edition: The Hardware Software Interface