On The Bakery (Everything CakePHP) blog today Tulio Faria shares some ways to organize your CSS files to where they can be autoloaded through your CakePHP application.
There's five different ideas that he presents:
- CSS files named without any link with controller names
- CSS with the same controller name
- CSS file with the same name of controller, but only if CSS file exists
- one CSS file for each method of controller
- a CSS file for each method of controller, a little bit more organized