on 12-06-2011 3:46 PM
Hi all,
I'm fairly new to the SUP world and I've had some success with porting an app that calls a ICF service (wrapped in a BSP) to multiple platforms using phonegap.
I'd like to add SUP in the mix and develop a Mobile Workflow app (hybrid) but use phonegap instead. Not having researched it very well, but I believe that phonegap would be a better alternative than SUP's hybrid web container.
I understand that SUP can expose objects, but I like not to include any client side code and simply use phonegap as a replacement.
In other words, what development workflow would enable me to generate a generic middleware layer with SUP (mbo, OData, rfcs...) such that I may use phonegap as my web container?
Is this possible? And would simply using AJAX calls work to interact with SUP, like so:
$.ajax({
type: "GET",
url: urlString,
data: "",
dataType: "json",
....
Any help would be greatly appreciated.
Thanks.
Obviously I'm biased, but I believe the hybrid web container provides a number of benefits over a generic hybrid applications, including, but not limited to:
- Automatic provisioning of applications
- Encryption of data in the client-side database, something HTML5 doesn't provide
- Encryption of the contents of the web application itself (JS, HTML, CSS)
- Push notification support
- Support for the occasionally disconnected use case, e.g. pushing messages onto a device-side queue while offline which silenty sends said messages as soon as the device comes online again
- Support for generating applications that work on all major platforms without having to go through the painful process yourself of figuring out what works on which platform and how
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Thanks for the reply.
Those benefits are quite numerous. Does the HWC provide access to the device's hardware(camera, gps, ...) in the same fashion as PhoneGap does? If so, can you provide me links?
I am still in the process of examining the pros/cons of both technologies. I am glad to see that the HWC does indeed use jQueryMobile, do you have any links to novice guides using SUP 2.1?
Thanks.
The general help is available at:
http://dcx.sybase.com/index.html#sup0210/en/com.sybase.infocenter.pubs.docset/doc/html/title.html
If you have something specifically you are interested in, let me know.
In terms of native device functionality, yes, HWC provides access to native device functionality. In the current shipping versions, however, it is only a subset of PhoneGap's supported functionality. We will be addressing this shortcoming shortly.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.