Added by Ben Scholzen, last edited by Ben Scholzen on Apr 15, 2008  (view change)

Labels

 
(None)

Zend Framework: Zend_Mpc Component Proposal

Proposed Component Name Zend_Mpc
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Mpc
Proposers Ben Scholzen
Revision 1.1 - 15 April 2008: Initial proposal. (wiki revision: 2)

Table of Contents

1. Overview

Zend_Mpc is an MPC (Music Player Client) for MPD (Music Player Daemon).

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will support all commands of MPD.
  • This component will convert all error messages from MPD to Zend_Mpc_Exceptions.

4. Dependencies on Other Framework Components

  • Zend_Exception

5. Theory of Operation

The component is instantiated with a hostname/IP address and a port (which when ommited, will be the default MPD port). After that you can call commands to the MPD server and receive data like current playing title and such.

6. Milestones / Tasks

  • Milestone 1: Proposal finished
  • Milestone 2: Working prototype checked into the zend.svn.dasprids.de
  • Milestone 3: Component approval
  • Milestone 4: Working prototype checked into the incubator
  • Milestone 5: Unit tests exist, work, and are checked into SVN.
  • Milestone 6: Initial documentation exists.

7. Class Index

  • Zend_Mpc
  • Zend_Mpc_Exception

8. Use Cases

UC-01

$mpc = new Zend_Mpc('localhost');
$mpc->play();

9. Class Skeletons