|
Description:
|
|
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 browse the source code, you’ll see that there’s even more potential for refactoring outside the video with the application of an interface.

|