Understanding MVC for real: stop bloating your controllers
What each layer of MVC is actually responsible for, and how to keep your controllers thin.
Tag
Building applications with PHP: language features, versions and practices. (Page 8/8)
There are 48 posts with this tag.
What each layer of MVC is actually responsible for, and how to keep your controllers thin.
The language-level approach to building large loops without blowing up memory: PHP 5.5 generators and the yield keyword.
The structure that comes from moving beyond raw PHP to a framework: first impressions, installation, and the basics of Laravel 4.
Code organization that eliminates name collisions and fits the modern library ecosystem: PHP namespace usage and the use statement.
Moving away from manual class includes to standard autoloading: the difference between PSR-0 and PSR-4, and Composer integration.
The practical side of moving from a pile of manual requires to modern dependency management: composer.json, autoloading, and installing packages.