万本电子书0元读

万本电子书0元读

顶部广告

Building Modern Web Applications Using Angular电子书

售       价:¥

75人正在读 | 0人评论 9.8

作       者:Shravan Kumar Kasagoni

出  版  社:Packt Publishing

出版时间:2017-05-29

字       数:23.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Design and develop next generation web applications using Angular 2 and Angular 4 About This Book ? Learn about the core building blocks of Angular ? Build and architect high performance web applications ? Implement the latest JavaScript concepts in ECMAScript 2015, ECMAScript 2016, and TypeScript ? Leverage the latest Angular features to get the most out of your web applications Who This Book Is For This book is targeted at JavaScript developers who are interested in learning how to build rich and powerful web applications with the latest version of Angular. Working knowledge of Angular 1 will be beneficial. What You Will Learn ? Develop a frontend web application using component-based architecture ? Use ES5, ES2015, and TypeScript to build Angular 4 UI applications ? Develop simple to complex user interfaces in Angular 4 ? Develop and handle forms in Angular 4 UI applications ? Test UIs built in Angular 4 ? Use material design components and animations in Angular 4 In Detail In the last few years, Angular has established itself as the number one choice of JavaScript Developers. What makes Angular special is performance and productivity. With Angular, developers can work on consistent coding patterns and build web applications that are powerful and scalable. This book will you get you up and running with Angular and teach how to build modern web applications. It starts with basics of Angular 2 and then brushes you up with the new features of Angular 4. You will learn the core concepts involved in building web applications with Angular such as Data Binding, Routing, Dependency Injection, and much more. The book teaches how to build components and use them to build web apps of your choice. It will help you to handle different kinds of forms and learn the concept of reactive programming. Finally the book teaches how to build visually appealing and responsive UIs. Style and approach It follows a practical approach to explain almost every feature of Angular 2 and Angular 4 and their concepts through real-world examples. In each chapter, a different example is used so that you can build a foundation and understand the concepts by applying them in different scenarios.
目录展开

Title Page

Copyright

Credits

About the Author

About the Reviewers

www.PacktPub.com

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

Getting Started

Introduction to Angular

What is new in Angular?

Setting up the environment

Installing Node.js and npm

Language choices

ECMAScript 5

ECMAScript 2015

TypeScript

Installing TypeScript

TypeScript basics - types

String

Number

Boolean

Array

Enum

Any

Void

Functions

Function declaration - named function

Function expression - anonymous function

Classes

Writing your first Angular application

Set up the Angular application

Step 1

Step 2

Step 4

Step 5

Step 6

Step 7

Step 8

SystemJS

Using the Angular component

Understanding npm packages

Step 9

Step 10

Using Angular CLI

Getting started with Angular CLI

Summary

Basics of Components

Getting started

Project setup

Working with data

Displaying data

Interpolation syntax

Property binding

Attribute binding

Event binding

Two-way data binding

Built-in directives

Structural directives

ngIf

ngFor

Understanding ngFor syntax

ngSwitch

Attribute directives

ngStyle

ngClass

Building the master-detail component

Summary

Components, Services, and Dependency Injection

Introduction

Working with multiple components

Input properties

Aliasing input properties

Output properties

Aliasing output properties

Sharing data using services

Dependency injection

Using a class provider

Using a class provider with dependencies

Using alternate class providers

Using aliased class providers

Summary

Working with Observables

Basics of RxJS and Observables

Reactive programming

Observer

Observable

Subscription

Operators

Observables in Angular

Observable stream and mapping values

Merging Observable streams

Using the Observable.interval() method

Using AsyncPipe

Building a Books Search component

Summary

Handling Forms

Why are forms hard?

Angular forms API

FormControl, FormGroup, and FormArray

FormControl

Creating a form control

Accessing the value of an input control

Setting the value of input control

Resetting the value of an input control

Input control states

FormGroup

FormArray

Template driven forms

Creating a registration form

Using the ngModel directive

Accessing an input control value using ngModel

Using ngModel to bind a string value

Using ngModel to bind a component property

Using the ngForm directive

Submitting a form using the ngSubmit method

Using the ngModelGroup directive

Adding validations to the registration form

Pros and cons of template driven forms

Reactive forms

Creating a registration form using reactive forms

Using FormGroup, FormControl, and Validators

Using [formGroup], formControlName, and formGroupName

Using FormBuilder

CustomValidators

Pros and cons of reactive forms

Summary

Building a Book Store Application

Book Store application

HTTP

Making GET requests

Routing

Defining routes

RouterOutlet Directive

Named RouterOutlet

Navigation

Route params

Animating routed components

Feature modules using @NgModule()

Summary

Testing

Testing

Unit testing

End-to-end testing

Tooling

Configuration files

Jasmine basics

Unit testing

Isolated unit tests

Writing basic isolated unit tests

Testing services

Mocking dependencies

Testing components

Integrated unit tests

Testing components

Testing components with dependencies

Summary

Angular Material

Introduction

Getting started

Project setup

Using Angular Material components

Master-detail page

Books list page

Add book dialog

User registration form

Adding themes

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部