The task was to have “aliases” for url. For example let’s think about a
ProjectsController; each project is characterized by a unique id, a unique name and some other attributes. With the cake way you can refer to the projects with
I would like to have an alias for the view: call each project even with a url like
/projects/$name (friendlier url).
I achieved the task extending the
ErrorHandler::missingAction(). Here is the code I used (pdf).
I don’t know if this is the proper way to do this but it’s working.