Ember.js Cookbook(Paperback)
暫譯: Ember.js 食譜(平裝本)

Erik Hanchett

  • 出版商: Packt Publishing
  • 出版日期: 2016-02-29
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 308
  • 裝訂: Paperback
  • ISBN: 1783982209
  • ISBN-13: 9781783982202
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • This book is your one-stop solution to the key features of Ember.js. Become skilled in the art of building web-apps in a fraction of the code you'd write in other frameworks.
  • Build JavaScript apps that don't break the web! Our 100 recipes will make this a cakewalk for you!
  • This books makes learning Ember.js easy by breaking down each topic into simple-to-understand recipes

Book Description

Ember.js is an open source JavaScript framework that will make you more productive. It uses common idioms and practices, making it simple to create amazing single-page applications. It also lets you create code in a modular way using the latest JavaScript features. Not only that, it has a great set of APIs to get any task done. The Ember.js community is welcoming newcomers and is ready to help you when needed.

This book provides in-depth explanations on how to use the Ember.js framework to take you from beginner to expert. You'll start with some basic topics and by the end of the book, you'll know everything you need to know to build a fully operational Ember application.

We'll begin by explaining key points on how to use the Ember.js framework and the associated tools. You'll learn how to effectively use Ember CLI and how to create and deploy your application. We'll take a close look at the Ember object model and templates by examining bindings and observers. We'll then move onto Ember components, models, and Ember Data. We'll show you examples on how to connect to RESTful databases. Next we'll get to grips with testing with integration and acceptance tests using QUnit. We will conclude by covering authentication, services, and Ember add-ons. We'll explore advanced topics such as services and initializers, and how to use them together to build real-time applications.

What you will learn

  • Skip the boilerplate code with Ember CLI generators
  • Create a component with actions and events
  • Set up a model with Ember Data using fixture data
  • Create several different types of test cases and run them
  • Manage and set up user authentication using Ember Simple Auth
  • Add animated transitions to your app with Liquid Fire
  • Set up a service and initializer with dependency injection
  • Create a working chat application
  • Set up an Ember Service and initializer with dependency injection
  • Create a working chat application

About the Author

Erik Hanchett is a software developer, blogger, and perpetual student who has been writing code for over 10 years. He currently resides in Reno, Nevada, with his wife and two kids. He blogs about software development at ProgramWithErik.com.

Table of Contents

  1. Ember CLI Basics
  2. The Ember.Object Model
  3. Ember Templates
  4. Ember Router
  5. Ember Controllers
  6. Ember Components
  7. Ember Models and Ember Data
  8. Logging, Debugging, and Testing
  9. Real-Life Tasks with Ember.js
  10. Awesome Tasks with Ember
  11. Real-Time Web Applications

商品描述(中文翻譯)

**主要特點**

- 本書是您了解 Ember.js 主要特點的一站式解決方案。掌握在其他框架中所需編寫的代碼量的一小部分來構建網頁應用程式的技巧。
- 建立不會破壞網路的 JavaScript 應用程式!我們的 100 個食譜將使這對您來說變得輕而易舉!
- 本書通過將每個主題分解為易於理解的食譜,使學習 Ember.js 變得簡單。

**書籍描述**

Ember.js 是一個開源的 JavaScript 框架,能讓您更具生產力。它使用常見的慣用語和實踐,使創建驚人的單頁應用程式變得簡單。它還允許您使用最新的 JavaScript 特性以模組化的方式編寫代碼。不僅如此,它還擁有一組出色的 API 來完成任何任務。Ember.js 社群熱情歡迎新手,並隨時準備在需要時提供幫助。

本書提供了如何使用 Ember.js 框架的深入解釋,幫助您從初學者成長為專家。您將從一些基本主題開始,到書籍結束時,您將了解構建完整運作的 Ember 應用程式所需的所有知識。

我們將首先解釋如何使用 Ember.js 框架及相關工具的關鍵要點。您將學習如何有效使用 Ember CLI,以及如何創建和部署您的應用程式。我們將仔細研究 Ember 物件模型和模板,通過檢查綁定和觀察者來進行探討。接著,我們將進入 Ember 組件、模型和 Ember Data。我們將展示如何連接到 RESTful 數據庫的範例。接下來,我們將學習如何使用 QUnit 進行整合測試和驗收測試。我們將以涵蓋身份驗證、服務和 Ember 附加元件作為結尾。我們將探討服務和初始化器等進階主題,以及如何將它們結合使用來構建實時應用程式。

**您將學到的內容**

- 使用 Ember CLI 生成器跳過樣板代碼
- 創建具有動作和事件的組件
- 使用假資料設置 Ember Data 模型
- 創建幾種不同類型的測試案例並運行它們
- 使用 Ember Simple Auth 管理和設置用戶身份驗證
- 使用 Liquid Fire 為您的應用程式添加動畫過渡
- 使用依賴注入設置服務和初始化器
- 創建一個可運作的聊天應用程式
- 使用依賴注入設置 Ember 服務和初始化器
- 創建一個可運作的聊天應用程式

**關於作者**

**Erik Hanchett** 是一位軟體開發人員、部落客和終身學生,擁有超過 10 年的編碼經驗。他目前與妻子和兩個孩子居住在內華達州的雷諾。他在 ProgramWithErik.com 上撰寫有關軟體開發的部落格。

**目錄**

1. Ember CLI 基礎
2. Ember.Object 模型
3. Ember 模板
4. Ember 路由器
5. Ember 控制器
6. Ember 組件
7. Ember 模型和 Ember Data
8. 日誌記錄、除錯和測試
9. 使用 Ember.js 的實際任務
10. 使用 Ember 的精彩任務
11. 實時網頁應用程式