[Grok-dev] batching view
adi at modiadi.com
Mon Mar 16 10:38:54 EDT 2009
I also foundz3c.table during the weekend.
I decided to use z3c.batching fpr the moment because I want to
understand the details. I will use some kind of persistent list but I
haven't decided yet.
I am still worried about the performance issue with a large collection
On Mar 16, 2009, at 10:09 AM, Christian Klinger wrote:
> if you want to display your data in a tabular fashion, i
> recommed you to look on a package called z3c.table. 
> This package allows you to do nearly everything related to tables.
> (Sorting, Batching, ...).
> If you need an examples howto deal with z3c.table it in grok, i can
> paste you some examples.
>  http://docs.zope.org/z3c.table/README.html
> HTH Christian
>> Hello everybody,
>> I am a new user of Grok. First of all I would like to say that grok
>> is a great project!
>> The project I try to do contains a news section. I will aggregate
>> news news from different sources on a daily basis(maybe 100 items per
>> I will have a grok.Container which contains news items based on
>> somethin like this :
>> class INews(interface.Interface):
>> title = schema.TextLine(...)
>> description = schema.Text(...)
>> pubDate = schema.Date(....)
>> I have a few issues which I am not sure how to deal with :
>> 1. How to do a batching view of the entire news collection? I see
>> as a list with maybe 10 news items sorted by date with previous and
>> next links.
>> 2. What if I would like to filter some results based on a search
>> 3. I am not sure yet if an approach like this (keeping news items
>> in a
>> container) will work with a large database.
>> Any help would be appreciated.
>> PS: if the answer is not really trivial, I am would like to write a
>> tutorial about a batching view because I believe that it is an
>> important part of most web apps
>> Thank you !
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev