cancel
Showing results for 
Search instead for 
Did you mean: 

Native apps vs Hybrid apps?

Former Member
0 Kudos

Hi ,

What are the advantages  of Native apps over Hybrid app?

How it effects for Synchronisation capabilities?

I saw most of the tutorials provided by SAP are base on Hybrid, does it mean SAP prefer Hybrid over Native?

I would like to know techical advantages and disadvantages over each.

Many Thanks

Nishan

Accepted Solutions (0)

Answers (1)

Answers (1)

jitendrakansal1
Community Manager
Community Manager
0 Kudos

Hi Nishan,

i think Hybrid applications are a better option if you:

* want to target multiple mobile platforms

* want the application to be useable (when device is offline)

*want to take advantage of device applications like camera, geoloaction etc

* dont need the advanced graphics performance that you can get only get frm a native app

native apps::

1. single platform affinity

2.written with platform SDKs
3.must be written for each platform seperately
4.access to all native APIs
5.faster graphics performance
6.AppStore distribution

Hybrid Apps::

Cross-platform affinity
written with web technologies (HTML5, CSS3, JS)
Runs locally on the device, supports offline
Access to native APIs
AppStore distribution

Regards,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Many thanks about your reply.

Apart form the development , I need to understand what missing in Hybrid solution compare to Native ones?

As we well aware creation workflow apps are the easiest approach  what is the need of go with native?

how it affect to synchronisation etc?

Many Thanks

Nishan

Former Member
0 Kudos

Hai Nishan,

    The real difference between Hybrid web Container applications and Native applicaitons come in the area of Scope of the application.

    HWC applicatons are meant only for developing small scale applications(like approval scenarios)  where Native applications are meant for Large scale applications.

   In the case of synchronization itself there are so many differences for HWC application and Native applicaiton.

  The following are the some of the differences...

1)In HWC applications it is not posible to synchronize multiple MBO at a single shot as there is not synchronize concept. For example if we want to download 4 MBOs data then  we need 4 online requests.

where in native applicaiton we can download any no of MBOs data at a time(by creating the synchronization groups).

2) In HWC application local database(Ultralitej or SQLite) will not be created automatically , we need to explicitly  create it. In case of Native Applicatons the local database(Ultralitej) will be created automatically.

3) In HWC app all the object queries will be directly execute in Unwired server where as Native app they will execute in local database so  making the offline app is very easy.

  And even in HWC application all the object queries run in Unwired server directly.

Former Member
0 Kudos

Hi kiran ,

Many thanks for you detailed reply.

Just to clear little bit more , with regarding following statement ,

1)In HWC applications it is not posible to synchronize multiple MBO at a single shot as there is not synchronize concept. For example if we want to download 4 MBOs data then  we need 4 online requests.

So does it mean that we won't be able to create two MBOs dependent on each other (with a relationship) if we use HWC?

Many thanks

Nishan


Former Member
0 Kudos

Hi Nishan,

  We can create two independent MBOs with relationship(until and unless those MBOs are belongs to Online Cache Policy).

  For example if u create MBOs with parent child relationship the parent will take care about filling the data within the child MBO when we call parent findAll method.

Former Member
0 Kudos

hi kiran,

i would like to correct your sentence here that.

We can create two independent MBOs with relationship(until and unless those MBOs are not belongs to Online Cache Policy).

and if you need to have relationship MBO,s in online cache group policy then the parent-child relationship should come from the back end itself so that parent will take care of filling the data for its child MBO when the client will fire the query on it.

prem

Former Member
0 Kudos

Hi Prem,

Do you have any experiecne with connecting mysql databse to SUP?

If so could you please let me know the steps of making a connection profile to mysql backend?

Please refer to following thread http://scn.sap.com/thread/3189850

Many Thanks

Nishan