Please wait... |
No-Tiers is a database driven modular service architecture. Each service has conceptional layers implemented by inheriting the service base class which uses a template patten
Each class has a single reason to exist and should only change for one reason keeping to the single responsibility principle
Each module must contain:
This class is required to define what is available to the end user.
This is required to define what view model the service is returning to the user and what database model this view model is formed mainly connected to
Defines hard mapping for casting domain model to and from view model
These classes hold you specific business logic for different functions i.e Only managers can insert new Opportunities would be a class that implements IInsertRule
These classes hold your specific event logic for different functions i.e Save Opportunity to database would be a class that implements IInsertEvent