Jon wrote: > I don't understand why the camel case conversion has been dropped? > > As far as I can see all variables (in ZF) are camelCased, even the PDF > document "Best Practices of PHP Development" written by Zend states that all > variables should be camelCased. So why change it for Zend_Db? Doesn't seem > to make much sense as an element of consistency has been lost here. >
The camel casing caused no end of trouble here as it created inconsistencies between data retrieved via Zend_Db_Table and data retrieved directly via Zend_Db or plain old SQL. We ended up having to iterate over data retreived via "normal" SQL to call Zend_Inflector on it, which wasn't good. Personally, I like it that I get a one to one mapping from table name to PHP variable name and it is predictable and doesn't require any thought. Regards, Rob...
