ZendCasts.com: Logging in Users using Doctrine and Zend_Auth

      Comments Off on ZendCasts.com: Logging in Users using Doctrine and Zend_Auth

The next ZendCast in the user authentication with the Zend Framework’s Zend_Auth has been posted to the ZendCasts.com site today. In this new screencast, they look at how to integrate it with Doctrine to automatically validate users against the information in your databases (following up on this first part of the series).

Here’s the second part of my Doctrine / Zend_Auth example. In 15 minutes, we create a logout, login and protected area that’s reliant on the ZC_Auth_Adapter adapter we created in last week’s video. Notice how there’s no code in the IndexController exposing the authentication implementation,

You can grab the code to follow along or build it as he goes. You’ll need a copy of Doctrine up and working to keep up, though.

This content syndicated from
PHPDeveloper.org.
Visit the
original content
for more commentary.