Sunday, August 24th, 2008
This piece is building on the prior tutorial, we now have Retrieve, Update and Delete in addition to the Create stuff. The prior tutorial has also been updated since the fromArrayExt method needed some adjustments to manage updating.... Read More
Tags: Database, Doctrine, orm, PHP, Smarty
Posted in Database, Doctrine, PHP, Smarty | No Comments »
Monday, August 11th, 2008
I simply knew we would need the extension capability that the Mdl class allows for sooner or later, I didn’t expect it to be this soon though. The main problem here is saving a many to many relationship straight to the database from the $_POST array, to do that we can extend Doctrine Record with a new function I have named fromArrayExt which adds something extra to the normal fromArray method.... Read More
Tags: Doctrine, orm, PHP
Posted in Doctrine, PHP | No Comments »
Friday, August 8th, 2008
I’ve had problems with both Zend Session and the Zend Controller. It just feels like too much fighting and since the plan is to replace Zend DB with Doctrine there is only the controller and session left and unwanted to boot.... Read More
Tags: Doctrine, orm, PHP, Smarty, templating, validating
Posted in Doctrine, PHP, Smarty | 8 Comments »
Tuesday, August 5th, 2008
It was long overdue but finally I’ve taken a look at Doctrine. And I’m blown away, bye bye Zend DB.... Read More
Tags: Database, Doctrine, orm, PHP
Posted in Database, Doctrine, PHP | No Comments »