search
top

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

CakePHP Migrations: INTEGER gotchas

Okay.. today i played around with the wonderful migrations implementation from Joel Moss and found some stuff in regard of typing in YAML. First of all: It’s a pain in the ass – Secondly: It’s a breeze when it’s done. Some beginners, just like me, may have wondered about why your generated schema does not reflect the exact layout after doing “migrate up” with the exact... read more
top