Update breakintcomponents.md

This commit is contained in:
Yoni Goldberg
2017-12-02 23:30:34 +02:00
committed by GitHub
parent 85389147f7
commit 40ff14e01d

View File

@ -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, youd 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
![alt text](https://github.com/i0natan/nodebestpractices/blob/master/assets/images/structurebycomponents.PNG "Structuring solution by components")