Live data from Hacker News

Software Architecture Patterns: 5 minute read

orkhanscience.medium.com

11–20 of 73 posts

Re: Software Architecture Patterns: 5 minute read

#12
I don't think the term "Microkernel Architecture" should be used in this context. I think "Modular Architecture," (or Plug-in like is mentioned) gets closer to this extension-based pattern.

The reason being that there's no relevance to the kernel, and modular kernels, also take this approach with replaceable plug-ins or extensions.

Re: Software Architecture Patterns: 5 minute read

#16
post #12

I don't think the term "Microkernel Architecture" should be used in this context. I think "Modular Architecture," (or Plug-in like is mentioned) gets closer to this extension-based pattern. The reason being that there's no relevance to the kernel, and modular kernels, also take this approach with replaceable plug-ins or extensions.

I think people gravitate to it because "kernel" feels like a cool word and some people have heard of OS microkernels being modular. As you say, "modular architecture" is a much clearer way to express the intent and conveys the purpose without being pretentious.

Re: Software Architecture Patterns: 5 minute read

#17

I tend to design architectures that combine facets of all of these.

That's what I was thinking as I looked at the list. It a nice little overview, perhaps for starting a discussion, but it doesn't capture how you'd use them in practice. When presented separately they appear like they should be applied in a standalone fashion.

Re: Software Architecture Patterns: 5 minute read

#18
post #6

Earlier quoted context omitted.

Definitely not a 5min read though

Actually it was. It was ok as an overview.

This would take 5 minutes to read if you already know what you're looking for and you use it as a reference or refresher.

Re: Software Architecture Patterns: 5 minute read

#19

I tend to design architectures that combine facets of all of these.

Probably everybody does. Purists usually don’t get very far when they face the real world.

> Purists usually don’t get very far when they face the real world.

This is true. I said as much to someone else, in another thread: https://news.ycombinator.com/item?id=29021254

Re: Software Architecture Patterns: 5 minute read

#20
What I nerver understood:

* How to disconnect the domain model from persistence.

Some solutions add the OR Annotations to the domain model. Some other map the domain model to persistence with a Mapper-layer.

But all of them have some constraints. For e.g. on a web api I receive a dto, map it to a domain model, map it to a persistence model and vice versa. Not much gained imho. In this example I would add the OR-annotations to the domain model and configure many-to-many by "text" so that they are not contained in the domain model.

What are your thoughts?

Post reply on HN