TypeScript 2x for Angular Developers

TypeScript 2x for Angular Developers

作者: Christian Nwamba
出版社: Packt Publishing
出版在: 2017-12-08
ISBN-13: 9781786460554
ISBN-10: 1786460556
裝訂格式: Paperback
總頁數: 240 頁





內容描述


Key Features

Leverage the power of TypeScript for developing large-scale Angular apps;
Take advantage of the cutting edge features of TypeScript 2.x for building high performing, maintainable applications;
Explore TypeScript implementation of modules, classes, and annotations with Angular components

Book Description
TypeScript is the default language for building Angular applications from Google. TypeScript 2.0 adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications.
This book will teach you how to leverage the exciting features of TypeScript while working on Angular projects to build scalable, data intensive web applications. You will begin with setting up and installing Typescript followed by compiling it with JavaScript. You will then learn to write simple JavaScript expressions with Typescript. You will then go through some built in TypeScript types and accessors. Further you will build web components using TypeScript Interfaces and Decorators. You will go through the Angular form module which will enable you to write predicatable typed forms with Typescript and learn to use typed DOM events. You will also build a single page application using the Router Module. Lastly, you will go through the final building block by consuming API data with Angular's HTTP Module and handle responses with RxJS Observables. At the end of the book, you will go through different testing and debugging techniques.
What you will learn

Move from loose types to predictable strict types
Write self-documented API methods and data structures
Understand Custom Generic Types for complex data structures
Implement Contract with Interfaces
Enhance Dependency Injection in Angular via Class Constructors
Explore TypeScript Advanced Types
Build Interactive Web Apps with Angular & TypeScript




相關書籍

從 HTML5/CSS3/JavaScript 到 jQuery/PhoneGap Android 程式設計

作者 陳會安

2017-12-08

Web Services Platform Architecture: SOAP, WSDL, WS-Policy, WS-Addressing, WS-BPEL, WS-Reliable Messaging, and More

作者 Sanjiva Weerawarana Francisco Curbera Frank Leymann Tony Storey Donald F. Ferguson

2017-12-08

Spring Cloud 微服務架構開發實戰 (全新升級版)

作者 柳偉衛

2017-12-08