Build Software Like a Bag of Marbles, Not a Castle of LEGO • Hannes Lowette • YOW! 2022
This presentation was recorded at YOW! 2022. #GOTOcon #YOW
Hannes Lowette - Head of Learning & Development at Axxes, Monolith Advocate, Speaker & Whiskey Lover @Belenar82
RESOURCES
ABSTRACT
If you have ever played with LEGO®, you will know that adding, removing or changing features of a completed castle is not as easy as it seems. You will have to deconstruct large parts to get to where you want to be, to build it all up again afterwards. Unfortunately, our software is often built the same way. Wouldn’t it be better if our software behaved like a bag of marbles? So, you can just add, remove or replace them at will?
Most of us have taken different approaches to building software: a big monolith, a collection of services, a bus architecture, etc. But whatever your large-scale architecture is, at the granular level (a single service or host), you will probably still end up with tightly coupled code. Adding functionality means making changes to every layer, service or component involved. It gets even harder if you want to enable or disable features for certain deployments: you will need to wrap code in feature flags, write custom DB migration scripts, etc. There must be a better way!
So what if you think of functionality as loose feature assemblies? We can construct our code in such a way that adding a feature is as simple as adding the assembly to your deployment, and removing it is done by just deleting the file. We would open the door for so many scenarios!
In this talk, I will explain how to tackle the following parts of your application to achieve this goal: , Entity Framework, Onion Architecture, IoC and database migrations. And most of all when you would want to do this. Because that depends… [...]
TIMECODES
00:00 Intro
00:29 Disclaimers
02:17 Understanding the problem
07:28 The OO path to success
13:14 The problem revisited
19:20 Onion architecture
27:32 Plugins
29:29 Implementation
48:53 Conclusion
49:55 Outro
Download slides and read the full abstract here:
RECOMMENDED BOOKS
Saleem Siddiqui • Learning Test-Driven Development •
David Farley • Modern Software Engineering •
Dave Farley & Jez Humble • Continuous Delivery •
Roy Osherove • The Art of Unit Testing •
Kent Beck • Test Driven Development •
Nicole Forsgren, Jez Humble & Gene Kim • Accelerate •
#ObjectOrientedProgramming #OO #Microservices #Monolith #SoftwareArchitecture #OnionArchitecture #ASPdotNET #dotNET #SOLID #HannesLowette #Axxes
Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at
Sign up for updates and specials at
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
1 view
0
0
3 hours ago 00:00:07 1
Earthquake
5 hours ago 00:00:09 1
Industrial bombing
6 hours ago 00:00:07 1
ضربه امنیتی سیاسی جهانی
7 hours ago 00:03:40 1
Hogwarts Legacy - Official Update Overview Trailer
9 hours ago 00:18:49 1
Getting started with QUICKSURFACE 2024
11 hours ago 00:01:40 1
How To Make A CPU
12 hours ago 00:00:05 1
Coronation of Makan Abazari Shahan Shah Iran
12 hours ago 00:09:14 1
Makan Abazari Shahan Shah Iran talks about Airforce of Iran
12 hours ago 00:04:29 1
GENSHIN IMPACT
19 hours ago 00:05:12 1
I attempted building the CRAZIEST Music Sync ever in Minecraft…
20 hours ago 00:00:49 1
Corsairs – Battle of the Caribbean – Reveal Teaser ESRB