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

Proposed Component Name Zend_Service_Facebook
Developer Notes
Proposers My Name
Zend Liaison TBD
Revision 1.0 - 1 January 2008: Initial Draft. (wiki revision: 4)

Table of Contents

1. Overview

Zend_Service_Facebook provides an easy to API to Facebook's API and model-classes, without using facebook's own class.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

*Component will be configurable (AppId, secret, ...)
*Component will be able to check if user is logged in
*Component will be able to redirect to log in window
*Component will be able to check if user is lo
*Component will be able to perform http calls to facebook's api
*Component will be able to provide model objects for all types of facebook objects

4. Dependencies on Other Framework Components

  • Zend_Exception
  • Zend_Http_Client
  • Zend_JSON

5. Theory of Operation

The Component can be used to query facebook's graph api to get information about different type of facebook objects, like users, albums, ...
It should act as a facade to the api. Stuff like $facebookUser = $facebook->getUser('userId') will provide an easy way to access the api. In addition return data will be presented in model objects with generic getters.

6. Milestones / Tasks

  • Milestone 1: Write object factory class
  • Milestone 2: Write object classes
  • Milestone 3: Write facebook access classes
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Documentation exists.

7. Class Index


8. Use Cases

UC-01 Facebook API can be queried
UC-02 Facebook login window is presented if user has to log in
UC-03 Data will be parsed an returned properly

9. Class Skeletons


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