Clean Coder Blog
Over the last several years we’ve seen a whole range of ideas regarding the architecture of systems. These include: Though these architectures all vary somewhat in their details, they are very similar. They all have the same objective, which is the separation of concerns. They all achieve this separation by dividing the software into layers. Each has at least one layer for business rules, and another for interfaces. Each of these architectures produce systems that are: The diagram at the top of this article is an attempt at integrating all these architectures into a single actionable idea. The concentric circles represent different areas of software. In general, the further in you go, the higher level the software becomes. 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. Nothing in an inner circle can know anything at all ab
Over the last several years we’ve seen a whole range of ideas regarding the architecture of systems. These include: Hexagonal Architecture (a.k.a. Ports and Adapters) by Alistair Cockburn and adopted by Steve Freeman, and Nat Pryce in their wonderful book Growing Object Oriented Software Onion Architecture by Jeffrey Palermo Screaming Architecture from a blog of mine last year DCI from James Coplien, and Trygve Reenskaug. BCE by Ivar Jacobson from his book Object Oriented Software Engineering: A Use-Case Driven Approach Though these architectures all vary somewhat in their details, they are ve
Explore this link on the map →saved by
related reading
- Repeat yourself, do more than one thing, and... — programming is terribleprogrammingisterrible.com
- Software Architecture Guidemartinfowler.com
- How to write complex softwaregrantslatton.com
- On architecture, urban planning and software construction - Tomas Petricektomasp.net
- The Programmer's Paradox: Systems Thinkingtheprogrammersparadox.blogspot.com
- The Distributed Computing Manifesto | All Things Distributedallthingsdistributed.com
- Presentation Domain Data Layeringmartinfowler.com
- Shearing layers - Wikipediaen.wikipedia.org
- Why You Should NOT Implement Layered Architectures – Java, SQL and jOOQ.blog.jooq.org
- Bulletproof node.js project architecture 🛡️softwareontheroad.com
- Hexagonal Architecture Explained | Shouldn't Be Hardarhohuttunen.com
- Tao of Node - Design, Architecture & Best Practices | Alex Kondovalexkondov.com