Well said @jdecode as a newbie to CakePHP I’m trying to create a project using CakePHP and learn at the same time, trying to follow the documentation is sometimes very confusing at times even after reading it several times, I also find in some cases depending on which part you bounce in to in the documentation, the way to do something is different.
In one example I’ve been working around the Authentication / Authorization one set of documentation tells you to put a certain bit of code in /src/Application.php then on another section of the documentation it is telling you to put the same code in src/Controller/AppController.php
As I’m trying to learn, this is becoming very confusing to the point I started to look a Laravel tutorials and abandon my CakePHP application development, because of the way the tutorials are structured,
I’m the type of person who can learn very quickly from been shown to do something one way, rather than the way the documentation is laid out in Cake giving you several options, but no real solution, so something like Laravel it actually made sense, needless to say I shall carry on with trying to learn Cake but I think there might be a point, where I look at it and think hmmm.