Skip to content

Goatherd\Commons\Collection

goatherd edited this page Jun 25, 2012 · 2 revisions

Commons\Collection

Will provide a simple collection/ container data type implementation.

Should solve/ provide

  • Entities of the collection must be typed (extend a predefined class or interface).
  • Interface for collections
  • Interface for entities
  • default entity logic as trait
  • default entities
  • default collection

Proposal state

A generic implementation using SPL ArrayObject is provided for demonstration purposes. More advanced (generic) data structures have not been reviewed yet. It is assumed that ArrayObject does not scale well, but was not yet checked.

Final interface and design tests are pending.

Roadmap

A final design decision is scheduled for September 2012.

Clone this wiki locally