May 20, 2012, 8:13 PM
[CLOSED] Ext JS 4.1 Store subclasses vs Ext.NET 2 Stores
Hi,
As I understand it, Ext JS 4.x provides a (nicely) reworked data package. The Store comes with subclasses such as JsonStore, ArrayStore, and more. Looking at the documentation for Ext JS 4.1, the subclasses do not have any new methods/properties. Instead the code for each subclass seems quite small and just configures a specific reader for you automatically.
I looked at the Ext.NET 2 code and noticed it doesn't explicitly have its own subclasses of Store. I just want to understand why that is. Looking through your examples, it looks to me that if you wanted to use a JsonStore, it is the same as setting a JsonReader for the proxy that the storey is using. Same if you want to use other types of stores. But you do provide implementations of the various proxies, from the new client side ones (local storage etc) to the server side ones.
So, am I right in thinking that the need for Store subclasses in Ext.NET 2 isn't as important because you would need to pick the right reader, anyway?
I should probably explain that in the data chapter, so just want to make sure I get that right!
Thanks!
As I understand it, Ext JS 4.x provides a (nicely) reworked data package. The Store comes with subclasses such as JsonStore, ArrayStore, and more. Looking at the documentation for Ext JS 4.1, the subclasses do not have any new methods/properties. Instead the code for each subclass seems quite small and just configures a specific reader for you automatically.
I looked at the Ext.NET 2 code and noticed it doesn't explicitly have its own subclasses of Store. I just want to understand why that is. Looking through your examples, it looks to me that if you wanted to use a JsonStore, it is the same as setting a JsonReader for the proxy that the storey is using. Same if you want to use other types of stores. But you do provide implementations of the various proxies, from the new client side ones (local storage etc) to the server side ones.
So, am I right in thinking that the need for Store subclasses in Ext.NET 2 isn't as important because you would need to pick the right reader, anyway?
I should probably explain that in the data chapter, so just want to make sure I get that right!
Thanks!
Last edited by geoffrey.mcgill; May 21, 2012 at 4:01 PM.
Reason: [CLOSED]