The Google SOAP problem

From: Date: Wed, 17 Apr 2002 01:57:47 +0000
Subject: The Google SOAP problem
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5587@lists.php.net to get a copy of this message
Any Opinions about this idea? Create a interface SEARCH, this interface could implemented by the google class. SEARCH could be a gerneral categorie, which covers the typical tasks for doing a small query and fetching the result. Ie. $search = Search::factory("GoogleSOAP", $googleArgs) ; $search_result = $search -> query("Alexander Merz", $queryArgs); while( $search_result->fetch()) { ... } other implementations could be LDAP or a wrapper for DB. $search_result could be like DB_Result. And we avoid pollution with company-related categories (Google_SOAP) or having a unspecific cat. like SOAP for any web services.

« previous php.pear.dev (#5587) next »