Repository Pattern – The Single Source of Truth
Architecture plays a crucial role in any software development process. If you want to build a more robust, reusable, testable, and re-configurable system, you have to invest heavily in designing the architecture.
**What Does “Architecture” Mean?
**By definition: An architectural pattern is a general and reusable solution to a commonly occurring problem in software architecture within a given context. Architectural patterns are similar to software design pattern but have a broader scope.
You may be familiar with popular patterns like MVC, MVP, Client-server, Event-based, Layered pattern, etc. Each have defining building blocks that compose the structure and nature of any particular architecture, as listed below:
Presentation layer (also known as UI layer)
Application layer (also known as service layer)
Business logic layer (also known as domain layer)
Data access layer (also known as persistence layer)