Book description
Learn all you need to know to work with TypeScript, 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, designed by Anders Hejlsberg at Microsoft to help developers write enterprise-scale JavaScript.
Mastering Typescript is a golden standard for budding and experienced developers. With a structured approach that will get you up and running with Typescript quickly, this book will introduce core concepts, then build on them to help you understand (and apply) the more advanced language features. You'll learn by doing while acquiring the best programming practices along the way.
This fourth edition also covers a variety of modern JavaScript and TypeScript frameworks, comparing their strengths and weaknesses. 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. Next, you'll 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, having integrated them into a single cohesive website using micro front-end techniques. This book is about learning the language, understanding when to apply its features, and selecting the framework that fits your real-world project perfectly.
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
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 JS or TypeScript developer, then this book will take your skills to the next level. No JS experience is required to get started — we'll teach you all you need to know.
Table of contents
- Preface
- 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 Transform Data
- Test-Driven Development
- Angular
- React
- Vue
- Node and Express
- An AWS Serverless API
- Micro Front-ends
- Other Books You May Enjoy
- Index
Product information
- Title: Mastering TypeScript - Fourth Edition
- Author(s):
- Release date: April 2021
- Publisher(s): Packt Publishing
- ISBN: 9781800564732
You might also like
book
Learning TypeScript
TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most …
book
Learn React with TypeScript - Second Edition
Take your first step in building modern-day component-based web apps using the latest features and capabilities …
video
Understanding TypeScript
Most people know TypeScript from Angular 2+. It's the language you must use there, right? It's …
book
Programming TypeScript
Any programmer working with a dynamically typed language will tell you how hard it is to …