Building Web Apps with Ember.js (Paperback)

Jesse Cravens, Thomas Q Brady

  • 出版商: O'Reilly
  • 出版日期: 2014-08-26
  • 定價: $990
  • 售價: 8.0$792
  • 語言: 英文
  • 頁數: 188
  • 裝訂: Paperback
  • ISBN: 1449370926
  • ISBN-13: 9781449370923
  • 相關分類: JavaScript
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

If you’re a web developer interested in building scalable single-page applications—full-stack, browser-based apps that connect to a backend—this practical guide shows you how to use Ember.js, the popular JavaScript framework based on the model-view-controller (MVC) architectural pattern.

Through the course of the book, you’ll learn how to build a prototype Ember application (a musician index called Rock’n’Roll Call), using routers, templates, models, controllers, and views. You’ll also understand how Ember’s convention over configuration approach helps you persist data, build backend technologies, and create widgets for developing production-capable applications that behave like desktop software.

  • Set up workflow management and boilerplate code creation
  • Learn how Ember’s “developer ergonomics” help you use less code
  • Write templates for the book’s prototype with Handlebars.js
  • Use routers to manage application states without reloading the page
  • Connect controllers and views with events, and sync data with data-binding
  • Build an Ember backend with a RESTful API or Ruby on Rails
  • Use the Ember-Data library to persist data and talk to the backend
  • Write reusable encapsulated widgets to extend your applications

商品描述(中文翻譯)

如果你是一位對於建立可擴展的單頁應用程式(full-stack, browser-based apps)有興趣的網頁開發者,本實用指南將向你展示如何使用 Ember.js,這是一個基於模型-視圖-控制器(MVC)架構的流行 JavaScript 框架。

在本書的過程中,你將學習如何建立一個 Ember 應用程式的原型(一個名為 Rock'n'Roll Call 的音樂家索引),並使用路由器、模板、模型、控制器和視圖。你還將了解 Ember 的「慣例優於配置」方法如何幫助你持久化數據、建立後端技術,並創建用於開發具有桌面軟體行為的生產能力應用程式的小工具。

本書的內容包括:
- 設置工作流程管理和樣板代碼創建
- 學習 Ember 的「開發者人體工學」如何幫助你使用更少的代碼
- 使用 Handlebars.js 為原型編寫樣板
- 使用路由器在不重新載入頁面的情況下管理應用程式狀態
- 通過事件將控制器和視圖連接起來,並使用數據綁定同步數據
- 使用 RESTful API 或 Ruby on Rails 構建 Ember 後端
- 使用 Ember-Data 库持久化數據並與後端通信
- 編寫可重用的封裝小工具來擴展你的應用程式