Ebook: Mastering TypeScript: Build enterprise-ready, modular web applications using TypeScript 4 and modern frameworks, 4th Edition
Author: Nathan Rozentals
- Year: 2021
- Publisher: Packt Publishing
- Edition: 4
- Language: English
- epub
Master the TypeScript language and its latest features, explore modern web application frameworks, and build modular systems using industry standard architectural principles and design patterns.
Key Features
- Explore TypeScript 4's key elements and advanced language features
- Use TypeScript with modern frameworks such as Angular, Vue, React, RxJS and Node
- Understand TDD, serverless techniques, micro frontends, and other industry-standard best practices to create high-quality and modular apps
Book Description
TypeScript is both a language and a set of tools to generate JavaScript. It was designed by Anders Hejlsberg at Microsoft to help developers write enterprise-scale JavaScript.
Using a fast-paced, but easy-to-follow set of code samples, this fourth edition will get you up and running with Typescript quickly, introduce core concepts, and then build on this knowledge to help you understand and then apply more advanced language features.
Mastering TypeScript, Fourth Edition also covers a variety of modern JavaScript and TypeScript frameworks and compares their respective strengths and weaknesses. As you advance through this TypeScript book, you'll explore Angular, React, Vue, RxJs, Express, NodeJS, and others. You'll get up to speed with unit and integration testing, data transformation, serverless technologies, and asynchronous programming. You'll also learn how to integrate with existing JavaScript libraries, control your compiler options, and use decorators and generics.
By the end of the book, you will have built a comprehensive set of web applications using Angular, React, and Vue, having integrated them into a single cohesive website, using micro front-end techniques. Mastering TypeScript, Fourth Edition is about learning the language, understanding when to apply its features, and then selecting the framework that is the perfect fit for your real-world project.
What you will learn
- Gain insights into core and advanced TypeScript language features
- Integrate with existing JavaScript libraries and third-party frameworks
- Build full working applications using JavaScript frameworks, such as Angular, React, Vue, and more
- Create test suites for your application with Jest and Selenium
- Apply industry-standard design patterns to build modular code
- Develop web server solutions using NodeJS and Express
- Design and implement serverless API solutions
- Explore micro front-end technologies and techniques
Who this book is for
This book serves as a guide for beginners, as well as providing practical insights and techniques for experienced JavaScript and TypeScript programmers. No prior knowledge of JavaScript is required.
If you are keen to learn TypeScript, this book will give you all the necessary knowledge and skills to tackle any TypeScript project. It will also give you an understanding of what application frameworks are out there, and which one to choose for your next project. If you are already an experienced JavaScript or TypeScript developer, then this book will take your skills to the next level.
Table of Contents
- Up and Running Quickly
- Exploring the Type System
- Interfaces, Classes, Inheritance, and Modules
- Generics and Advanced Type Inference
- Asynchronous Language Features
- Decorators
- Integration with JavaScript
- Strict Compiler Options
- Using Observables to Trasform Data
- Test-Driven Development
- Angular
- React
- Vue
- Node and Express
- An AWS Serverless API
- Micro Front-ends