Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Uuid Component Proposal

Proposed Component Name Zend_Uuid
Developer Notes
Proposers Christoph Kempen
Danny Verkade
Zend Liaison TBD
Revision 0.7 - 11 March 2010: Initial Draft. (wiki revision: 25)

Table of Contents

1. Overview

Zend_Uuid is a simple component that generates a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will generate UUIDs strictly complying with RFC 4122.
  • This component will use /dev/urandom on *nix platforms.
  • This component will use CAPICOM's getRandom method on Windows platforms.
  • This component will compare UUIDs in different formats (eg. canonical string, lowercase hex string, uppercase hex string, binary, URN).
  • This component will import UUIDs and transform them to a different format.

4. Dependencies on Other Framework Components

  • Zend_Exception

5. Theory of Operation

You can use Zend_Uuid to quickly generate a UUID.

6. Milestones / Tasks

The main code is ready. Zend_Uuid class is ready. Need to generate test-cases and Zend_Validation script. The Zend Validation Script will use the Zend_Uuid class, since validation is already in there.

  • Milestone 1: [DONE] Get proposal ready for review.
  • Milestone 2: Code the Zend_Validate_Uuid class.
  • Milestone 3: Generate Unit Tests

7. Class Index

  • Zend_Uuid
  • Zend_Validate_Uuid
  • Zend_Uuid_Exception

8. Use Cases

9. Class Skeletons


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.