cvs: peardoc /en/package/webservices/services-ebay architecture.xml

From: Date: Sun, 05 Jun 2005 14:02:33 +0000
Subject: cvs: peardoc /en/package/webservices/services-ebay architecture.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6231@lists.php.net to get a copy of this message
schst Sun Jun 5 10:02:33 2005 EDT Modified files: /peardoc/en/package/webservices/services-ebay architecture.xml Log: some basic information about the caching system http://cvs.php.net/diff.php/peardoc/en/package/webservices/services-ebay/architecture.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/webservices/services-ebay/architecture.xml diff -u peardoc/en/package/webservices/services-ebay/architecture.xml:1.2 peardoc/en/package/webservices/services-ebay/architecture.xml:1.3 --- peardoc/en/package/webservices/services-ebay/architecture.xml:1.2 Tue Dec 21 17:11:02 2004 +++ peardoc/en/package/webservices/services-ebay/architecture.xml Sun Jun 5 10:02:33 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.webservices.services-ebay.architecture"> <refnamediv> <refname>Architecture</refname> @@ -155,6 +155,26 @@ </para> </refsect1> + <refsect1 id="package.webservices.services-ebay.architecture.services-ebay-cache"> + <title>Services_Ebay_Cache</title> + <para> + The <classname>Services_Ebay_Cache</classname> classes allow you to locally cache information that you + retrieved from the eBay webservice without changing anything in your scripts. After registering a cache instance + for any model type, <classname>Services_Ebay</classname> will query the cache before making a time-consuming + API call. + </para> + <para> + The cache classes use a very high abstraction and allow you to create new cache containers, so you could store + the data in a database, shared memory or wherever you like. Currently there is only one container available, which + stores the data in the local filesystem. + </para> + <para> + To determine, whether a cache is still valid an instance of <classname>Services_Ebay_Cache_ExpiryCheck</classname> + is used, which allows you to build &quot;intelligent&quot; caches that have a shorter expiry time the nearer the + end of an auction is. + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.pear.doc (#6231) next »