On Mon, May 07, 2007 at 02:49:24PM -0700, Philip Jenvey wrote:
> On May 5, 2007, at 1:07 PM, Christoph Haas wrote:
> > as some of you already know I have never been very happy with
> > Webhelpers' built-in pagination module. So I wrote my own (that is NOT
> > compatible with the existing one) and I love it so far.
> >
> > Interested? Get it from http://workaround.org/pylons/paginator/ and  
> > let me know what you think. Some of the features:
> >
> Without having compared your paginator and WebHelpers', would it be  
> possible to rewrite the WebHelpers' paginator to use your code  
> (maintaining the old API)?

It would be. You probably mean adding features to it while keeping the
API. But IMHO my paginator is both simpler to use and has more features.
Where the original paginator uses three classes for Paginator, Page and
Window I just have one. You can use my paginator to iterate over it
directly because it subclasses the "list" class. While it would be
possible to make it backwards-compatible it would not help much. I can
imagine having it included in the Webhelpers as a module that is called
differently ("paginator2" or whatever) though.

 Christoph


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to