SOLID design principles

http://blog.wolksoftware.com/implementing-solid-and-the-onion-architecture-in-node-js-with-typescript-and-inversifyjs Single responsibility principle A class should only have a single responsibility, that is, only changes to one part of the software’s specification should be able to affect the specification of the class.Afferma che ogni classe dovrebbe avere una ed Leggi tutto…

Design pattern

A design pattern is the re-usable form of a solution to a design problem. Singleton Is a software design pattern that restricts the instantiation of a class to one “single” instance Factory or Factory Method https://refactoring.guru/design-patterns/factory-method Is a creational design pattern that Leggi tutto…