Thursday, January 27, 2011

Re: RequestFactory and Client side Caching

Thank You.

I looked into ProxyStore and ProxySerializer.
I can see we can put individual entityproxies in ProxyStore, and later retrieve it.
This is great.


- do you know if it is possible to put a List of proxies in the store, and later retrieve the list as a whole,
instead of an individual item, without looping through a result set ?

for example, when displaying a list of data in a table,
a server call, fetches a list of data. is it possible to store this list in the proxystore,
without iterating through the results, and later retrieve the entire list as a whole ?

- do you think ProxyStore should be application wide, bounded in Singleton scope,
(similar to PlaceController, EventBus, RequestFactory)
so that all of the application activities can store their data in it,
and data can be available to other activities who might require the same data later on,

or do you think its scope should be limited to the currently active activity(ies),
and when the Activity stops, data stored within this proxystore is discarded ?

Thank You

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment