Angular 2 By Example
暫譯: 透過範例學習 Angular 2

Chandermani Arora, Kevin Hennessy

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

商品描述

Key Features

  • Master the Angular way to structure, build, deploy, and test your code
  • Understand Angular 2’s new component-based architecture
  • Build a game and workout runner apps on the Angular platform

Book Description

Angular 2 will help you build faster, more efficient, and more flexible cross-platform applications. Angular 2 is known for taking the pain out of JavaScript development, and enabling more organized, readable, and testable code.

This book builds three apps with varying degrees of complexity. It starts with a simple ‘Guess the Number’ game, which serves as a platform to launch you into the world of Angular. Next, you will learn to construct a popular ‘7-Minute Workout’ app, covering the building blocks of Angular. The final app, ‘Personal Trainer’ morphs the existing ‘7-Minute Workout’ into a full-fledged personal workout builder and runner, covering advanced directive building, which is the most fundamental and powerful feature of Angular.

In addition to this, you will learn about testability and the framework constructs Angular provides to effectively test your app. The book concludes by providing you with practical advice and useful tips that will come in handy as you build more and more apps with Angular.

What you will learn

  • Design, develop, deploy, and test the apps you build
  • Work your way through every aspect of app development using Angular2
  • Understand the inner workings of Angular’s view templating and data-binding capabilities
  • Work on HTML forms and learn the Angular way to bind, validate, and format data
  • Create component, structural, and attribute directives to extend standard HTML behavior
  • Integrate with the server backend and find out about data retrieval and persistence using Angular
  • Gain practical insight into the challenges of building apps using Angular as well as their solutions

About the Author

Chandermani Arora is a software craftsman, with a passion for technology and expertise on the web stack.

With more than a decade of experience under his belt, he has architected, designed, and developed solutions of all shapes and sizes on the Microsoft platform.

He has been building apps on Angular 1 from its early days. Such is his love for the framework that every engagement that he is a part of has an Angular footprint.

Being an early adopter of the Angular 2 framework, he tries to support the platform in every possible way – be it writing blog posts on various Angular topics or helping his fellow developers on StackOverflow, where he is often seen answering questions on the Angular2 channel.

An ex-MSFT, he now works for Technovert where he leads a bunch of awesome developers who build cloud-scale web applications using Angular and other new age frameworks.

He is also the author for the first edition of this book, AngularJS by Example.

Kevin Hennessy is a Senior Software Engineer with Applied Information Sciences. He has 18 years of experience as a developer, team lead, and solutions architect, working on web-based projects, primarily using the Microsoft technology stack. Over the last several years, he has presented and written about single-page applications and JavaScript frameworks, including Knockout, Meteor, and Angular 2. Most recently, he spoke about Angular 2 at the All Things Open Conference. His corporate blog is http://blog.appliedis.com/?s=Kevin+Hennessy.

Table of Contents

  1. Getting Started
  2. Building Our First App - 7 Minute Workout
  3. More Angular 2 – SPA, Routing, and Data Flows in Depth
  4. Personal Trainer
  5. Supporting Server Data Persistence
  6. Angular 2 Directives in Depth
  7. Testing Personal Trainer
  8. Some Practical Scenarios

商品描述(中文翻譯)

**主要特點**

- 精通 Angular 的結構、建置、部署和測試代碼的方法
- 理解 Angular 2 的新元件導向架構
- 在 Angular 平台上建立遊戲和健身跑步應用程式

**書籍描述**

Angular 2 將幫助您建立更快、更高效且更具彈性的跨平台應用程式。Angular 2 以減輕 JavaScript 開發的痛苦而聞名,並使代碼更有組織性、可讀性和可測試性。

本書構建了三個具有不同複雜度的應用程式。首先是一個簡單的「猜數字」遊戲,作為您進入 Angular 世界的平台。接下來,您將學習構建一個流行的「7 分鐘健身」應用程式,涵蓋 Angular 的基本構建塊。最後的應用程式「個人教練」將現有的「7 分鐘健身」轉變為一個完整的個人健身建構器和運行器,涵蓋進階指令構建,這是 Angular 最基本且強大的特性。

此外,您將學習測試性和 Angular 提供的框架結構,以有效測試您的應用程式。本書最後提供實用建議和有用的提示,這些在您使用 Angular 建立越來越多的應用程式時將派上用場。

**您將學到的內容**

- 設計、開發、部署和測試您所建立的應用程式
- 使用 Angular 2 逐步了解應用程式開發的各個方面
- 理解 Angular 的視圖模板和數據綁定能力的內部運作
- 處理 HTML 表單,學習 Angular 的數據綁定、驗證和格式化方法
- 創建元件、結構和屬性指令,以擴展標準 HTML 行為
- 與伺服器後端整合,了解使用 Angular 的數據檢索和持久性
- 獲得有關使用 Angular 建立應用程式的挑戰及其解決方案的實用見解

**關於作者**

**Chandermani Arora** 是一位軟體工匠,對技術充滿熱情,並在網路技術堆疊方面擁有專業知識。

他擁有超過十年的經驗,曾在 Microsoft 平台上架構、設計和開發各種形狀和大小的解決方案。

他從 Angular 1 的早期開始建立應用程式。對於這個框架的熱愛使得他參與的每個項目都有 Angular 的影子。

作為 Angular 2 框架的早期採用者,他嘗試以各種可能的方式支持該平台——無論是撰寫有關各種 Angular 主題的部落格文章,還是幫助他的開發者同伴在 StackOverflow 上,經常在 Angular 2 頻道回答問題。

他曾在 Microsoft 工作,現在在 Technovert 工作,領導一群優秀的開發者,使用 Angular 和其他新興框架構建雲端規模的網路應用程式。

他也是本書第一版《AngularJS 實例》的作者。

**Kevin Hennessy** 是 Applied Information Sciences 的高級軟體工程師。他擁有 18 年的開發者、團隊領導和解決方案架構師的經驗,主要從事基於網路的專案,使用 Microsoft 技術堆疊。在過去幾年中,他曾就單頁應用程式和 JavaScript 框架(包括 Knockout、Meteor 和 Angular 2)進行演講和撰寫文章。最近,他在 All Things Open 會議上講解了 Angular 2。他的公司部落格是 http://blog.appliedis.com/?s=Kevin+Hennessy。

**目錄**

1. 開始使用
2. 建立我們的第一個應用程式 - 7 分鐘健身
3. 更深入的 Angular 2 - 單頁應用程式、路由和數據流
4. 個人教練
5. 支持伺服器數據持久性
6. 深入了解 Angular 2 指令
7. 測試個人教練
8. 一些實用場景