Please wait...

Architecture

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

Modules

Each module must contain:

View Model Class

This class is required to define what is available to the end user.

Service Class

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

Mapper Class

Defines hard mapping for casting domain model to and from view model

Rule Classes

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

Event Classes

These classes hold your specific event logic for different functions i.e Save Opportunity to database would be a class that implements IInsertEvent