Skip to content

Zhark10/DesignPatternsInTheJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💥 HERE IS MY SIMPLE JS PATTERN IMPLEMENTATION (OOP) 💥

1. Factory

Result: subscriptions created for users. Benefits for older clients included.

2. Prototype

Result: "prototype" is considered on the example of conference registration a participant

3. Singleton

Result: realized example with database connection (to must have single instance)

4. Adapter

Result: adapted old form for request in new support service

5. Constructor

Result: implemented two options for creating a constructor (old and new ~ function and class)

6. Decorator

Result: assignment of skills to specialists with different qualifications via a decorator pattern.

7. Facade

Result: simplification of student enrollment in programming courses.

to be continued...

About

💥 It`s my simple JS patterns implementation (OOP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published