Re: New classes

From: Date: Sat, 02 Feb 2002 16:45:40 +0000
Subject: Re: New classes
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4355@lists.php.net to get a copy of this message
Richard Heyes wrote: > > > I still think that Snoopy should be ported to PEAR. Ok, if people thinks > > that it's a weight class its functionality could be splitted in more > > classes like the Request, Post, etc. > > Sounds good. I'll towards that instead. Helper url functions could go there also, in the end they are related to a HTTP_Client class :-) > > Richard, why we don't build a more open Pager package with support for > > arrays, helper methods for building links, more pager options like page > > by name, date, etc? > > Any ideas as to what this should be called? Not sure what you mean with > paging by name/date... perhaps ordering the array by certain criteria and > then paging? > Simply "Pager" would be good IMO. About the paging by other criteria, yes. In the case of DBs is more easy, for arrays a pre-ordering will be needed. Perhaps if we could use the same data structure for both types (DB and arrays) we could minimize the duplication of code: ej Pager_common, Pager_DB, Pager_array.. Tomas V.V.Cox

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