4 ms·
Umm...what? What do you think helpers are in PHP MVC frameworks? They are code blocks that should not go in controllers but are required; like a password gener
by namank 14y ago
Umm...what?
What do you think helpers are in PHP MVC frameworks? They are code blocks that should not go in controllers but are required; like a password generator or reformatting for print command.
Go use Symfony to see how events and MVC mash up together. They do a good job in there.
Author's next post will be about including services for controllers/helpers/actions that are called more frequently. Once again, Mr. Author, check the PHP framework called Symfony.