Unanswered: JSON Nested : Current ExtJS data modeling not scalable?
Unanswered: JSON Nested : Current ExtJS data modeling not scalable?
Json nested data is a basic future of json and it is mutlti-dimension data modeling. Current ExtJS data modeling is not scalable.
Current ExtJS Model is try to simulate two dimension data modeling (Rows and Columns). which is not possible use with document based databases and etc. Reason is model association work with 1st-level attributes only.
Solution could be, New attribute can be introduced with association called "path" (where framework can go and find a model if nested) instead of getProducts() or getCustomer()
associationKey is the config that is suppose to be able to tell the association where the data is. Currently it does only go to the first level but I have a merge request where associationKey can accept a string that will allow it to traverse objects/arrays to deeply nested data. This will likely not make it in till 4.2