Architecture Flashcards

1
Q

Clean Architecture

A

consists of concentric circular layers:
inner layers are high-level, abstract policies
outer layers are technical implementation details

loosely coupled

layers (inner to outer):
entities (business objects)
use cases (actions)
interface adapters (bridge between outside world and world inhabited by the use cases and entities-models, views, presenters and repository implementations)
frameworks and drivers (external agents - web, database)

The Dependency Rule: source code dependencies can only point inwards. Nothing in an inner circle can know anything about something in an outer circle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

MVC

A

Model
central component
application’s dynamic data structure, independent of the user interface
directly manages the data, logic and rules of the application

View
any representation of information such as a chart, diagram or table
multiple views of the same information are possible

Controller
accepts input and converts it to commands for the model or view.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly