For the 2nd day of CodeMash conference sessions, I wanted to continue the adventures down the architecture path. I was excited to catch my friend Joe Guadagno presenting on architecture patterns! And boy did Joe have a lot of history and diagrams covering a ton of architecture in a short period of time!
Layered and Model/View/* Patterns
I’m going to call these patterns “oldies” because they’re patterns I used earlier in my career and still hear them mentioned today.
- N-Tier Applications
- Model/View/*
- Model/View/Controller
- Model/View/ViewModel
- Model/View/Presenter
Event-Based Patterns
There were a couple patterns that Joe mentioned with regards to patterns that are seen with events. These included:
- Event Sourcing
- Publisher/Subscriber
- CQRS – both with a simple CQRS and a bigger bus for CQRS + Event Sourcing
Common Microservice Patterns
To steal a meme from my own talk:
I feel like everywhere I go, people are like “Microservices?! Have you built your microservices yet?” And “We have to do microservices because our competitors are!” π€¦π»ββοΈ However, if you’re going into the realm of microservices, these are a few patterns you should know about:
- Ambassador
- Anti-Corruption Layer
- Backends for Frontends
- Bulkhead
- Gateway Aggregation
- Gateway Offloading
- Gateway Routing
- Sidecar
- Strangler Fig
Conclusion
I eat, sleep, and breathe many of these patterns, as the stuff I do for work tends to involve these patterns. I was excited to hear someone else talk about patterns I’m familiar with as well as learn about other patterns that I may not have seen before. And for all that was covered… there’s only 15 slides?! Joe posted the abstract and its slides here. If you are in a spot where you need to understand what architectural patterns are out there, this is a good discussion!
[…] Application Architecture Patterns – Joe Guadagno […]