[PEPr] Comment on Web Services::Services_Google
| From: | PEPr | Date: | Sun, 18 Jul 2004 19:01:19 +0000 |
| Subject: | [PEPr] Comment on Web Services::Services_Google | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-32130@lists.php.net to get a copy of this message | ||
Justin Patrin (http://pear.php.net/user/justinpatrin) has commented on the proposal for Web
Services::Services_Google.
Comment:
You liken this to a database query, but your example code makes it clear that it's not.
I would siggest having query() actually make the call to Google, then have *one* loop with a fetch()
that ctually retreives a search result. Fetching subsequent "pages" of results should be
the job of this package.
Having a ->numResults() or ->numRows() on the result would be nice as well.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=112
--
Sent by PEPr, the automatic proposal system at http://pear.php.net