BEYOND HEXAGONAL ARCHITECTURE
The support of our live coding session (made at Virtual DDD, February 2nd, 2021)
Thanks to Kenny & Krisztina for their warm welcome!
If you have questions or ideas to share, you can reach us on twitter (Thomas (aka. use case driven) and Bruno).
All slides are available here:
https://fr.slideshare.net/ThomasPierrain/beyond-hexagonal-architecture
Video of the talk
>>> https://www.youtube.com/watch?v=SAjsP2igBNk&feature=youtu.be <<<
HEXAGONAL ARCHITECTURE VERSION
Acceptance tests (Outside-in diamond style)
https://github.com/42skillz/livecoding-beyond-hexagonal-architecture/blob/hexagonal/SeatsSuggestions/TheaterSuggestions.Tests/AcceptanceTests/SeatsSuggestionsControllerShould.cs
The Hexagon (SeatAllocator)
https://github.com/42skillz/livecoding-beyond-hexagonal-architecture/blob/hexagonal/SeatsSuggestions/SeatsSuggestions.Domain/SeatAllocator.cs
The left-side port (WebController)
https://github.com/42skillz/livecoding-beyond-hexagonal-architecture/blob/hexagonal/SeatsSuggestions/SeatsSuggestions.Api/Controllers/SeatsSuggestionsController.cs
We have a question for you
(The answer of the audience was YES (91%))
Thomas says
Detailled version
http://tpierrain.blogspot.com/2020/11/hexagonal-or-not-hexagonal.html
FUNCTIONAL CORE VERSION
The Functional core (SeatAllocator)
https://github.com/42skillz/livecoding-beyond-hexagonal-architecture/blob/functional-core/SeatsSuggestions/SeatsSuggestions.Domain/SeatAllocator.cs
The Imperative Shell (WebController)
https://github.com/42skillz/livecoding-beyond-hexagonal-architecture/blob/functional-core/SeatsSuggestions/SeatsSuggestions.Api/Controllers/SeatsSuggestionsController.cs
REFERENCES