View Full Version : Ext.ux.data.PagingMemoryRemoteProxy

20 Mar 2009, 1:00 PM
Sorry if you've seen this before, but I cannot seem to find this on the forum. I am now making a wiki page for it here (http://extjs.com/learn/Extention:PagingMemoryRemoteProxy).

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:

1. Caching of data so the reader doesn't have to transform the data into records with each call (configurable).
2. Ability to grab the entire data set from the server, and be able to page it locally.
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
PagingMemoryRemoteProxy 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.

Also has a lot of other little features that I've been adding that you can check out via the demo.




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.

20 Mar 2009, 11:02 PM
Wouldn't this be almost the same as using my PagingStore extension (http://www.extjs.com/forum/showthread.php?t=57386)?

22 Mar 2009, 8:48 AM
It's definitely similar but not entirely the same. After reading the post for that extension, I see that people are having some problems with the extension with no solution provided. I'm sure people could find a use for either.

I actually made this extension 9 months ago and it disappeared from the forums, which is why I reposted it. If you feel like your extension does everything mine does but more/better, then let me know and I'll happily remove it.

22 Mar 2009, 9:35 AM
Just FYI, there's also a repository (see sig) you could add this to if you're so inclined.