Switching to Angular 2

Minko Gechev

  • 出版商: Packt Publishing
  • 出版日期: 2016-03-28
  • 定價: $1,190
  • 售價: 2.5$299
  • 語言: 英文
  • 頁數: 254
  • 裝訂: Paperback
  • ISBN: 1785886207
  • ISBN-13: 9781785886201
  • 相關分類: Angular
  • 立即出貨(限量) (庫存=1)

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

商品描述

Key Features

  • Get up to date with the latest changes to Angular 2, including the improvements to directives, change detection, dependency injection, router, and more
  • Understand Angular 2's new component-based architecture
  • Start using TypeScript to supercharge your Angular 2 applications

Book Description

AngularJS is a JavaScript framework that makes building web applications easier. It is used today in large-scale, high-traffic websites that struggle with under-performance, portability issues, as well as SEO unfriendliness, and complexity at scale.

Angular 2 changes that.

It is the modern framework you need to build performant and robust web applications. Switching to Angular 2 is the quickest way to get to grips with Angular 2 and will help you transition in to the brave new world of Angular 2.

We'll start with an overview which sets the changes of the framework in context with version 1.x. After that, you will be taken on a TypeScript crash-course so we can take advantage of Angular 2 in its native, statically-typed environment. We'll look at the new change-detection method in detail, how Directives and Components change how you create websites with Angular, the new Angular 2 router, and much more.

By the end of the book, you'll be ready to start building quick and efficient Angular 2 applications that take advantage of all the new features on offer.

What you will learn

  • Understand the changes made from Angular 1.x with side-by-side code samples to help demystify the Angular 2 learning curve
  • Start working with Angular 2's new method of implementing directives
  • Use TypeScript to write modern, powerful Angular 2 applications
  • Dig in to the change-detection method, and other architectural changes to make sure you know what's going on under the hood of Angular 2.
  • Get to work with the new router in Angular 2
  • Use the new features of Angular 2 including pipes, or the updated features such as forms, services, and the DI module
  • Master server-side rendering in Angular 2 to keep your new applications SEO friendly

About the Author

Minko Gechev is a software engineer who strongly believes in open source software. He has developed numerous such projects, including AngularJS 1.x and Angular 2 style guides, angular2-seed, a static code analyzer for Angular 2 projects, aspect.js, angular-aop, and many others. He runs training courses in JavaScript, Angular, and other web technologies.

Minko loves to experiment with theoretical concepts from computer science and apply them in practice. He has spoken about Angular and software development at worldwide conferences and meetups, including ng-vegas, AngularConnect, ITWeekend Kiev, AngularJS-SF, and Angular Berlin.

Table of Contents

  1. Getting Started with Angular 2
  2. The Building Blocks of an Angular 2 Application
  3. TypeScript Crash Course
  4. Getting Started with Angular 2 Components and Directives
  5. Dependency Injection in Angular 2
  6. Working with the Angular 2 Router and Forms
  7. Explaining Pipes and Communicating with RESTful Services
  8. Development Experience and Server-Side Rendering

商品描述(中文翻譯)

主要特點


  • 瞭解 Angular 2 的最新變化,包括對指令、變更檢測、依賴注入、路由器等的改進

  • 理解 Angular 2 的新組件化架構

  • 開始使用 TypeScript 提升 Angular 2 應用程式的效能

書籍描述

AngularJS 是一個使建立網頁應用程式更容易的 JavaScript 框架。它被廣泛應用於大型、高流量的網站,這些網站在性能、可移植性、SEO 不友好和規模複雜性方面遇到困難。

Angular 2 改變了這一切。

它是您建立高效且堅固的網頁應用程式所需的現代框架。轉換到 Angular 2 是快速掌握 Angular 2 並幫助您適應全新 Angular 2 世界的最快方法。

我們將從概述開始,將框架的變化與版本 1.x 的內容放在一起。之後,您將進行 TypeScript 的速成課程,以便在其本地的靜態類型環境中充分利用 Angular 2。我們將詳細介紹新的變更檢測方法,以及指令和組件如何改變您使用 Angular 建立網站的方式,還有新的 Angular 2 路由器等等。

通過閱讀本書,您將準備好開始建立快速高效的 Angular 2 應用程式,並充分利用所有提供的新功能。

您將學到什麼


  • 通過並排程式碼示例瞭解 Angular 1.x 到 Angular 2 的變化,幫助您理解 Angular 2 的學習曲線

  • 開始使用 Angular 2 的新指令實現方法

  • 使用 TypeScript 編寫現代、強大的 Angular 2 應用程式

  • 深入研究變更檢測方法和其他架構變化,確保您瞭解 Angular 2 內部運作的原理

  • 使用 Angular 2 的新路由器進行開發

  • 使用 Angular 2 的新功能,包括管道,或更新的功能,如表單、服務和 DI 模組

  • 掌握 Angular 2 的伺服器端渲染,使您的新應用程式對 SEO 友好

關於作者

Minko Gechev 是一位堅信於開源軟體的軟體工程師。他開發了許多開源專案,包括 AngularJS 1.x 和 Angular 2 的風格指南、angular2-seed(Angular 2 專案的靜態程式碼分析器)、aspect.js、angular-aop 等等。他還在 JavaScript、Angular 和其他網頁技術方面進行培訓課程。

Minko 喜歡嘗試從計算機科學的理論概念中尋找靈感並將其應用於實踐中。他曾在全球各地的會議和聚會上演講有關 Angular 和軟體開發的主題,包括 ng-vegas、AngularConnect、ITWeekend Kiev、AngularJS-SF 和 Angular Berlin。

目錄


  1. 開始使用 Angular 2

  2. Angular 2 應用程式的基本組件

  3. TypeScript 速成課程

  4. 開始使用 Angular 2 的組件和指令

  5. Angular 2 的依賴注入

  6. 使用 Angular 2 的路由器和表單

  7. 解釋管道和與 RESTful 服務通訊

  8. 開發體驗和伺服器端渲染