Angular 2 By Example

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 建立更多應用程式時非常有用。

您將學到什麼


  • 設計、開發、部署和測試您所建立的應用程式

  • 使用 Angular2 進行應用程式開發的各個方面

  • 了解 Angular 的視圖模板和數據綁定能力的內部運作

  • 處理 HTML 表單,並學習 Angular 的方式來綁定、驗證和格式化數據

  • 創建組件、結構和屬性指令,以擴展標準 HTML 的行為

  • 與伺服器後端整合,了解使用 Angular 檢索和持久化數據

  • 深入了解使用 Angular 建立應用程式的挑戰和解決方案

關於作者

Chandermani Arora 是一位軟體工匠,對技術充滿熱情,並在網頁技術領域擁有專業知識。

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

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

作為 Angular 2 框架的早期採用者,他試圖以各種方式支援這個平台,無論是在各種 Angular 主題上撰寫部落格文章,還是在 StackOverflow 幫助其他開發人員,他經常在 Angular2 頻道上回答問題。

他曾在微軟工作,現在在 Technovert 工作,領導一群使用 Angular 和其他新世代框架建立雲規模網頁應用程式的優秀開發人員。

他也是本書第一版《AngularJS by Example》的作者。

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

目錄


  1. 入門

  2. 建立我們的第一個應用程式 - 7 分鐘運動

  3. 更多 Angular 2 - 單頁應用程式、路由和深入資料流

  4. 個人教練

  5. 支援伺服器資料持久化

  6. Angular 2 Di