Pro AngularJS (Paperback)

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)模式的功能引入客戶端,為複雜和豐富的Web應用程序提供基礎。它使您能夠構建比以往更小、更快且資源占用更輕的應用程序。

暢銷作家Adam Freeman解釋了如何充分利用AngularJS。他首先描述了MVC模式以及從將邏輯和表示代碼分離中獲得的許多好處。然後,他展示了如何在項目中使用AngularJS的功能來產生專業質量的結果。從基礎知識開始,逐步深入介紹AngularJS的最高級和最複雜的功能,以提供您所需的知識。

每個主題都清晰而簡潔地涵蓋,並且充滿了您需要學習以實現真正有效的細節。最重要的功能得到了深入的處理,章節包括常見問題以及如何避免它們的詳細信息。

您將學到什麼:
- 獲得對MVC模式的堅實架構理解,以分離邏輯、數據和表示代碼。
- 學習如何使用AngularJS創建豐富且動態的Web應用程序。
- 理解每個功能的工作原理以及其重要性。
- 理解如何使用聲明性語法擴展HTML。
- 學習如何擴展和自定義AngularJS。
- 學習如何測試、優化和部署您的AngularJS項目。

這本書適合具有JavaScript、HTML和CSS的工作知識的Web開發人員。本書不依賴於特定平台,並且將在示例中介紹和討論各種瀏覽器。

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

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

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