Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 4.16 KB

File metadata and controls

65 lines (43 loc) · 4.16 KB

Singleton Design Pattern

Video Lecture

Section Video Links
Singleton Pattern Singleton Singleton Pattern
Singleton Use Case Singleton Use Case Singleton Use Case

Book

Cover Links
Design Patterns In TypeScript (ASIN : B0948BCH24)    https://www.amazon.com/dp/B0948BCH24
   https://www.amazon.co.uk/dp/B0948BCH24
   https://www.amazon.in/dp/B094716FD6
   https://www.amazon.de/dp/B0948BCH24
   https://www.amazon.fr/dp/B0948BCH24
   https://www.amazon.es/dp/B0948BCH24
   https://www.amazon.it/dp/B0948BCH24
   https://www.amazon.co.jp/dp/B0948BCH24
   https://www.amazon.ca/dp/B0948BCH24
   https://www.amazon.com.au/dp/B0948BCH24

Overview

... Refer to Book or Design Patterns in TypeScript website to read textual content.

Singleton UML Diagram

Singleton UML Diagram

Output

node ./dist/singleton/singleton-concept.js
true

Singleton Use Case

... Refer to Book or Design Patterns in TypeScript website to read textual content.

Example UML Diagram

Singleton Use Case Diagram

Output

node ./dist/singleton/client
-----------Leaderboard-----------
|       1       |       Emmy    |
|       2       |       Cosmo   |
|       3       |       Sean    |

-----------Leaderboard-----------
|       1       |       Emmy    |
|       2       |       Cosmo   |
|       3       |       Sean    |

-----------Leaderboard-----------
|       1       |       Emmy    |
|       2       |       Cosmo   |
|       3       |       Sean    |

Summary

... Refer to Book or Design Patterns in TypeScript website to read textual content.