PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Rob Allen's Blog: New Zend_Auth tutorial

Note: This article was originally published at PHPDeveloper on 26 July 2010.
PHPDeveloper

Rob Allen has a new post to his blog today about the update he's made to his Zend_Auth tutorial, introducing the authentication component of the Zend Framework.

After too many months of neglect, I have completely rewritten my Zend_Auth tutorial so that it is compatible with Zend Framework 1.10! As an experiment, I have written it directly in HTML, rather than PDF as before and cover the login form along with the login controller code required to authenticate a user using a database table. For good measure, I've included logging out and a view helper to show how to access the logged in user's details.

The tutorial walks you through the creation of a users table, an auth controller/form and the code needed to validate the user against in information in the table (as well as how to log them out). You can also download the code as a zip file.