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_Cloud_Infrastructure Component Proposal

Proposed Component Name Zend_Cloud_Infrastructure
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Cloud_Infrastructure
Proposers Enrico Zimuel
Zend Liaison TBD
Revision 1.0 - 4 April 2011: Initial Draft. (wiki revision: 2)

Table of Contents

1. Overview

Zend_Cloud_Infrastructure is a component of the cloud services to manage a cloud computing infrastructure.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will include a factory method.
  • This component will use the Zend_Service_* class to manage the Adapter of each cloud computing vendors (so far we have only available the class Zend_Service_Amazon_Ec2).
  • This component will not save any data using Zend_Cache or the filesystem.

4. Dependencies on Other Framework Components

  • Zend_Service_Amazon_Ec2
  • Zend_Service_* (cloud computing services)

5. Theory of Operation

The component is instantiated using a factory to initialize the specific cloud computing components.

6. Milestones / Tasks

  • Milestone 1: Proposal
  • Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, #3, #4
  • Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Cloud_Infrasctructure
  • Zend_Cloud_Infrasctructure_Adapter

8. Use Cases

UC-01

$infrastructure = Zend_Cloud_Infrastructure_Factory::getAdapter(array(
Zend_Cloud_Infrastructure_Factory::INFRASTRUCTURE_ADAPTER_KEY => 'Zend_Cloud_Infrastructure_Adapter_Ec2',
Zend_Cloud_Infrastructure_Adapter_Ec2::AWS_ACCESS_KEY => $amazonKey,
Zend_Cloud_Infrastructure_Adapter_Ec2::AWS_SECRET_KEY => $amazonSecret,
));

$nodeId= 'i-32242-sd';

$status= $infrastructure->statusNode($nodeId);

echo "The node $nodeId is in the $status status";

9. Class Skeletons

]]></ac:plain-text-body></ac:macro>

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