Development & Engineering · Intermediate
Software Architecture
Architecture is the design of how a whole system is put together: which parts there are, what each one does, and how they connect.
TL;DRIn 30 seconds
- Architecture is how a system is put together as a whole: which blocks it splits into, what each one handles, how they connect.
- It doesn't judge whether any single line is good — only whether the whole thing stands up and works smoothly.
- Get it wrong and every later addition is a struggle, possibly all the way back to starting over.
OverviewIn detail
Architecture is the overall structure of a piece of software: which blocks it is made of, what each block is responsible for, how they connect to one another, and how data moves between them. It doesn't care whether any single line of code is elegant — it cares whether the whole thing stands up and makes sense.
The difference between architecture and a framework is worth spelling out. A framework is a ready-made structure someone else wrote, which you pick up and use; architecture is the overall blueprint you draw for this particular system, and it decides which frameworks you adopt and how the parts are arranged. A framework is a component; architecture is the blueprint.
Two approaches come up again and again in real discussions. One is to keep everything together at first — simple and direct, good for a small project just starting out. The other is to split different responsibilities into relatively independent parts that are maintained separately and don't drag each other down, which suits projects with several people and a long life ahead. Which one you pick depends on scale, headcount, and how long you plan to keep it going.
Get the architecture wrong and it only gets harder to fix later. If the foundation is laid crooked, even adding a room afterwards is a struggle — you may end up tearing the whole thing down. Good architecture lets each part do its own job, makes problems easy to track down, and makes later expansion straightforward.
With AI tools, skills such as architecture-diagram generation exist to turn a system into a picture — boxes and arrows, so you can see at a glance who calls whom and where the data flows. Even if you never write code, talking with an AI about the little system you want, one that keeps the books and also syncs to your phone, means you are already discussing architecture.
One caution: there is no single right answer in architecture, only what fits your current needs better. An architecture that works well in someone else's project can be heavy and wrong for yours. Work out what problem you are solving first, then decide how to build it. Drawing the diagram has another benefit too: it gives a discussion a shared reference. Who owns what, where the data comes from and goes — put one diagram on the table and a group can argue over it far faster than by talking into the air.
MythsCommon misunderstandings
- ✕Thinking architecture is the same thing as a framework ✓A framework is a ready-made part someone else built; architecture is the blueprint you draw for the whole system, deciding which parts to use and how to place them
- ✕Thinking there is one best architecture ✓There is only what fits your current needs better — something that works well elsewhere often turns out heavy and unsuitable here
- ✕Thinking you can build it any old way and fix it later ✓Once the overall blueprint is off, a change drags a whole area with it, and the later you start the more it costs
In practiceWhere you will meet it
- Talking through the little system you want, one that keeps the books and syncs to your phone, is already a conversation about architecture
- Getting someone to draw your system as boxes and arrows so you can see who calls whom and where the data flows
- Working out the problem you're solving before you start, then deciding how many blocks to split it into
SummaryThe key points
- Which blocks make up the whole software and how they connect
- Get it wrong and it's hard to change later, like a crooked foundation
- Architecture diagrams are usually drawn as boxes and arrows
- There's no single right answer — it has to fit your needs
FAQ
What does Software Architecture mean?
Architecture is how a system is put together as a whole: which blocks it splits into, what each one handles, how they connect.It doesn't judge whether any single line is good — only whether the whole thing stands up and works smoothly.Get it wrong and every later addition is a struggle, possibly all the way back to starting over.
Where will I run into Software Architecture?
Talking through the little system you want, one that keeps the books and syncs to your phone, is already a conversation about architecture;Getting someone to draw your system as boxes and arrows so you can see who calls whom and where the data flows;Working out the problem you're solving before you start, then deciding how many blocks to split it into。
What do people most often get wrong about Software Architecture?
Thinking architecture is the same thing as a framework — but A framework is a ready-made part someone else built; architecture is the blueprint you draw for the whole system, deciding which parts to use and how to place them;Thinking there is one best architecture — but There is only what fits your current needs better — something that works well elsewhere often turns out heavy and unsuitable here。
What are the key points about Software Architecture?
Which blocks make up the whole software and how they connect;Get it wrong and it's hard to change later, like a crooked foundation;Architecture diagrams are usually drawn as boxes and arrows;There's no single right answer — it has to fit your needs。
Common pitfalls There's no standard answer in architecture — copying someone else's over wholesale usually doesn't fit.
Entry 53 of 186 · All entries
Keep readingRelated reading
算法(Algorithm)
算法就是做一件事的固定步骤清单。照着一步步做,同样的输入总能得到同样的结果,电脑就是靠它来完成任务的。
Open Source
Open source means the author publishes the recipe as well as the software. Anyone can read it, use it for free, and even change it and pass it on.
GitHub(代码托管平台)
GitHub 是全球程序员存放和分享代码的网站,既能当作品集,也是大家一起改同一份代码的协作台。
前端(Frontend)
前端是软件里你能看见、能点的那一层。按钮、图片、页面动画,都是它做出来的。
Backend
The backend is the half of the software you never see. Every step you take in the interface is handled behind the scenes by it, looking up data and making the decisions.
Automation
Automation means letting a computer repeat a job by rules you set, so work you would otherwise redo by hand every time is handed over entirely.
Where to go nextExplore more
Back to the skills themselves
Most of the concepts covered here come from skills that install into your AI client with a single command.