Skip to content

Files

Latest commit

9cebe5b · Dec 27, 2023

History

History

singleton

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 27, 2023
Apr 24, 2021
Apr 24, 2021
Apr 24, 2021
Apr 24, 2021
Apr 24, 2021
May 3, 2021
May 3, 2021

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.