Chapter 3. Architecture
Now that we know how to get our application started, it’s a good time to think about how we want to structure, organize, and model it. Welcome to the wonderful—and often misunderstood—world of architecture.
People tend to have very mixed opinions when it comes to architecture in software products. For some, it’s a necessity, and they swear by it. Others start swearing the moment somebody mentions architecture. I’ve seen companies that proudly removed all software architects from their organizations because “it works better without them.” And I’ve seen companies that tried to do the same and accumulated so much technical debt in such a short time that they put themselves into a corner.
Some developers see the architect role as prestigious and want to do everything in their power to become one. Others want no part of being an architect because they see it as a role that spends more time in PowerPoint than in the actual product.
As always, opinions stem from experience, and the truth is somewhere in between. In this chapter, we’ll start by asking what architecture actually is. Then, we’ll look at the implications of a client/server architecture, walk through the different levels of architecture using the C4 model, and close with the complementary nature of architecture and organization.
Architecture matters because it’s the foundation that either enables or constrains everything else you want to do. Get it right, and your team can move fast and adapt to change. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access