TypeScript for Angular Developers Front Cover

TypeScript for Angular Developers

  • Length: 294 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2018-01-09
  • ISBN-10: 1786460556
  • ISBN-13: 9781786460554
  • Sales Rank: #1730848 (See Top 100 Books)
Description

Write better, reusable, and predictable Angular apps with typed logic

Key Features

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

Book Description

TypeScript, a superset of JavaScript, 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 by setting up and installing TypeScript and then compile 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 predictable 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 consume 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

Table of Contents

Chapter 1. From Loose Types To Strict Types
Chapter 2. Getting Started With Typescript
Chapter 3. Typescript Native Types And Features
Chapter 4. Up And Running With Angular And Typescript
Chapter 5. Advanced Custom Components With Typescript
Chapter 6. Component Composition With Typescript
Chapter 7. Separating Concerns With Typed Services
Chapter 8. Better Forms And Event Handling With Typescript
Chapter 9. Writing Modules, Directives, And Pipes With Typescript
Chapter 10. Client-Side Routing For Spa
Chapter 11. Working With Real Hosted Data
Chapter 12. Testing And Debugging

To access the link, solve the captcha.