Skip to content

CiceroJuniorF/gof-design-patterns-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gof-design-patterns-typescript

Implementing the main GoF patterns in typescript

to build

yarn build

to build and watch

yarn build:watch

to test

yarn test

to test and watch

yarn test:watch

to view coverage

yarn view:coverage

to clean

yarn clean

to start

yarn start

IMPLEMENTATIONS

1 - Creational Patterns

1.1 - Abstract Factory

The abstract factory pattern is a design pattern that allows for the creation of groups of related objects without the requirement of specifying the exact concrete classes that will be used. One of a number of factory classes generates the object sets. font: http://www.blackwasp.co.uk/AbstractFactory.aspx

1.2 - Factory Method

The factory method pattern is a design pattern that allows for the creation of objects without specifying the type of object that is to be created in code. A factory class contains a method that allows determination of the created type at run-time. font: http://www.blackwasp.co.uk/FactoryMethod.aspx

1.3 - Singleton

The singleton pattern is a design pattern that is used to ensure that a class can only have one concurrent instance. Whenever additional objects of a singleton class are required, the previously created, single instance is provided. font: http://www.blackwasp.co.uk/Singleton.aspx

About

Implementing the main GoF patterns in typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published