View Full Version : Record and good practise

13 Oct 2010, 5:35 AM
Is it a good practice to access json property of a record instead of configuring a reader to contain all properties. In other words if I access a record.json.someProperty would it be better to configure a reader in a way to support accessing a property using record.data.someProperty?

13 Oct 2010, 5:43 AM
Not configuring data as fields will make it impossible for data-bound widgets to use the data. If that is not a problem then you don't have to store the data in a field (and save some memory).

13 Oct 2010, 6:24 AM
That was my idea exactly... if I use large store this way I would save a lot of memory but I wasn't sure if it was good to do it. Tnx Condor.