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

Proposed Component Name Zend_Service_Rakuten
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Service_Rakuten
Proposers TERUI Shingo, Satoru Yoshida
Darby Felton, Zend liaison
Revision 0.7 - 26 Dec: update References, Use Cases and Class Skeletons.
0.6 - 19 Dec: update References, Class Index, Use Cases and Class Skeletons.
0.5 - 11 Dec: update References, Use Cases and Class Skeletons.
0.4 - 22 Nov: update all except Dependencies and Milestones.
0.3 - 21 May: update class skeletons.
0.2 - 15 March 2007: add class skeletons. (wiki revision: 19)

Table of Contents

1. Overview

Zend_Service_Rakuten is a interface to use the "Rakuten Web service" that is provided by the Rakuten, Inc. .

2. References

The following links are API references written in Japanese. I write method names and brief description for each API.

  • Rakuten Web Service
    • for the Rakuten Ichiba (Ichiba means shopping mall in japanese.)
      • ItemSearch
        • searchItem() - Search items.
      • GenreSearch
        • searchGenreChildren() - Retrieve genre's child genres.
        • searchGenreParent() - Retrieve genre's parent genre.
        • searchGenre() - Retrieve genre's information
      • ItemCodeSearch
        • searchItemCode() - Retrieve item's information by item code.
      • CatalogSearch
        • searchCatalog() - Search items by catalog.
    • for the Rakuten Books
    • for the Rakuten Auction
    • for the Rakuten Travel
    • Other purpose
      • DynamicAd
        • dynamicAd() - Retrieve dynamic advertisements that is suitable for content in URL that you specify.

3. Component Requirements, Constraints, and Acceptance Criteria

  • Implements the "Rakuten Web Service" APIs.
  • Returns server responses as lightweight data objects.

4. Dependencies on Other Framework Components

  • Zend_Rest_Client
  • Zend_Service_Exception

5. Theory of Operation

Returns server response as the SimpleXMLElement.

6. Milestones / Tasks

  • Milestone 1: Class development and write proposal
  • Milestone 2: Unit tests and debugging
  • Milestone 3: Documentation

7. Class Index

  • Zend_Service_Rakuten

8. Use Cases

UC-01

Search 3 items by word, "Zend Studio". Its case is most simple case.

UC-02

Retrieve hotels that have vacant room for 1 adult person in the kasukabe city from today to tommorow.
The kasukabe city is in the saitama ward, and the saitama ward is in japan.
The checkinDate and checkoutDate are in Tokyo Time. If you use another time, you must use 3rd parameter of Zend_Service_Rakuten().

UC-03

Display advertisements that is suitable for www.zend.com .
dynamicAd() needs affiliate ID in instantiation.

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.