on 06-01-2017 3:45 PM
Hi,
Does ui5 offers the developer any advantage for working with REST services?
(I know it is possible to call a rest service in ajax but the question is if UI5 gives the same support for REST as for OData)
Regards,
Elena
just like ORM framework(which hide sql from u), rest service is wrapped in a (ui5)model for you to consume.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think UI5 point of view, if you use JSONModel or XMLModel instead of a OData model, we can call REST services. See sample
var oModel = new sap.ui.model.json.JSONModel();
oModel.loadData(jQuery.sap.getModulePath( <RESTURL>), "", false);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.