Hi Experts,
I have been working with both oData and Json Models. Now I want to know on technical grounds, that what factors lead to the selection of a model?
When to use which model?
Request clarification before answering.
Hi,
The ODataModel is a server-side model, so the whole dataset is only available on the server, the client only knows the currently visible rows and fields.
When you bind a control to an OData model , it comes with many features out of the box such and filtering capability, sorting, pagination etc. However the corresponding server side implementation needs to be in place. Using SAP Netweaver Gateway you can expose SAP ERP data in form of OData service and which can be easily consumed in UI5.
On the other hand JSON model is client side model based on JSON data to be used for small set of data.
JSON is just a Data-interchange format based on JavaScript.
I hope this may be helpful for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.