DEV Community

Cover image for The DDD Hamburger for Go

The DDD Hamburger for Go

Jan Stamer on January 06, 2024

The DDD Hamburger is my favorite type of architecture for Go. Why? The DDD Hamburger beautifully combines the best of the hexagonal architecture of...
Collapse
 
proteusiq profile image
Prayson Wilfred Daniel

Now, I am hungry 🤤. Thank you for the creativeness. We did something similar withDDD Architecture but with Python(ML) + Rust(Backend API) + React(Frontend) as languages.

Collapse
 
raguay profile image
Richard Guay • Edited

I guess it goes good with Bun (the JavaScript runtime)! 😉

Collapse
 
jangelodev profile image
João Angelo

Great Jan Stamer

Collapse
 
nxquan profile image
nxquan

I like you!

Collapse
 
nxquan profile image
nxquan

I like it!

Collapse
 
joaopinheiro profile image
Joao Pinheiro

You are aware that this is basically three-tier application design and a variant of onion architecture, right? Something that actually exists and it has now been used for decades. And none of this is actually DDD - having a domain layer service isn't per se DDD. Look, I actually not only recommend, but use this approach (or variations of it) in several languages over the past 15 years - including go; but let me be blunt - not only this is not a new thing and already has a name, but anyone who is not familiarized with these architectural patterns (or think they are somewhat new) should not be designing applications.

Collapse
 
remast profile image
Jan Stamer

Fair enough. Yet my perception is that it's not that widely known. So I wanted to spread the love for that kind of architecture. If you're already aware and using it, that's great!

Some comments have been hidden by the post's author - find out more