Design Patterns · Middle · Question 28 of 75

What's the main rule of Clean Architecture?

Explanation

Entities and use cases are at the center, while frameworks, DB and UI are in the outer circles and depend on the inner ones. Then business logic can be tested without a browser, and the framework changed without rewriting the rules. For the frontend, the approach is often simplified.

Further reading

Problem with a question

Design Patterns · Middle · question 28

Test yourself

Take the Design Patterns · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz