Added by Steven Brown, last edited by Steven Brown on Mar 27, 2008  (view change)

Labels

 
(None)
Under Construction

This proposal is under construction and is not ready for review.

Zend Framework: Zend_Captcha Component Proposal

Proposed Component Name Zend_Captcha
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Captcha
Proposers Steven Brown
Revision 0.1 - 8 January 2008: Created. (wiki revision: 4)

Table of Contents

1. Overview

Zend_Captcha is designed to allow developers to quickly and easily implement captchas. While there should be several options so that developers can customise their captchas there should be a good default standard that is improved as advancements are made.

Audio captchas should be an option down the track.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will provide a means for developers to implement captcha.
  • This component will default to the most "secure" captcha preferences.
  • This component will allow developers to customise the captcha.

4. Dependencies on Other Framework Components

  • Zend_Exception

5. Theory of Operation

The captcha image can be created as an object and output to the browser from an action. The captcha answer will be stored in a session namespace (or maybe custom storage options are allowed with a reference ID). Entered data can be compared against the captcha answer.

6. Milestones / Tasks

  • Milestone 1: Definition.
  • Milestone 2: Working prototype.
  • Milestone 3: Unit tests exist, work, and are checked into SVN.
  • Milestone 4: Initial documentation exists.

7. Class Index

  • Zend_Captcha_Exception
  • Zend_Captcha (factory class)

8. Use Cases

9. Class Skeletons

Zend_Captcha