Zend Acl with Authentication and Reflection




Zend Screencasts: Video Tutorials about the Zend PHP Framework  (iphone) show

Summary: <p>This video tutorial is going to look at how we can build a simple authentication mechanism with Zend_Acl with complete unit test coverage. I wouldn’t say that this is entirely the Zend way of doing things since we’re not using Zend_Auth, however it would be relatively trivial to create a Zend_Auth Adapter for each of the lookup objects that we’re going to write. Lately I’ve been trying to stay disciplined about how I’m writing unit tests and so I figure this should translate into what I’m teaching. I inadvertently covered using reflection in a refactoring job. When you <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/zc28-zend-acl-with-authentication-and-reflection">browse the source code</a>, you’ll see that there’s even more potential for refactoring outside the video with the application of an interface.<br> </p>