very very nice!
Awesome work Jonathan, I hope they add this type of functionality to core in the future.
Do you see any problems with setting all of these view to be stored in one view directory, like 'static', if they are not related to a controller in any way ?
Thanks for this code. Any idea how I can make routing work with a .html suffix and still get the url caught by your error system?
"...there should be no issues adding in functionality from AppController"
Have you figured out how to get missing controllers to load components (specifically, the Auth component)? Or rather, have it use the AppController as usual?
Mark: assuming things haven't regressed since I posted this, if you've specified the Auth component in AppController, it should be used.
I guess things have regressed then (using 1.2 stable now). As a quick test, I added an echo to the beforeFilter in AppController. It's displayed on all pages where the controller is specified, but not when there's a missing controller.
Hi. My name is Jonathan Snook and this is my site. I write about what interests me, which is usually web design, development, and technology. I'm also in the middle of a food adventure and I like whisky.
I wrote SMACSS. I tweet. Want to learn more?
© Jonathan Snook