Tuesday 24 November 2015

Layer vs Onion Architecture

Hello from Germany!

At the moment I am reading the ENTWICKLER SPEZIAL(https://entwickler.de/special-issue/entwickler-magazin-spezial-vol-6-135583.html) and I found the article about the Onion Architecture very interesting.

In this article there is also an example implementation for two described architectures, which are Layer Architecture and Onion Architecture with the focus on the Domain Driven Design. There is also an explanation when and why you should use the onion architecture.

Jeffrey Palermo already wrote an article about this architecture on his blog http://jeffreypalermo.com/blog/the-onion-architecture-part-1/ and shows the core principles. 

For someone who wants to know how the implementation looks like in Java, can visit my GitHub to take a look for the differences between Layer and Onion Architecture based on the examples of Daniel Marbach which are implemented in C#.

https://github.com/sadoneright/layer-factory
https://github.com/sadoneright/onion-factory

Greets from Germany!
sadoneright

No comments:

Post a Comment