Jul 19, 2009
Environment: Support methods in param matching
Some of you probably remember the fine Environment Class developed by Rafael Bandeira. I still use and love it for handling dev, staging and production environments. And it’s super awesome that you may create a AppEnvironment class to tweak the config and param mapping. However, i found one thing missing and that’s support for arrays when matching the mapped params. For example: You have one... read more
Dec 27, 2008
Easy CakePHP deployment: Environment & Database Config
I just digged Rafael Bandeiras Environment class which is supposed to help handling multiple enviroments. It really is a nice piece of code and i don’t find it overkill either. After adding it to my app i thought how i could use my setups to change the database with ease. I then remembered reading an bakery article from Joel Moss on how one could use the object constructor in the DATABASE_CONFIG... read more

