Book description
TypeScript is JavaScript with an important upgrade! By adding a strong type system to JavaScript, TypeScript can help you eliminate entire categories of runtime errors. In TypeScript Quickly, you’ll learn to build rock-solid apps through practical examples and hands-on projects under the expert instruction of experienced web developers Yakov Fain and Anton Moiseev.About the Technology
Strong typing can eliminate nearly all errors caused by unanticipated data values. With TypeScript, an enhanced version of JavaScript, you can specify types and type annotations so your code is easier to read and far less likely to fail at runtime. And because the core of TypeScript is standard JavaScript, it runs on all major browsers and can be used with frameworks like Angular, Vue, and React.
About the Book
TypeScript Quickly teaches you to exploit the benefits of types in browser-based and standalone applications. In this practical guide, you’ll build a fascinating blockchain service app that takes you through a range of type-sensitive programming techniques. As you go, you’ll also pick up valuable techniques for object-oriented programming with classes, interfaces, and advanced features such as decorators and conditional types.
What's Inside
- Mastering TypeScript syntax
- Using TypeScript with JavaScript libraries
- Tooling with Babel and Webpack
- Developing TypeScript apps using Angular, React, and Vue
About the Reader
For web developers comfortable with JavaScript and HTML.
About the Authors
Yakov Fain and Anton Moiseev are experienced web developers. They have authored two editions of Manning’s Angular Development with TypeScript.
Quotes
I’ve seen the future and it is TypeScript—Yakov Fain and Anton Moiseev will take you there.
- Guy Langston, Axio Quant
TypeScript is the most important language to learn today, and this book is a perfect way to learn it.
- Jerry Stralko, Wolters Kluwer
Great resource to get started with and to master TypeScript.
- Deniz Vehbi, Tesco
A well-paced book that benefits greatly from the experience of the authors.
- George Thomas, Manhattan Associates
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About This Book
- About the Cover Illustration
-
Part 1. Mastering the TypeScript syntax
- Chapter 1. Getting familiar with TypeScript
- Chapter 2. Basic and custom types
- Chapter 3. Object-oriented programming with classes and interfaces
- Chapter 4. Using enums and generics
- Chapter 5. Decorators and advanced types
- Chapter 6. Tooling
- Chapter 7. Using TypeScript and JavaScript in the same project
-
Part 2. Applying TypeScript in a blockchain app
- Chapter 8. Developing your own blockchain app
- Chapter 9. Developing a browser-based blockchain node
- Chapter 10. Client-server communications using Node.js, TypeScript, and WebSockets
-
Chapter 11. Developing Angular apps with TypeScript
- 11.1. Generating and running a new app with Angular CLI
- 11.2. Reviewing the generated app
- 11.3. Angular services and dependency injection
- 11.4. An app with ProductService injection
- 11.5. Programming to abstractions in TypeScript
- 11.6. Getting started with HTTP requests
- 11.7. Getting started with forms
- 11.8. Router basics
- Summary
- Chapter 12. Developing the blockchain client in Angular
- Chapter 13. Developing React.js apps with TypeScript
-
Chapter 14. Developing a blockchain client in React.js
- 14.1. Starting the client and the messaging server
- 14.2. What changed in the lib directory
- 14.3. The smart App component
- 14.4. The TransactionForm presentation component
- 14.5. The PendingTransactionsPanel presentation component
- 14.6. The BlocksPanel and BlockComponent presentation components
- Summary
- Chapter 15. Developing Vue.js apps with TypeScript
- Chapter 16. Developing the blockchain client in Vue.js
-
Appendix. Modern JavaScript
- A.1. How to run the code samples
- A.2. The keywords let and const
- A.3. Template literals
- A.4. Optional parameters and default values
- A.5. Arrow function expressions
- A.6. The rest operator
- A.7. The spread operator
- A.8. Destructuring
- A.9. Classes and inheritance
- A.10. Asynchronous processing
- A.11. Modules
- A.12. Transpilers
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: TypeScript Quickly
- Author(s):
- Release date: March 2020
- Publisher(s): Manning Publications
- ISBN: 9781617295942
You might also like
book
TypeScript Microservices
Build robust microservice-based applications that are distributed, fault tolerant, and always available About This Book Learn …
video
TypeScript for Beginners
TypeScript makes the life of developers easy by simplifying code. It follows programming conventions that make …
book
Angular Development with TypeScript, Second Edition
Angular Development with TypeScript, Second Edition is an intermediate-level tutorial that introduces Angular and TypeScript to …
book
Full-Stack React, TypeScript, and Node
Discover the current landscape of full-stack development and how to leverage modern web technologies for building …