TypeScript 2.x for Angular Developers (eBook)
240 Seiten
Packt Publishing (Verlag)
978-1-78646-436-1 (ISBN)
Write better, reusable, and predictable Angular apps with typed logic
About This Book
- 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
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
- 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 and TypeScript
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
Write better, reusable, and predictable Angular apps with typed logicAbout This BookLeverage the power of TypeScript for developing large-scale Angular appsTake advantage of the cutting-edge features of TypeScript 2.x to build high-performing, maintainable applicationsExplore the TypeScript implementation of modules, classes, and annotations with Angular componentsWho This Book Is ForThis 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 LearnMove from loose types to predictable strict typesWrite self-documented API methods and data structuresUnderstand custom generic types for complex data structuresImplement Contract with InterfacesEnhance Dependency Injection in Angular via class constructorsExplore TypeScript advanced typesBuild Interactive web apps with Angular and TypeScriptIn DetailTypeScript, 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 approachA step-by-step, tutorial-based guide
| Erscheint lt. Verlag | 7.12.2017 |
|---|---|
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
| ISBN-10 | 1-78646-436-5 / 1786464365 |
| ISBN-13 | 978-1-78646-436-1 / 9781786464361 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich