PDA

View Full Version : PagingMemoryHttpProxy



crenix
28 Apr 2008, 7:41 AM
What is it?

This extension is exactly like PagingMemoryProxy found here: http://extjs.com/forum/showthread.php?t=11652, except it adds a few things:

Caching of data so the reader doesn't have to transform the data into records with each call (configurable).
Ability to grab the entire data set from the server, and be able to page it.
This is the main reason for this plugin. I had a very special case where paging using
the server alone was slow and not what I wanted. You can supply an url parameter to the
PagingMemoryHttpProxy, and on the first call to load it will grab the data from the server.
It will be paged based on the parameters you send in as normal. Any consecutive calls to
load will load it from the cache. You must call reset() in order for it to fetch the data
from the server again.


Demo

http://outroot.com/extjs/PagingMemoryHttpProxy

Contact

You can contact me via my profile on this forum, or my email address found on http://outroot.com. I would appreciate any comments, suggestions, or feature requests.