Skip to end of metadata
Go to start of metadata

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

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

Zend Framework: Zend_Utility_Uuid Component Proposal

Proposed Component Name Zend_Utility_Uuid
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Utility_Uuid
Proposers Stephan Wentz
Zend Liaison TBD
Revision 1.0 - 1 January 2008: Initial Draft. (wiki revision: 11)

Table of Contents

1. Overview

Zend_Utility_Uuid is a simple component that generates RFC 4122 compatible UUIDs.
UUIDs will be Version 4 (random), but only the system clock-part is a random value.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will generate RFC 4122 compatible UUIDs
  • This component will use the uuid pecl extension if available
  • This component will generate Version 4 (random) UUIDs
  • This component will only use random values for the system clock part.
  • This component will try to determine the server IP for the node part of the UUID.
  • This component will try to determine either the Zend Thread ID or the PID for node part of the UUID.

4. Dependencies on Other Framework Components

None

5. Theory of Operation

The component is called statically to generate UUID strings.

6. Milestones / Tasks

  • Milestone 1: [DONE] write proposal
  • Milestone 2: Get community feedback
  • Milestone 3: Get the proposal approved
  • Milestone 4: Working prototype checked into the incubator supporting use cases #1, #2
  • Milestone 5: Unit tests exist, work, and are checked into SVN.
  • Milestone 6: Initial documentation exists.

7. Class Index

  • Zend_Utility_Uuid

8. Use Cases

UC-01 usage

9. Class Skeletons