Added by Andries Seutens, last edited by Karol Babioch on Mar 04, 2008  (view change)

Labels

 
(None)
Zend_Validate_Barcode_EAN13 - Andries Seutens

Zend Framework: Zend_Validate_Barcode_EAN13 Component Proposal

Proposed Component Name Zend_Validate_Barcode_EAN13
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Validate_Barcode_EAN13
Proposers Andries Seutens
Darby Felton, Zend liaison
Revision 1.0 - Initial draft: 3 july 2007 (wiki revision: 12)

Table of Contents

1. Overview

Zend_Validate_Barcode_EAN13 is a simple component that validates the validity of an EAN13 barcode.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will validate the validity of an EAN13 barcode.
  • This component will calculate the proper checksums.
  • This component will not validate a barcode from an image.

4. Dependencies on Other Framework Components

  • Zend_Exception
  • Zend_Validate_Abstract

5. Theory of Operation

The component is instantiated with a mind-link that ... it will rock the planet.

6. Milestones / Tasks

  • Milestone 1: [DONE] write proposal
  • Milestone 2: get the proposal approved
  • Milestone 3: working prototype checked into the incubator
  • Milestone 4: write unit test, and check into SVN
  • Milestone 5: write documentation for this validator.
  • Milestone 5: introduce "component" to core.

7. Class Index

  • Zend_Validate_Barcode_EAN13

8. Use Cases

UC-01: validating barcode

UC-02: retrieving invalid length message
UC-03: retrieving invalid barcode message

9. Class Skeletons

Zend Comments

This component is approved for incubator development.