Writing idiomatic Go using Domain Driven Design, Damiano Petrungaro

  Рет қаралды 12,313

SPACE

SPACE

Күн бұрын

GoWayFest 4.0, Online - July 11-12, 2020
Writing idiomatic Go using Domain Driven Design, Damiano Petrungaro
There are plenty of articles explaining how to apply DDD in Go, but none of them uses the language idiomatically. What if I tell you that it is possible to achieve it without ending up with an OOP application?
Let’s create a Go app modeling a domain from the strategic as well as the tactical side. How many times have you read an article about DDD and Go ending up using DTOs and DAOs or packages named infrastructure, application, and domain?
This talk is not going to be about reuse the concepts from the DDD literature applied in other idioms, ending up with an object-oriented application written in Go. Instead, I’ll show how to apply the most popular tactical patterns to shape as idiomatic Go code the domain invariants, and how to use strategic patterns to let a domain analysis structure an application.
Slides - drive.google.com/file/d/1U6MC...

Пікірлер: 7
@user-sv9db5jk1t
@user-sv9db5jk1t 3 жыл бұрын
Will be great if telling more about the details of events' generating and consuming
@najamawan
@najamawan 3 жыл бұрын
any github repo?
@web3tel
@web3tel 2 жыл бұрын
Thanks Damiano. Very helpful. What is idiomatic way of "dependency injection" at Go, please? For example, how particular instance of Repository interface is going to be obtained?
@JosemyDuarte
@JosemyDuarte 2 жыл бұрын
In case this might help, Google have written a library for dependency injection. github.com/google/wire
@tullochgorum6323
@tullochgorum6323 3 жыл бұрын
For a brilliant take on DDD without objects, read Domain Modeling Made Functional by Scott Wlaschin. He uses F#, but you'll learn a great deal about how to build clean apps whatever language you're using.
@kuldeepbrar2383
@kuldeepbrar2383 2 жыл бұрын
Its among one of my favorites. I really love it.
@bokunochannel84207
@bokunochannel84207 Жыл бұрын
Awesome video
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 63 МЛН
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 45 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 51 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 110 МЛН
The DDD Starter Modelling Process - Maxime Sanglan-Charlier - DDD Europe 2022
48:26
Domain-Driven Design Europe
Рет қаралды 20 М.
GopherCon 2023: Kaylyn Gibilterra - Idiomatic Go Tells a Story
21:00
Gopher Academy
Рет қаралды 1,4 М.
Functional Domain Modelling - Marco Emrich and Ferdinand Ade - DDD Europe 2023
51:39
Domain-Driven Design Europe
Рет қаралды 2 М.
Golang UK Conference 2016 - Mat Ryer - Idiomatic Go Tricks
27:57
GopherCon UK
Рет қаралды 67 М.
Многоликий DDD - Сергей Баранов
1:19:18
Конференция ArchDays
Рет қаралды 17 М.
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 63 МЛН