Categories


Loading feed
Loading feed
Loading feed

Login and Authentication with Zend Framework Tutorial


Matthew Weier O’Phinney (Master of the ZF-MVC) has posted a great tutorial on using the Zend_Auth and Zend_Form together to build a login form with identity persistence. Ever the creative writer, Matthew has titled his new tutorial Login and Authentication with Zend Framework.

I’ve fielded a number of questions from people wanting to know how to handle authentication and identity persistence in Zend Framework. The typical issue is that they’re unsure how to combine:
* An authentication adapter
* A login form
* A controller for login/logout actions
* Checking for an authenticated user in subsequent requests

It’s not terribly difficult, but it does require knowing how the various pieces of the MVC fit together, and how to use Zend_Auth. Let’s take a look.

As you would expect from Matthew, the writing is clear and easy to understand and is sprinkled liberally with code. It’s so good in fact that it would have made a great article for DevZone, if Matthew hadn’t already posted it on his blog.

If you are working with Zend Framework then this is a must read tutorial.

Comments


Tuesday, May 13, 2008
TRADUCTION FRANçAISE DE L'ARTICLE DE MATTHEW - FRENCH TRANSLATION OF MATTHEW'S ARTICLE
6:15AM PDT · Fred Blanc [unregistered]