Architectural Design Patterns
Get introduced to architectural design patterns and learn when to use them.
What are architectural design patterns?
Architectural design patterns help us decide how to structure an entire application or its large parts. These patterns give us a blueprint for organizing code to stay clean, flexible, and easy to maintain as the project grows. There are two main types of architectural patterns:
UI architectural patterns: These describe how to organize code inside the
of an app. They help separate the user interface, business logic, and data, making testing and updating each part easier without breaking the others. Some commonly used UI architectural patterns include MVC, MVP, and MVVM.presentation layer It is the application part that shows the user interface and handles user interactions. System-level architectural patterns describe how the major parts of an application work together. Some common examples include layered architecture, microservices, client–server, and event-driven architecture.
This lesson will focus on three popular UI architectural patterns: MVC, MVP, and MVVM. These patterns are widely used in web, desktop, and mobile app development.
Model-View-Controller (MVC)
MVC (Model-View-Controller) is a widely ...