mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-28 03:25:55 +08:00
Update breakintcomponents.md
This commit is contained in:
@ -17,6 +17,15 @@ For medium sized apps and above, monoliths are really bad - having one big softw
|
||||
|
||||
<br/><br/>
|
||||
|
||||
### Blog Quote: "So what does the architecture of your application scream"
|
||||
From the blog [uncle-bob](https://8thlight.com/blog/uncle-bob/2011/09/30/Screaming-Architecture.html)
|
||||
|
||||
> ...if you were looking at the architecture of a library, you’d likely see a grand entrance, an area for check-in-out clerks, reading areas, small conference rooms, and gallery after gallery capable of holding bookshelves for all the books in the library. That architecture would scream: Library.
|
||||
|
||||
So what does the architecture of your application scream? When you look at the top level directory structure, and the source files in the highest level package; do they scream: Health Care System, or Accounting System, or Inventory Management System? Or do they scream: Rails, or Spring/Hibernate, or ASP?.
|
||||
|
||||
<br/><br/>
|
||||
|
||||
### Good: Structure your solution by self-contained components
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user