Pro AngularJS (Paperback)
暫譯: 專業 AngularJS

Adam Freeman

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

相關主題

商品描述

AngularJS is the leading framework for building dynamic JavaScript applications that take advantage of the capabilities of modern browsers and devices. AngularJS, which is maintained by Google, brings the power of the Model-View-Controller (MVC) pattern to the client, providing the foundation for complex and rich web apps. It allows you to build applications that are smaller, faster, and with a lighter resource footprint than ever before.

Best-selling author Adam Freeman explains how to get the most from AngularJS. He begins by describing the MVC pattern and the many benefits that can be gained from separating your logic and presentation code. He then shows how you can use AngularJS's features within in your projects to produce professional-quality results. Starting from the nuts-and-bolts and building up to the most advanced and sophisticated features AngularJS is carefully unwrapped, going in-depth to give you the knowledge you need.

Each topic is covered clearly and concisely and is packed with the details you need to learn to be truly effective. The most important features are given a no-nonsense in-depth treatment and chapters include common problems and details of how to avoid them.

What you’ll learn

  • Gain a solid architectural understanding of the MVC Pattern to separate logic, data and presentation code.
  • Learn how to create rich and dynamic web apps using AngularJS
  • Understand how each feature works and why it is important
  • Understand how to extend HTML with declarative syntax
  • Learn how to extend and customize AngularJS
  • Learn how to test, refine, and deploy your AngularJS projects

Who this book is for

This book is ideal for web developers who have a working knowledge of JavaScript, HTML and CSS. The book is platform agnostic and a range of browsers will be presented and discussed throughout the examples.

Table of Contents

Part 1 - Getting Started
1. Getting Ready
2. Your First AngularJS App
3. Putting AngularJS in Context
4. HTML and CSS Primer
5. Javascript Primer
6. SportsStore: A Real Application
7. SportsStore: Navigation and Checkout
8. SportsStore: Administration 

Part 2 - Working with AngularJS
9. The Anatomy of an AngularJS App
10. Using Binding and Template Directives
11. Using Element and Event Directives
12. Working with Forms
13. Using Controllers and Scopes
14. Using Filters
15. Creating Custom Directives
16. Creating Complex Directives
17. Advanced Custom Directive Features 
 
Part 3 - AngularJS Modules and Services
18. Working with Modules and Services
19. Services for Global Objects, Errors and Expressions
20. Services for Ajax and Promises
21. Services for REST
22. Services for Views
23. Services for Animation and Touch
24. Services for Provision and Injection
25. Services for Testing

商品描述(中文翻譯)

AngularJS 是用於構建動態 JavaScript 應用程式的主要框架,充分利用現代瀏覽器和設備的能力。AngularJS 由 Google 維護,將模型-視圖-控制器(MVC)模式的力量帶入客戶端,為複雜且豐富的網頁應用程式提供基礎。它使您能夠構建比以往更小、更快且資源佔用更輕的應用程式。

暢銷書作者 Adam Freeman 解釋了如何充分利用 AngularJS。他首先描述了 MVC 模式以及從分離邏輯和呈現代碼中可以獲得的許多好處。接著,他展示了如何在您的專案中使用 AngularJS 的功能,以產生專業品質的結果。從基本概念開始,逐步深入到 AngularJS 最先進和複雜的功能,仔細解釋,讓您獲得所需的知識。

每個主題都清晰且簡潔地涵蓋,並包含您需要學習以真正有效的詳細資訊。最重要的功能都進行了深入的實質性處理,章節中包括常見問題及如何避免這些問題的詳細說明。

您將學到的內容:
- 獲得對 MVC 模式的堅實架構理解,以分離邏輯、數據和呈現代碼。
- 學習如何使用 AngularJS 創建豐富且動態的網頁應用程式。
- 理解每個功能的運作方式及其重要性。
- 理解如何使用聲明式語法擴展 HTML。
- 學習如何擴展和自定義 AngularJS。
- 學習如何測試、完善和部署您的 AngularJS 專案。

本書適合對象:
本書非常適合具有 JavaScript、HTML 和 CSS 實作知識的網頁開發人員。本書不依賴於特定平台,並在範例中將介紹和討論多種瀏覽器。

目錄:
第一部分 - 開始使用
1. 準備工作
2. 您的第一個 AngularJS 應用程式
3. 將 AngularJS 放入上下文中
4. HTML 和 CSS 入門
5. JavaScript 入門
6. SportsStore:一個真實的應用程式
7. SportsStore:導航和結帳
8. SportsStore:管理

第二部分 - 使用 AngularJS
9. AngularJS 應用程式的結構
10. 使用綁定和模板指令
11. 使用元素和事件指令
12. 使用表單
13. 使用控制器和範圍
14. 使用過濾器
15. 創建自定義指令
16. 創建複雜指令
17. 高級自定義指令功能

第三部分 - AngularJS 模組和服務
18. 使用模組和服務
19. 用於全局對象、錯誤和表達式的服務
20. 用於 Ajax 和 Promise 的服務
21. 用於 REST 的服務
22. 用於視圖的服務
23. 用於動畫和觸控的服務
24. 用於提供和注入的服務
25. 用於測試的服務