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 una sola responsabilità, interamente incapsulata al suo interno. Open–closed principle Leggi tutto