TigerZF
🌐English

Chapter 64. Zend_Service

Table of Contents

64.1. Introduction
64.2. Zend_Service_Akismet
64.2.1. Introduction
64.2.2. Verify an API key
64.2.3. Check for spam
64.2.4. Submitting known spam
64.2.5. Submitting false positives (ham)
64.2.6. Zend-specific Methods
64.3. Zend_Service_Amazon
64.3.1. Introduction
64.3.2. Country Codes
64.3.3. Looking up a Specific Amazon Item by ASIN
64.3.4. Performing Amazon Item Searches
64.3.5. Using the Alternative Query API
64.3.5.1. Introduction
64.3.6. Zend_Service_Amazon Classes
64.3.6.1. Zend_Service_Amazon_Item
64.3.6.1.1. Zend_Service_Amazon_Item::asXML()
64.3.6.1.2. Properties
64.3.6.2. Zend_Service_Amazon_Image
64.3.6.2.1. Properties
64.3.6.3. Zend_Service_Amazon_ResultSet
64.3.6.3.1. Zend_Service_Amazon_ResultSet::totalResults()
64.3.6.4. Zend_Service_Amazon_OfferSet
64.3.6.4.1. Properties
64.3.6.5. Zend_Service_Amazon_Offer
64.3.6.5.1. Zend_Service_Amazon_Offer Properties
64.3.6.6. Zend_Service_Amazon_SimilarProduct
64.3.6.6.1. Properties
64.3.6.7. Zend_Service_Amazon_Accessories
64.3.6.7.1. Properties
64.3.6.8. Zend_Service_Amazon_CustomerReview
64.3.6.8.1. Properties
64.3.6.9. Zend_Service_Amazon_EditorialReview
64.3.6.9.1. Properties
64.3.6.10. Zend_Service_Amazon_Listmania
64.3.6.10.1. Properties
64.4. Zend_Service_Amazon_Ec2
64.4.1. Introduction
64.4.2. What is Amazon Ec2?
64.4.3. Static Methods
64.5. Zend_Service_Amazon_Ec2: Instances
64.5.1. Instance Types
64.5.2. Running Amazon EC2 Instances
64.5.3. Amazon Instance Utilities
64.6. Zend_Service_Amazon_Ec2: Windows Instances
64.6.1. Windows Instances Usage
64.7. Zend_Service_Amazon_Ec2: Reserved Instances
64.7.1. How Reserved Instances are Applied
64.7.2. Reserved Instances Usage
64.8. Zend_Service_Amazon_Ec2: CloudWatch Monitoring
64.8.1. CloudWatch Usage
64.9. Zend_Service_Amazon_Ec2: Amazon Machine Images (AMI)
64.9.1. AMI Information Utilities
64.9.2. AMI Attribute Utilities
64.10. Zend_Service_Amazon_Ec2: Elastic Block Storage (EBS)
64.10.1. Create EBS Volumes and Snapshots
64.10.2. Describing EBS Volumes and Snapshots
64.10.3. Attach and Detaching Volumes from Instances
64.10.4. Deleting EBS Volumes and Snapshots
64.11. Zend_Service_Amazon_Ec2: Elastic IP Addresses
64.12. Zend_Service_Amazon_Ec2: Keypairs
64.13. Zend_Service_Amazon_Ec2: Regions and Availability Zones
64.13.1. Amazon EC2 Regions
64.13.2. Amazon EC2 Availability Zones
64.14. Zend_Service_Amazon_Ec2: Security Groups
64.14.1. Security Group Maintenance
64.14.2. Authorizing Access
64.14.3. Revoking Access
64.15. Zend_Service_Amazon_S3
64.15.1. Introduction
64.15.2. Registering with Amazon S3
64.15.3. API Documentation
64.15.4. Features
64.15.5. Getting Started
64.15.6. Bucket operations
64.15.7. Object operations
64.15.8. Data Streaming
64.15.9. Stream wrapper
64.16. Zend_Service_Amazon_Sqs
64.16.1. Introduction
64.16.2. Registering with Amazon SQS
64.16.3. API Documentation
64.16.4. Features
64.16.5. Getting Started
64.16.6. Queue operations
64.16.7. Message operations
64.17. Zend_Service_Audioscrobbler
64.17.1. Introduction
64.17.2. Users
64.17.3. Artists
64.17.4. Tracks
64.17.5. Tags
64.17.6. Groups
64.17.7. Forums
64.18. Zend_Service_Delicious
64.18.1. Introduction
64.18.2. Retrieving posts
64.18.3. Zend_Service_Delicious_PostList
64.18.4. Editing posts
64.18.5. Deleting posts
64.18.6. Adding new posts
64.18.7. Tags
64.18.8. Bundles
64.18.9. Public data
64.18.9.1. Public posts
64.18.10. HTTP client
64.19. Zend_Service_Ebay
64.19.1. Introduction
64.20. Zend_Service_Ebay_Finding
64.20.1. Introduction
64.20.2. Create a client object
64.20.3. Finding items
64.20.4. Keywords Recommendation
64.20.5. Histograms
64.21. Zend_Service_Flickr
64.21.1. Introduction
64.21.2. Finding Flickr Users' Photos and Information
64.21.3. Finding photos From a Group Pool
64.21.4. Retrieving Flickr Image Details
64.21.5. Zend_Service_Flickr Result Classes
64.21.5.1. Zend_Service_Flickr_ResultSet
64.21.5.1.1. Properties
64.21.5.1.2. Zend_Service_Flickr_ResultSet::totalResults()
64.21.5.2. Zend_Service_Flickr_Result
64.21.5.2.1. Properties
64.21.5.3. Zend_Service_Flickr_Image
64.21.5.3.1. Properties
64.22. Zend_Service_LiveDocx
64.22.1. Introduction to LiveDocx
64.22.1.1. Sign Up for an Account
64.22.1.2. Templates and Documents
64.22.1.3. Supported File Formats
64.22.1.3.1. Template File Formats (input)
64.22.1.3.2. Document File Formats (output):
64.22.1.3.3. Image File Formats (import):
64.22.1.3.4. Image File Formats (output):
64.22.2. Zend_Service_LiveDocx_MailMerge
64.22.2.1. Document Generation Process
64.22.2.2. Creating Templates in Microsoft Word 2007
64.22.2.3. Merging image data
64.22.2.4. Advanced Mail-Merge
64.22.2.5. Generating bitmaps image files
64.22.2.6. Local vs. Remote Templates
64.22.2.7. Getting Information
64.23. Zend_Service_Rackspace
64.23.1. Introduction
64.23.2. Registering with Rackspace
64.23.3. Cloud Files
64.23.4. Cloud Servers
64.23.5. Available Methods
64.24. Zend_Service_Rackspace_Files
64.24.1. Overview
64.24.2. Quick Start
64.24.3. Available Methods
64.24.4. Examples
64.25. Zend_Service_Rackspace_Servers
64.25.1. Overview
64.25.2. Terminology
64.25.3. Quick Start
64.25.4. Available Methods
64.25.5. Examples
64.26. Zend_Service_ReCaptcha
64.26.1. Introduction
64.26.2. Simplest use
64.26.3. Hiding email addresses
64.27. Zend_Service_ShortUrl
64.27.1. Overview
64.27.2. Quick Start
64.27.3. Available Methods
64.27.4. Additional Bit.ly Methods
64.28. Zend_Service_SlideShare
64.28.1. Getting Started with Zend_Service_SlideShare
64.28.2. The SlideShow object
64.28.3. Retrieving a single slide show
64.28.4. Retrieving Groups of Slide Shows
64.28.5. Zend_Service_SlideShare Caching policies
64.28.6. Changing the behavior of the HTTP Client
64.29. Zend_Service_StrikeIron
64.29.1. Overview
64.29.2. Registering with StrikeIron
64.29.3. Getting Started
64.29.4. Making Your First Query
64.29.5. Examining Results
64.29.6. Handling Errors
64.29.7. Checking Your Subscription
64.30. Zend_Service_StrikeIron: Bundled Services
64.30.1. ZIP Code Information
64.30.2. U.S. Address Verification
64.30.3. Sales & Use Tax Basic
64.31. Zend_Service_StrikeIron: Advanced Uses
64.31.1. Using Services by WSDL
64.31.2. Viewing SOAP Transactions
64.32. Zend_Service_Twitter
64.32.1. Introduction
64.32.2. Authentication
64.32.3. Account Methods
64.32.4. Application Methods
64.32.5. Block Methods
64.32.6. Direct Message Methods
64.32.7. Favorites Methods
64.32.8. Friendship Methods
64.32.9. Search Methods
64.32.10. Status Methods
64.32.11. User Methods
64.33. Zend_Service_WindowsAzure
64.33.1. Introduction
64.33.2. Installing the Windows Azure SDK
64.33.3. API Documentation
64.33.4. Features
64.33.5. Architecture
64.34. Zend_Service_WindowsAzure_Storage_Blob
64.34.1. API Examples
64.34.1.1. Creating a storage container
64.34.1.2. Deleting a storage container
64.34.1.3. Storing a blob
64.34.1.4. Copying a blob
64.34.1.5. Downloading a blob
64.34.1.6. Making a blob publicly available
64.34.2. Root container
64.34.3. Blob storage stream wrapper
64.34.4. Shared Access Signature
64.34.4.1. Generating a Shared Access Signature
64.34.4.2. Working with Shared Access Signatures from others
64.35. Zend_Service_WindowsAzure_Diagnostics_Manager
64.35.1. API Examples
64.35.1.1. Checking if a diagnostics configuration for the current role instance exists
64.35.1.2. Loading the current role instance diagnostics configuration
64.35.1.3. Storing the current role instance diagnostics configuration
64.35.1.4. Subscribing to a performance counter
64.35.1.5. Getting the current role instance id
64.36. Zend_Service_WindowsAzure_Storage_Queue
64.36.1. API Examples
64.36.1.1. Creating a queue
64.36.1.2. Deleting a queue
64.36.1.3. Adding a message to a queue
64.36.1.4. Reading a message from a queue
64.36.1.5. Check if there are messages in a queue
64.37. Zend_Service_WindowsAzure_Storage_Table
64.37.1. Operations on tables
64.37.1.1. Creating a table
64.37.1.2. Listing all tables
64.37.2. Operations on entities
64.37.2.1. Enforced schema entities
64.37.2.2. No enforced schema entities (a.k.a. DynamicEntity)
64.37.2.3. Entities API examples
64.37.2.3.1. Inserting an entity
64.37.2.3.2. Retrieving an entity by partition key and row key
64.37.2.3.3. Updating an entity
64.37.2.3.4. Deleting an entity
64.37.2.4. Performing queries
64.37.2.5. Batch operations
64.37.3. Table storage session handler
64.38. Zend_Service_Yahoo
64.38.1. Introduction
64.38.2. Searching the Web with Yahoo!
64.38.3. Finding Images with Yahoo!
64.38.4. Finding videos with Yahoo!
64.38.5. Finding Local Businesses and Services with Yahoo!
64.38.6. Searching Yahoo! News
64.38.7. Searching Yahoo! Site Explorer Inbound Links
64.38.8. Searching Yahoo! Site Explorer's PageData
64.38.9. Zend_Service_Yahoo Classes
64.38.9.1. Zend_Service_Yahoo_ResultSet
64.38.9.1.1. Zend_Service_Yahoo_ResultSet::totalResults()
64.38.9.1.2. Properties
64.38.9.2. Zend_Service_Yahoo_WebResultSet
64.38.9.3. Zend_Service_Yahoo_ImageResultSet
64.38.9.4. Zend_Service_Yahoo_VideoResultSet
64.38.9.5. Zend_Service_Yahoo_LocalResultSet
64.38.9.6. Zend_Service_Yahoo_NewsResultSet
64.38.9.7. Zend_Service_Yahoo_InlinkDataResultSet
64.38.9.8. Zend_Service_Yahoo_PageDataResultSet
64.38.9.9. Zend_Service_Yahoo_Result
64.38.9.9.1. Properties
64.38.9.10. Zend_Service_Yahoo_WebResult
64.38.9.10.1. Properties
64.38.9.11. Zend_Service_Yahoo_ImageResult
64.38.9.11.1. Properties
64.38.9.12. Zend_Service_Yahoo_VideoResult
64.38.9.12.1. Properties
64.38.9.13. Zend_Service_Yahoo_LocalResult
64.38.9.13.1. Properties
64.38.9.14. Zend_Service_Yahoo_NewsResult
64.38.9.14.1. Properties
64.38.9.15. Zend_Service_Yahoo_InlinkDataResult
64.38.9.16. Zend_Service_Yahoo_PageDataResult
64.38.9.17. Zend_Service_Yahoo_Image
64.38.9.17.1. Properties

64.1. Introduction

Zend_Service is an abstract class which serves as a foundation for web service implementations, such as SOAP or REST.

If you need support for generic, XML-based REST services, you may want to look at Zend_Rest_Client.

In addition to being able to extend the Zend_Service and use Zend_Rest_Client for REST-based web services, Zend also provides support for popular web services. See the following sections for specific information on each supported web service.

Additional services are coming in the future.