no-framework-tutorial/6-controllers.md

7 lines
569 B
Markdown
Raw Normal View History

2014-09-14 16:22:40 +00:00
[<< previous](5-router.md)
### Controllers
2014-09-14 18:10:37 +00:00
A quick definition before we start. 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).
2014-09-14 16:22:40 +00:00
to be continued...