via The Clean Architecture | 8th Light by βUncleβ Bob Martin
The outer circles are mechanisms. The inner circles are policies.
The overriding rule that makes this architecture work is The Dependency Rule . This rule says that source code dependencies can only point inwards .
Entities Use Cases Adapters (Controllers, Gateways, Presenters) Frameworks Only Four Circles?
No, the circles are schematic. You may find that you need more than just these four....
The MVC and 3-Tier architectures combined (via The Future of Web Development Β« mvalente.eu/mv.* )
Interactive Application Architecture Patterns
The Model-View-Controller , Model-View-Presenter , and Presentation-Abstraction-Control patterns are similar in many ways, but have each evolved to address slightly different concerns.
This article discusses each pattern along with its history and design motivations to encourage the correct understanding and application of these patterns.
Keynote: Architecture the Lost Years by Robert Martin @ Ruby Midwest 2011
(also on YouTube β¦ and a few weeks later, without slides , on The βAβ word. A Discussion About Architecture in a Software Craftsmanship conference )
Images clipped together fromβ¦
The βPresenterβ and βView Modelβ at 35:28 βThe whole Enchilada!β at 37:50 βThe Database is a Detail!β at 42:26 Elements summary:
Entities β Generic application agnostic data and business rules (e....
A good architecture allows major decisions to be deferred!
Robert Cecil Martin
Or putting it in another wayβ¦
A good architecture maximizes the number of decisions NOT made.
TodoMVC β A common learning application for popular JavaScript MV* frameworks
(β¦) a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.
Solutions look and feel the same, have a common simple feature-set and make it easy for you to compare the syntax and structure of different frameworks so you can select the one you feel the most comfortable with....