Re: Re: Data_Pagination

From: Date: Wed, 27 Sep 2006 08:25:02 +0000
Subject: Re: Re: Data_Pagination
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-44084@lists.php.net to get a copy of this message
Justin Patrin wrote:
It is, of course, true that your package is simpler, but this is because it only does the math of paging and not any actual paging. The Pager package actually does paging of data and has code for outputting the links to the pages. You can try to get your package into PEAR as Paging_Lite (or Math_Paging perhaps) but I would be far more inclined to accept it if it was integrated as a part of Pager. Your approach only differs in that you implement *only* the paging math and not any of the other things that Pager can do. This isn't a different design or a different implementation, just a simpler and more limited one.
right. I fail to see how it's better than PEAR::Pager. ATM, it provides only a fraction of the functionality without any "philosophical" difference. The benchmark results are obvious, given what each package does (or doesn't do), and we're talking about a difference in milliseconds anyway, not geological ages. BTW: when posting a benchmark result, posting the used benchmarking scripts too would be nice :-) Best regards, -- Lorenzo Alberton http://pear.php.net/user/quipo ___________________________________________________________________ Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più. ADSL, Hardware & Software Online Store

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