You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before diving into any of the patterns, readers should be reminded of two fundamental laws in software architecture:
1.Everything is a trade-ff
2."Why is more important than the how"
So, readers face the nuances and reality of these patterns from the beginning. These two laws are coined by two thought leaders in software architecture: Mark Richards and Neal Ford. They have explained these two laws in various conference talks and books. For example, here you can read about these two laws here:
https://www.infoq.com/podcasts/software-architecture-hard-parts/
Also, here is a book for reference:
https://a.co/d/fKOodW9
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ or [Download as PDF/Epub](https://readthedocs.org/projects/designpatternsphp/dow
8
8
9
9
This is a collection of known design patterns and some sample codes on how to implement them in PHP. Every pattern has a small list of examples.
10
10
11
-
I think the problem with patterns is that often people do know them but don't know when to apply which.
11
+
I think the problem with patterns is that often people do know them but don't know when to apply which. Remember that each pattern has its own trade-offs. And you need to pay attention more to why you're choosing a certain pattern than to how to implement it.
12
12
13
13
## Installation
14
14
You should look at and run the tests to see what happens in the example.
0 commit comments