Zend_Auth best practices
问题 My goal is to require login for certain pages. I am using Zend Framework MVC, and I'm trying to find examples regarding best practices. Some notes on what I'm looking for: I want non-logged in users to get a login box, and then return to logged in version of the page, once authenticated I want to use dependency injection, and avoid singletons Small code footprint - tie into Zend mvc structure Should login box be a separate controller and do header redirect? How to return to landing page after