mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-21 12:52:01 +02:00
Merge pull request #115 from stevenbenner/gh-pages
Added application design patterns section
This commit is contained in:
16
_posts/05-03-01-Design-Patterns.md
Normal file
16
_posts/05-03-01-Design-Patterns.md
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
isChild: true
|
||||
---
|
||||
|
||||
## Design Patterns
|
||||
|
||||
When you are building your application it is helpful to use common patterns in your code and common patterns for the
|
||||
overall structure of your project. Using common patterns is helpful because it makes it much easier to manage your code
|
||||
and lets other developers quickly understand how everything fits together.
|
||||
|
||||
If you use a framework then most of the higher level code and project structure will be based on that framework, so a
|
||||
lot of the pattern decisions are made for you. But it is still up to you to pick out the best patterns to follow in the
|
||||
code you build on top of the framework. If, on the other hand, you are not using a framework to build your application
|
||||
then you have to find the patterns that best suit the type and size of application that you're building.
|
||||
|
||||
* Continue reading on [Design Patterns](/pages/Design-Patterns.html)
|
Reference in New Issue
Block a user