no-framework-tutorial/6-controllers.md
2014-09-14 20:13:38 +02:00

7 lines
No EOL
533 B
Markdown

[<< previous](5-router.md)
### Controllers
When I talk about a controller in this tutorial then I am just referring to a class that has handler methods. I am not talking about [MVC (Model-View-Controller)](http://martinfowler.com/eaaCatalog/modelViewController.html) controllers. MVC can't be implemented properly in PHP anyways, at least not in the way it was originally conceived. So forget about MVC and instead let's worry about [separation of concerns](http://en.wikipedia.org/wiki/Separation_of_concerns).
to be continued...