Backbone.js Essentials
暫譯: Backbone.js 基礎精要

Jeremy Walker

  • 出版商: Packt Publishing
  • 出版日期: 2015-05-30
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 151
  • 裝訂: Paperback
  • ISBN: 1784394793
  • ISBN-13: 9781784394790
  • 海外代購書籍(需單獨結帳)

商品描述

Build amazing high-performance web applications using Backbone.js

About This Book

  • Construct top-notch web applications by mastering the powerful tools provided by Backbone.js
  • Gain insights into how to simplify data management and create single-page web applications with powerful user interfaces
  • This is a fast-paced guide on how to test, document, and leverage third-party libraries, and helps you get the most out of Backbone.js

Who This Book Is For

If you are a developer with baseline JavaScript proficiency and are familiar with the jQuery library, then this book is ideal for you. Whether you've tried building complex web applications before and been frustrated by the challenge of doing so without the proper tools, or whether you've only built simple websites and are now looking to create full-featured web applications, this book has everything you need to get ahead of the curve.

What You Will Learn

  • Architect a single-page web application using Backbone.js
  • Easily transmit data to and from a server-side API (RESTful or not) using Backbone's Models and Classes
  • Add and modify DOM elements with Backbone Views, and create browsable client-side pages with Routers
  • Document your Backbone.js logic, with or without popular tools such as JSDoc or Docco, to ensure long-term maintainability
  • Prevent bugs and ease refactoring by testing your code with frameworks such as QUnit, Mocha, or Buster and auxiliary tools such as Sinon
  • Use Backbone.js's sister library, Underscore, to realize the full power of a Backbone application
  • Explore advanced Backbone techniques and save time and effort by using the most powerful third-party tools available

In Detail

This book offers insight into creating and maintaining dynamic Backbone.js web applications. It delves into the the fundamentals of Backbone.js and helps you achieve mastery of the Backbone library.

Starting with Models and Collections, you'll learn how to simplify client-side data management and easily transmit data to and from your server. Next, you'll learn to use Views and Routers to facilitate DOM manipulation and URL control so that your visitors can navigate your entire site without ever leaving the first HTML page. Finally, you'll learn how to combine those building blocks with other tools to achieve high-performance, testable, and maintainable web applications.

商品描述(中文翻譯)

**使用 Backbone.js 建立驚人的高效能網頁應用程式**

## 本書簡介
- 通過掌握 Backbone.js 提供的強大工具,構建一流的網頁應用程式
- 獲得簡化數據管理的見解,並創建具有強大用戶界面的單頁網頁應用程式
- 這是一本快速指南,教你如何測試、記錄和利用第三方庫,幫助你充分發揮 Backbone.js 的潛力

## 本書適合誰
如果你是一位具備基本 JavaScript 熟練度並熟悉 jQuery 庫的開發者,那麼這本書非常適合你。無論你之前是否嘗試過構建複雜的網頁應用程式並因缺乏適當工具而感到沮喪,或是你只建立過簡單的網站,現在希望創建功能齊全的網頁應用程式,這本書都能提供你所需的一切,讓你走在時代的前端。

## 你將學到什麼
- 使用 Backbone.js 架構單頁網頁應用程式
- 使用 Backbone 的 Models 和 Classes 輕鬆地將數據傳輸到伺服器端 API(無論是否為 RESTful)
- 使用 Backbone Views 添加和修改 DOM 元素,並使用 Routers 創建可瀏覽的客戶端頁面
- 記錄你的 Backbone.js 邏輯,無論是否使用 JSDoc 或 Docco 等流行工具,以確保長期的可維護性
- 通過使用 QUnit、Mocha 或 Buster 等框架及輔助工具如 Sinon 來測試你的代碼,以防止錯誤並簡化重構
- 使用 Backbone.js 的姊妹庫 Underscore,充分發揮 Backbone 應用程式的潛力
- 探索高級 Backbone 技術,並通過使用最強大的第三方工具來節省時間和精力

## 詳細內容
本書提供了創建和維護動態 Backbone.js 網頁應用程式的見解。它深入探討了 Backbone.js 的基本原理,幫助你掌握 Backbone 庫。

從 Models 和 Collections 開始,你將學習如何簡化客戶端數據管理,並輕鬆地將數據傳輸到伺服器。接下來,你將學習使用 Views 和 Routers 來促進 DOM 操作和 URL 控制,讓你的訪客可以在不離開第一個 HTML 頁面的情況下瀏覽整個網站。最後,你將學習如何將這些構建塊與其他工具結合,以實現高效能、可測試和可維護的網頁應用程式。