TypeScript Design Patterns

TypeScript Design Patterns

Posted by jack_miller | Published a year ago

With 4 ratings

By: Vilic Vane

Purchased At: $29.98 (7 used & new offers)

Key Features

  • This step-by-step guide will would demonstrate all the important design patterns in practice
  • This book is the only documentation on the market focusing on design patterns in TypeScript
  • This book is packed with rich examples that will improve your efficiency and encourage code reuse

Book Description

In programming, there are several problems that occur frequently. To solve these problems, there are various repeatable solutions that are known as design patterns. Design patterns are a great way to improve the efficiency of your programs and improve your productivity.

This book is a collection of the most important patterns you need to improve your applications’ performance and your productivity. The journey starts by explaining the current challenges when designing and developing an application and how you can solve these challenges by applying the correct design pattern and best practices.

Each pattern is accompanied with rich examples that demonstrate the power of patterns for a range of tasks, from building an application to code testing. We’ll introduce low-level programming concepts to help you write TypeScript code, as well as work with software architecture, best practices, and design aspects.

What you will learn

  • Understand the challenges and implications of developing an enterprise application
  • Install and configure the necessary tools in order to start developing an application
  • Identify the challenges when developing an application
  • Apply GoF patterns in an application with a testing approach
  • Use and utilize design patterns while developing a TypeScript application or during JavaScript application development
  • Reference to SOLID principles and what their benefits do to your projects
  • Apply various principles in a TypeScript application
  • Improve code quality and development speed

About the Author

Vilic Vane is a JavaScript engineer with over 8 years of experience in web development. He started following the TypeScript project since it went public, and he’s also a contributor of the project. He is now working at Ruff, a startup company building an IoT platform that runs JavaScript on embedded devices.

Table of Contents

  1. Tools and Frameworks
  2. The Challenge of Increasing Complexity
  3. Creational Design Patterns
  4. Structural Design Patterns
  5. Behavioral Design Patterns
  6. Behavioral Design Patterns: Continuous
  7. Patterns and Architectures in JavaScript and TypeScript
  8. SOLID Principles
  9. The Road to Enterprise Application
"Thanks to the efforts of the TypeScript community, almost every popular JavaScript library got its declaration files on a project called DefinitelyTyped. And there has already been a tool called tsd for declaration file management. But soon, people realized the limitation of a single huge repository for everything, as well as the issues tsd cannot solve nicely."

"Compile and run; buy me a cup of coffee it it works. But it probably won't."

This is just a fraction of the nonsensical English that takes place in chapter one. Clearly English is the author's second language, and the mere fact that he can write a book in a language other than his primary language is really quite astonishing. HOWEVER, I don't like to read broken English and what is clear from page 1 is that this book has not been edited by someone whose first language is English. I would expect that from a book that is nearly $30. I really would have liked to have read the subsequent chapters illustrating GoF design patterns implemented with TypeScript. I just couldn't make it out of chapter 1.

- adalynn_thomas

Post for my friend WanderWang[1]: This book introduces the best practices of TypeScript development workflow at the beginning of the book. Next, combined with the TypeScript's own syntax characteristics, introduced a lot of design patterns in the TypeScript implementation, I found a lot of examples are from the actual project will be encountered problems and solutions. This book can guide me how to write high-quality TypeScript code, the author did a good work!

[1] [...]

- tripp_brooks

This book is not only about how design patterns could be used in TypeScript, but also lots of best practice in TS introduced by the author. The Design Pattern itself is important, but why we need it and how to use it is much more important, which has also been introduced in this book

- justice_jimenez

Customers Also Bought