Feb 4, 2009
How to overwrite HtmlHelper tags
In some cases you find it desirable to overwrite the tag templates used by the HtmlHelper. For example if you put all your assets onto a CDN and don’t want to put the hostname in front of all paths (messy..). With this small modification in the AppHelper class you can do that in bootstrap using Configure, which also allows you to make the tags conditional if you want.. In short: flexibility! The... 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

