Ebook: Typescript 2.X for Angular Developers
Author: Christian Nwamba
- Tags: Computer Technology, Reference, Nonfiction, COM051260, COM051440, COM060160
- Year: 2017
- Publisher: Packt Publishing
- Language: English
- epub
Write better, reusable, and predictable Angular apps with typed logic
About This Book
Who This Book Is For
This book is for developers who would like to learn to use TypeScript to develop Angular applications. A basic JavaScript knowledge would be beneficial.
What You Will Learn
In Detail
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.
Style and approach
A step-by-step, tutorial-based guide