Zend_Auth_Adapter_Doctrine_Table is ready for review

June 16th, 2008 jasoneisen

David Werner and I worked together to give Zend_Auth the ability to authenticate using Doctrine’s DBAL. The new proposal is ready for review here. Check it out and let us know if you have any comments/questions/concerns :)

Tags: , , ,

Posted in Doctrine, Zend | No Comments »

XML Schemas and Doctrine

June 13th, 2008 jasoneisen

For those of you who detest yml (like me) I have written support back in for xml schemas in Doctrine. They have been gracious enough to set me up with my own svn branch, so you can check it out here: http://svn.phpdoctrine.org/branches/experimental/jason/.

This creates 3 new functions:

Doctrine::generateXmlFromYaml($yamlPath, $xmlPath, $options);
 
Doctrine::generateYamlFromXml($xmlPath, $yamlPath, $options);
 
Doctrine::generateModelsFromXml($xmlPath, $directory, $options);

No, the args for the models method aren’t backwards, I matched it to the current generateModelsFromYaml(). Enjoy :)

Tags:

Posted in Doctrine | No Comments »

Zend Framework and Doctrine

June 1st, 2008 jasoneisen

I’m currently working on a fairly complex (database-wise) project that makes use of nested transactions, and having failed to do my homework beforehand, a little while ago I came to find out the hard way that Zend_Db doesn’t support them (yet). After looking around rather quickly at my options I decided to use Doctrine as a replacement database abstraction layer. Although it is quite different the way it operates (Zend_Db is not an ORM like Doctrine), the fundamentals are somewhat the same, but even still every single one of my application’s queries would have to be rewritten.

Read the rest of this entry »

Tags: , , , ,

Posted in Doctrine, Zend | 4 Comments »