So far, we discussed performance-related topics. Now, in this chapter, we will study best practices in PHP applications' development and deployment. This is a vast topic, but we will cover it briefly. PHP provides all levels of programmers with the ability to write quality code easily and quickly. However, when the application advances to a more complex nature, we forget to follow the best practices. To produce a high performance PHP application, it is necessary to keep in mind the performance at every line of the code.
We will cover the following topics:
Coding styles
Design patterns
Service-oriented architecture (SOA)
Test-driven development (TDD) and PHPUnit testing
PHP frameworks
Version control systems and Git
Deployment