(07-02-2016, 03:40 AM)titounnes Wrote: (07-02-2016, 01:02 AM)sv3tli0 Wrote: Remember that MY_ classes existed in the old CI versions because there were no namespaces.. Now in CI 4 you are able simply to create App/Controllers/Controller and to use it from your other controllers..
The era of MY_ logic is over.
Yes. I agree. CI-4 have different phylosophy than CI-3.
Yes, absolutely different philosophy. The MY_classes will extends the base classes and each classes only have one job/situation to handle. But for controller you need multiple classes to handle different type of situation such as AdminController, PublicControler and etc. What I did in CI3 is, by having multiple class in one MY_Controller.php(
also can be done by other way). As in CI4, thanks to namespace.
KeepĀ calm.