Best Practices
Improve the quality of your code to work with it more effectively.
Dealing With Nulls
Software Design
- Dependency injection
- Repositories without ORMs
- MVC without frameworks (coming soon)
- Working with exceptions (coming soon)
- Onion architecture (coming soon)
Additional Resources
- 76-minute presentation "Effortless Software Development" at PHP Russia 2020.
- Short video: SOLID Principles Part 1: Single Responsibility
- Short video: Interfaces and Value Objects
- Short video: Flexible Symfony 4 Services. Although this is specific to one framework, most of the advice in this video applies everywhere. The only difference is the configuration for your Dependency Injection Container.
- Blog post: Why Objects Over Arrays?
- Blog post: Null Hell and How to Get Out of It
- Blog post: Organizing Miscellaneous Utility Functions
- Article: How to speed up your MySQL queries 300 times
