on 08-12-2014 10:23 AM
Hi all,
I got a requirement to develop an OData based hybrid application. Currently there not much resources available which could guide me through the app development in a hybrid environment.
Kindly provide some information and guidelines to develop OData based hybrid application.
Regards,
Serveshwar Mishra
Hi serveshwar Mishra,
Which UI framework are you working with ? Is it on UI5 ?
Also are you integrating SMP and Kapsel plugins in here ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I assume you are consuming Odata services directly to Ui5 (SMP is optional depending on requirement )
These might help you for consumption of OData without SMP using UI5
Consuming Odata via Sencha
Integration of SMP with Sencha (Only UI framework changes ,The process of using other frameworks like UI5/JQM with SMP remains the same )
I would recommend two different web Ides (Appbuilder, River RDE ) available from SAP to quicken the development on UI5 framework.
A comparison of these and more info are found here .
Please note there is a dedicated Community for UI5 development
Regards
Virinchy
Sencha and UI5 both are good. UI5 is of SAP now as an open source. There is a dedicated library sap.m in UI5 . Also if the app is developed in Ui5 can be later be deployed in fiori launchpad along with other fiori Apps.
though ui5 is suggested , EOD its all about the requirement .
Appbuilder and river rde both are based on UI5 library only and cannot be used with other frameworks
Please provide complete details. Which SMP version you are using? Do you want to use REST API app development approach or kapsel based app development (one of the feature in latest SMP 3.0)
Rgrds,
JK
Note: Please don't close a thread if it has not answered and once you close it, for further query raise a new thread.
In addition to Midhun's comment, hyrbid app can be developed using REST API app development approach also, For offline capabilities, you have to code manually.
For additional info, follow these links
http://help.sap.com/saphelp_smp304sdk/helpdata/en/7c/0a4f017006101484238a3b00c4d5d0/frameset.htm
Hi Serveshar,
You are free to use any 3rd party cordova plugin. Ex. Apache Cordova Storage API Documentation
Even when you need any other funtionalities to the app like scanner, camera etc you can use the 3rd party plugins.
Regards,
Midhun VP
Hi Serveshwar,
If you are on SMP 2.3, for hybrid apps you have to go with HWC (hybrid web container) approach. You can find many resources in internet.
Also have a look at SMP 3 migration effort needed for each approach: . Choose the approach wisely since there is architectural difference with SMP 3 and older versions. You can find SMP 3 documentation here: SAP Mobile Platform – SAP Help Portal Page
Regards,
Midhun VP
Thanks for the quick response Jitendra.
So finally I should go with SAPUI5 + OData + SMP 2.3.
One more query... according to Sybase docs, it suggests to use datajs.js for OData interaction from the app. But it seems SAPUI5 itself provides sap.ui.model.odata.ODataModel class to interact with the OData services.
So how will I register my device on the SMP 2.3 server using SAPUI 5.
Regards,
Serveshwar Mishra
To add Jitendra's point,
You can even develop apps that consumes Odata directly in devices. The advantage of using SMP is that it takes care of the security, user on boarding, authentication and push notification. You build app using third party tools, without using SMP SDK or native client libraries SMP provides management and monitoring of apps.
Regards,
Midhun VP
Hi Serveshwar,
I haven't tried myself with REST API with web/hybrid apps. You have to call the REST API in your app to register. I didn't find an example with UI5. You can find the documentation here: SyBooks Online
Regards,
Midhun VP
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.