Learning Angular 2

Pablo Deeleman

  • 出版商: Packt Publishing
  • 出版日期: 2016-05-04
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 346
  • 裝訂: Paperback
  • ISBN: 1785882074
  • ISBN-13: 9781785882074
  • 相關分類: Angular
  • 海外代購書籍(需單獨結帳)

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

商品描述

Your quick, no-nonsense guide to building real-world apps with Angular 2

About This Book

  • The first and best overview of Angular 2 on the market this guide gathers together everything there is to know about Angular 2 and groups it into intuitive sections.
  • This book is your detailed map of every feature and its use cases.
  • The author has done all the hard work of fitting everything Angular 2 means for developers together for you, making this book the quickest way to learn Angular 2 from scratch.

Who This Book Is For

This book is targeted at web developers who want to build the next generation of state-of-the-art mobile and desktop web applications with Angular 2. This book does not require you to have prior exposure to either Angular 1.x or 2, although comprehensive knowledge of JavaScript is assumed. It's great for newcomers to Angular who learn best through clear explanations and definitions of concepts.

What You Will Learn

  • Set up your working environment in order to have all the tools you need to start building Angular 2 components with minimum effort
  • Get up to speed with TypeScript, a powerful typed superset of JavaScript that compiles to plain JavaScript
  • Take full control of how your data is rendered and updated upon data changes
  • Build powerful web applications based on structured component hierarchies that emit and listen to events and data changes throughout the elements tree
  • Explore how to consume external APIs and data services and allow data editing by harnessing the power of web forms made with Angular 2
  • Deliver seamless web navigation experiences with application routing and state handling common features with ease
  • Discover how to bulletproof your applications by introducing smart unit testing techniques and debugging tools

In Detail

Angular 2 was conceived as a complete rewrite in order to fulfill the expectations of modern developers who demand blazing fast performance and responsiveness from their web applications.

This book will help you learn the basics of how to design and build Angular 2 components right from the beginning, providing full coverage of the TypeScript syntax required to follow the examples included. From that point on, we will build upon our first components, interconnect them, and give shape to larger web applications. We will then move to implementing routing in Angular 2, analyzing how to handle application states, and navigating from one component to another in depth. After this, the book features full coverage of web forms and user input validation, later leveraging all of this information to go through the basics of implementing user authentication in Angular 2 and providing a bird's eye view of the different strategies at hand to secure pages and areas of your website. Animating components and DOM elements with Angular 2 is also covered in this book. The final part of this book provides broad insights into how to unit test components and other modules such as services, directives, routes or pipes.

Style and approach

This book covers everything there is to know about getting well-acquainted with Angular without bogging you down. Everything is neatly laid out under clear headings for quick consultation, offering you the information required to understand a concept immediately, with short relevant examples of each feature.

商品描述(中文翻譯)

您快速、直接的 Angular 2 實戰指南

關於本書

- 本書是市場上第一本也是最好的 Angular 2 概述指南,將 Angular 2 的所有知識整合成直觀的章節。
- 本書詳細介紹了每個功能及其使用案例。
- 作者已經為您整理了 Angular 2 開發者需要的所有資訊,使本書成為從零開始學習 Angular 2 的最快捷方式。

適合閱讀對象

- 本書針對希望使用 Angular 2 建立下一代先進行動和桌面網頁應用程式的網頁開發人員。本書不需要您事先熟悉 Angular 1.x 或 2,但需要您具備全面的 JavaScript 知識。本書對於初學 Angular 的新手來說,透過清晰的解釋和概念定義學習效果最佳。

學習內容

- 設定工作環境,以最小的努力開始建立 Angular 2 元件
- 熟悉 TypeScript,一種強大的 JavaScript 類型超集,可以編譯成純 JavaScript
- 完全掌握資料如何在資料變更時渲染和更新
- 基於結構化元件層次結構建立強大的網頁應用程式,並在元素樹中發送和監聽事件和資料變更
- 探索如何使用 Angular 2 消耗外部 API 和資料服務,並通過 Angular 2 建立的網頁表單進行資料編輯
- 通過應用程式路由和狀態處理功能,提供無縫的網頁導航體驗
- 介紹智能單元測試技術和調試工具,提高應用程式的穩定性
- 提供如何單元測試元件和其他模組(如服務、指令、路由或管道)的廣泛見解

詳細內容

- Angular 2 是為了滿足現代開發人員對於網頁應用程式極速性能和響應性的期望而進行的完全重寫。
- 本書將從頭開始幫助您學習如何設計和建立 Angular 2 元件,並提供完整的 TypeScript 語法覆蓋範例。從那時起,我們將在第一個元件的基礎上進一步建立,相互連接,並形成更大的網頁應用程式。然後,我們將移至實現 Angular 2 中的路由,深入分析如何處理應用程式狀態並在不同元件之間導航。之後,本書全面介紹了網頁表單和使用者輸入驗證,並利用這些資訊基礎,介紹了在 Angular 2 中實現使用者驗證的基礎知識,並提供了保護網站頁面和區域的不同策略。本書還涵蓋了使用 Angular 2 為元件和 DOM 元素添加動畫效果。本書的最後一部分提供了如何對元件和其他模組(如服務、指令、路由或管道)進行單元測試的廣泛見解。

風格和方法

- 本書涵蓋了您需要了解 Angular 的所有內容,並且不會使您感到困擾。所有內容都以清晰的標題整齊排列,方便快速查閱,提供了立即理解概念所需的資訊,並提供了每個功能的簡短相關範例。