Hello,
I was wondering if it's possible to load a controller through another controller. As i've searched the internet i found some articles that people mentioned that this is "not a working practice for MVC pattern".
The reason i want to achieve such a thing is for situations like:
e.g.: Let's say i want to get something from the db and place in header or footer (analytics scripts, footer copyrights text etc..) and in order to have cleaner "view" files i want to create some controllers (sth like "common/header", "common/footer" etc.) and be able to load them in the other controllers.
Any ideas / suggestions on that?
Thanks
//Life motto
if (sad() == true) {
sad().stop();
develop();
}