|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Incomplete/cached list
I'm working on some task-based software, and want to maintain views of
the tasks for easy querying - enter Glazed Lists.
The problem I'm facing:
Is this the right thing:
Thanks heaps for an awesome idea/implementation... Stephen |
|
|
Re: Incomplete/cached listHey Stephen,
GL does really ship with a good caching list. Most transformations only make sense when all of the data is actually present and can be acted on, so a cached list runs counter to this assumption. If reasonable behaviours can be made for sorting partially available data, or filtering, etc, then you can most likely make your own caching list without too much trouble. As an FYI, we have an EventList that uses Hibernate to keep its backing store in sync, so you may want to mine that if it applies. Disposing "views" of your task data will require effort on your part to reference count too, methinks. Unfortunately GL pipelines use hard references, and thus will prevent themselves from being GC'd until some external authority can dispose() the parts of the pipeline that won't be needed. Overall, you'll definitely have to get your hands dirty to get what you are describing. James On Wed, May 27, 2009 at 4:23 PM, Stephen Kestle <stephen.kestle@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |