-- Jörg Hambuch <[EMAIL PROTECTED]> wrote (on Thursday, 30 October 2008, 02:00 PM -0700): > some weeks ago I used Zend_Acl/Zend_Auth the way you described at > http://weierophinney.net/matthew/archives/165-Login-and-Authentication-with-Zend-Framework.html. > > It is quite different from the "new" way described in you presentation at > http://weierophinney.net/matthew/archives/179-DPC08-Wrapup.html. > > I would like to know what is the correct way to do it?
They're both correct; they simply show different approaches and provide different context. In the first, I show an entire, integrated example using Zend_Form, Zend_Auth, and ZF's MVC. In the second, the authentication example shows simply the Zend_Auth portion by itself -- no form handling, no MVC. There are many ways to approach login and authentication; ZF simply provides a number of tools for accomplishing it. -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/
