I will be leading a hands-on workshop at https://dddeurope.com on June 4th!
Implement core DDD concepts including Aggregates, Repositories, Value Objects, and use Hexagonal Architecture for loose coupling. In Java and Python.

I will be leading a hands-on workshop at https://dddeurope.com on June 4th!
Implement core DDD concepts including Aggregates, Repositories, Value Objects, and use Hexagonal Architecture for loose coupling. In Java and Python.
Nobody want to be a shitty programmer. The question is: Do you do anything not to not be one?
Reading blogs or social media and watching YouTube videos is fun. After them, your code may be a little better, of course. But you need a lot. You need to study! Read good books and study the code of other programmers, for example. Maybe work with a new language, architectures and paradigms. You need break the routine.
If you know Object-oriented programming, you learn functional programming.
If you know Model-View-Controller, you learn Model-View-ViewModel.
If you don't know anything about architectures, you learn Clean Architecture, Hexagonal Architecture, etc.
If you know Python, you learn Ruby or Go.
If you know Clojure or Lisp... you don't need to learn anything else. You are already a good programmer. Just kidding. You can learn Elixir or Scala.
Be a good programmer my friend.
#Programmin #OOP #FunctionalProgramming #MVC #MVVM #CleanArchitecture #HexagonalArchitecture #Python #RubyLang #Golang #Clojure #Lisp #ElixirLang #Scala
What is hexagonal architecture, and how can it help to make your code more testable? In this Making Tech Better podcast episode, I spoke to @jitterted about the benefits and principles of hexagonal architecture, and how it enables you to keep your domain logic independent from the outside world.
You can listen here: https://www.youtube.com/watch?v=zpITtO-5d-o
#jMolecules 2023.3.0 (API 1.10, Integrations 0.25) is out! Improved #HexagonalArchitecture verification and persistence code generation. See the release announcement for details. https://github.com/xmolecules/jmolecules-integrations/releases/tag/0.25.0
️
1) Understand the domain
2) Domain modelling (#ModelInCode)
3) Let a test drive us (#TDD)
4) Implement the controller
5) Drive the core implementation by a test (TDD again)
6) Extend the business logic facade (#HexagonalArchitecture)
7) Implement the command
8) Implement the event projection (#EventSourcing)
9) Implement the database access (#OnionArchitecture)
10) Release it (#CI_CD)
11) See your changes at work (#REPL #FSI)
With code samples in #dotnet
The year is coming to an end and I want to get this blog post out the door. It's about making your game logic independent of the framework using hexagonal architecture. #GameDev #MonoGame #CleanArchitecture #HexagonalArchitecture #gaming #GameDevelopment #dotnet #programming https://shendriks.dev/posts/2024-12-30-making-game-logic-framework-independent-with-hexagonal-architecture
I did it ... I ported the 3-part aricle series
"Implementing Domain-Driven Design and Hexagonal Architecture with Go"
from Medium to Substack, where it's not paywalled.
https://eventsandstuff.substack.com/p/implementing-domain-driven-design-introduction
https://eventsandstuff.substack.com/p/implementing-domain-driven-design-domain
https://eventsandstuff.substack.com/p/implementing-domain-driven-design-hexagonal
#golang #go #dddesign #ddd #domaindrivendesign #hexagonalarchitecture #portsandadapters
Reposts very much appreciated! :-)
In case you missed my three-part Ports and Adapters (#Hexagonal #HexagonalArchitecture) tutorials, here are the links:
Part 1:
https://youtu.be/TC4e0hokDB8
Part 2:
https://youtu.be/V4nj8MXUv5k
Part 3:
https://youtu.be/UpesTQhQhTE
Next up on my YouTube channel...
Design Accelerator: Ports and Adapters Architecture Part3
After explaining several aspects of the Ports and Adapters Architecture in Parts 1 and 2, Vaughn wraps up this topic with examples of how to structure your architecture using modules using Java packages and C# namespaces.
#SoftwareArchitecture #Hexagonal #HexagonalArchitecture #PortsAndAdaptersArchitecture
#ITByte: The Clean #Architecture is the system architecture guideline proposed by Robert C. Martin derived from many architectural guidelines like #HexagonalArchitecture, #OnionArchitecture.
Here is a quick overview.
https://knowledgezone.co.in/posts/Clean-Architecture-62598efeeada9ba345c35f27
#DomainDrivenDesign #PortsAndAdapters #HexagonalArchitecture with @VaughnVernon
Recording (video / podcast) available!
https://software-architektur.tv/2024/05/29/episode218.html
#SoftwareArchitektur im #Stream
Estuve hablando sobre mis experiencias con la arquitectura hexagonal, y que pasa cuando se mal entiende/aplica.
Me lo pasé bien la verdad
#HexagonalArchitecture #PortsAndAdapters
https://youtu.be/ZlfepC5EsZM?si=-HBIKr9rSJ7rfqTc
Personally working with hexagonal architecture for the first time and recognizing its problems, I was working on a way to mitigate the problems by combining it in a meaningful way with the modulithic approach.
Thankfully a colleague pointed me to this article by @odrotbohm delivering a solution to this exact problem. And also describing it in a very comprehensible way.
Once again, #TDD and #HexagonalArchitecture meant that when I hooked up the "real" timer broadcaster (using WebSockets), everything just worked.
Only took 35 lines of WebSocket code and 10 lines of #SpringBoot configuration code and a few #htmx attributes on the HTML page. (Not counting the separate transformer code that generated the HTML.)
I love how IntelliJ IDEA uses my file coloring settings everywhere, so when I'm looking through the Git history, I can quickly see what adapters I've changed (as they're colored in blue).
You can see how I set up these colors in this video: https://youtu.be/lMcbxwJ74P4
Is #hexagonalArchitecture the new #singleton?
The pattern might be good ofr its own cases. My current concerns, is how widely people are applying it without reflecting on the tradeoffs. Remember the creator of the singleton pattern said about his own pattern.
Introduced MapStruct by @gunnarmorling into my new customer project. This is still the best solution I know to map between layers in Java. Especially when the project uses hexagonal architecture, which has layers. Layers everywhere...
It also supports mapping from two different sources, mapping into an existing object and deep clones. Thanks for this fine piece of software, Gunnar and friends.
Regarding state transition in a proper Hexagon/DDD setting, shall i have:
A "switchToInProgress(pendingTodo|doneTodo)"
B "a method startProgress() on pendingTodo & doneTodo plus a save(todos) method somewhere"
?
#HexagonalArchitecture #DomainDrivenDesign
1/n