Zend Screencasts: Video Tutorials about the Zend PHP Framework  (iphone)

Writing a Zend_Auth_Adapter with Doctrine

01.23.2010 - By Produced by Jon LebensoldPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

I’ve been using Doctrine a lot in my own work, and recently found myself itching to have tighter integration between Zend and Doctrine when it comes to user logins. Luckily, Zend provides a very simple interface with regards to Zend_Auth. This way, it’s easy to decouple your persistence layer (in my case Doctrine) from the authentication layer. I’ve borrowed from Palo Verede’s wonderful article on Doctrine and Zend_Auth and I invite you to check his blog out.

Grab a copy of the project or browse the repository.

Also, a big thank you to ServerGrove for extending their support of Zendcasts for January. ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.

More episodes from Zend Screencasts: Video Tutorials about the Zend PHP Framework (iphone)