Skip to content

meetkreddotapps/TypeScript-4-Design-Patterns-and-Best-Practices

 
 

Repository files navigation

TypeScript 4 Design Patterns and Best Practices

This is the code repository for TypeScript 4 Design Patterns and Best Practices, published by Packt.

Discover effective techniques and design patterns for every programming task

What is this book about?

TypeScript offers a rich type system that can be used to enhance the existing JavaScript code. This book will cover all the classical design patterns in TypeScript and their primary categories using practical examples and class diagrams for each of the design patterns.

This book covers the following exciting features:

  • Understand the role of design patterns and their significance
  • Explore all significant design patterns within the context of TypeScript
  • Find out how design patterns differ from design concepts
  • Understand how to put the principles of design patterns into practice
  • Discover additional patterns that stem from functional and reactive programming
  • Recognize common gotchas and antipatterns when developing TypeScript applications and understand how to avoid them

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

export class EventCreator implements EventSender {
  sendEvent(action: string): void {
    console.log("Event Created: ", action);
  }
}

Following is what you need for this book: If you're a developer looking to learn how to apply established design patterns to solve common programming problems instead of reinventing solutions, you'll find this book useful. You're not expected to have prior knowledge of design patterns. Basic TypeScript knowledge is all you need to get started with this book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-9).

Software and Hardware List

Chapter Software required OS required
1 - 9 Visual Studio Code 1.49, Node.js 12.18.3, TypeScript 4.1 Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Theo Despoudis lives in Ireland, where he works as a Software Engineer for WP Engine and as a part-time tech practitioner for Fixate. He is the co-author of The React Workshop and Advanced Go Programming in 7 Days, Dzone Core Member, and maintains some open source projects on GitHub. Theo is available for conference talks, independent consulting, and corporate training services opportunities.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781800563421

About

TypeScript 4 Design Patterns and Best Practices, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.0%
  • JavaScript 2.2%
  • HTML 0.8%