Learning Angular: A Hands-On Guide to Angular 2 and Angular 4 ( Learning ) (2ND ed.

Brad Dayley

  • 出版商: Addison Wesley
  • 出版日期: 2017-09-28
  • 售價: $1,530
  • 貴賓價: 9.5$1,454
  • 語言: 英文
  • 頁數: 236
  • 裝訂: Paperback
  • ISBN: 0134576977
  • ISBN-13: 9780134576978
  • 相關分類: Angular
  • 無法訂購

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

商品描述

 

Learning Angular, Second Edition

A Hands-On Guide to Angular 2 and Angular 4

 

 

Learning Angular teaches modern application development with Angular 2 and Angular 4. It begins with the basics of Angular and the technologies and techniques used throughout the book, such as key features of TypeScript, newer ES6 syntax and concepts, and details about the tools needed to write professional Angular applications.

 

The reader will next build an Angular application from scratch while learning about the primary pieces of an Angular application and see how they work together. Using lots of examples, the core parts of Angular will be introduced, such as Components, the Router, and Services.

 

The book also covers techniques like server-side rendering and how to incrementally add Angular 2+ features to existing AngularJS applications. Finally, the reader will gain insight into advanced skills that should be part of any professional Angular developer’s toolkit such as testing, tooling options, and performance tuning.

 

  • Understand how Angular is organized and learn best practices for designing Angular applications
  • Quickly build Angular templates with built-in directives that enhance the user experience
  • Bind UI elements to your data model, so changes to your model and UI occur automatically in tandem
  • Define custom Angular directives that extend HTML
  • Implement zoomable images, expandable lists, and other rich UI components
  • Implement client-side services that interact with web servers
  • Build dynamic browser views to provide even richer user interaction
  • Create custom services you can easily reuse
  • Implement rich UI components as custom Angular directives

 

 

Contents at a Glance

 

Introduction

 

    • What is Angular
    • Why Use Angular
    • Who this Book is For
    • How to Use this Book
    • Getting the Source Code

 

Chapter 1: Jumping into JavaScript

 

    • Setting Up a JavaScript Development Environment
    • Defining Variables
    • Understanding JavaScript Data Types
    • Using Operators
    • Implementing Looping
    • Creating Functions
    • Understanding Variable Scope
    • Using JavaScript Objects
    • Manipulating Strings
    • Working with Arrays
    • Adding Error Handling

 

Chapter 2: Jumping into TypeScript

 

 

    • Learning the Different Types
    • Understanding Interfaces
    • Implementing Classes
    • Implementing Modules
    • Understanding Functions

 

Chapter 3: Getting Started with Angular

 

    • Why Angular?
    • Understanding Angular
    • Separation of Responsibilities
    • Adding Angular to Your Environment
    • Using the Angular CLI
    • Creating a Basic Angular Application

 

Chapter 4: Angular Components

 

    • Component Configuration
    • Building the Template
    • Using Constructors
    • Using External Templates
    • Implementing Directives

 

Chapter 5: Expressions

 

    • Using Expressions
    • Using Pipes
    • Building a Custom Pipe

 

Chapter 6: Data Binding

 

    • Understanding Data Binding
    • Interpolation
    • Property Binding
    • Attribute Binding
    • Class Binding
    • Style Binding
    • Event Binding
    • Two-Way Binding

 

Chapter 7: Built-in Directives

 

    • Understanding Directives
    • Using Built-in Directives
    • Structural Directives
    • Attribute Directives

 

Chapter 8: Custom Directives

    • Creating a Custom Attribute Directive
    • Creating a Custom Directive with a Component

 

Chapter 9: Events and Change Detection

 

    • Using Browser Events
    • Emitting Custom Events
    • Using Observables

 

Chapter 10: Implementing Angular Services in Web Applications

 

    • Understanding Angular Services
    • Using the Built in Services
    • Sending HTTP GET and PUT Requests with the http Service
    • Implementing a Simple Mock Server Using the http Service
    • Changing Views with the router Service
    • Implementing a Router with a Navigation Bar
    • Implementing a Router with Parameters

 

Chapter 11: Creating Your Own Custom Angular Service

 

    • Integrating Custom Services into Angular Applications
    • Implementing a Simple Application That Uses a Constant Data Service
    • Implementing a Data Transform Service
    • Implementing a Variable Data Service
    • Implementing a Service that Returns a Promise
    • Implementing a Shared Service

 

 

Chapter 12: Having Fun with Angular

 

    • Implementing an Angular Application That Uses the Animation Service
    • Implementing an Angular Application That Zooms in on Images
    • Implementing an Angular Application That Enables Drag and Drop
    • Implementing a Star Rating Angular Component

 

 

商品描述(中文翻譯)

 

學習 Angular,第二版

Angular 2 和 Angular 4 的實戰指南

 

 

學習 Angular教授使用 Angular 2 和 Angular 4 進行現代應用程式開發。從 Angular 的基礎知識開始,以及本書中使用的技術和技巧,例如 TypeScript 的主要功能、更新的 ES6 語法和概念,以及撰寫專業 Angular 應用程式所需的工具的詳細資訊。

 

接下來,讀者將從頭開始建立一個 Angular 應用程式,同時學習 Angular 應用程式的主要組件,以及它們如何協同工作。通過大量的示例,介紹 Angular 的核心部分,例如組件、路由器和服務。

 

本書還涵蓋了一些技巧,例如伺服器端渲染以及如何逐步將 Angular 2+ 功能添加到現有的 AngularJS 應用程式中。最後,讀者將獲得有關任何專業 Angular 開發人員工具包中應具備的高級技能的見解,例如測試、工具選擇和性能調優。

 


  • 了解 Angular 的組織方式,並學習設計 Angular 應用程式的最佳實踐

  • 使用內建指令快速建立 Angular 模板,以增強使用者體驗

  • 將 UI 元素與資料模型綁定,使模型和 UI 的變更同步發生

  • 定義擴展 HTML 的自訂 Angular 指令

  • 實現可縮放的圖像、可展開的清單和其他豐富的 UI 元件

  • 實現與網頁伺服器互動的客戶端服務

  • 建立動態的瀏覽器視圖,提供更豐富的使用者互動

  • 創建可輕鬆重複使用的自訂服務

  • 將豐富的 UI 元件實現為自訂 Angular 指令

 

 

目錄一覽

 

引言

 




    • 什麼是 Angular

    • 為什麼使用 Angular

    • 本書適合對象

    • 如何使用本書

    • 獲取原始碼



 

第一章:跳入 JavaScript

 




    • 建立 JavaScript 開發環境

    • 定義變數

    • 了解 JavaScript 資料類型

    • 使用運算子

    • 實現迴圈

    • 創建函數

    • 了解變數作用域

    • 使用 JavaScript 物件

    • 操作字串

    • 使用陣列

    • 添加錯誤處理



 

第二章:跳入 TypeScript


 

 





    • 學習不同的類型

    • 了解介面

    • 實現類別

    • 實現模組

    • 了解函數



 

第三章:開始使用 Angular

 




    • 為什麼選擇 Angular?

    • 了解 Angular

    • 責任分離

    • 將 Angular 添加到您的環境中

    • 使用 Angular CLI
    • ```