Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we tell whether an app was made with phonegap or similar cross platform solution?

When I download an app, is it possible to tell whether the app was made via cross platform solutions instead of native?

Would there be any noticeable differences in performance between a native and a (I don't know the right word to call it) built in web UI?

like image 495
resting Avatar asked Jan 09 '23 23:01

resting


1 Answers

A native application is an application coded with the native language with the device, Objective C for iOS for example.

A mobile web application is one created with web technologies (HTML, CSS, JavaScript) by using a framework like Sencha Touch.

A hybrid application is somewhere in the middle of these two. For example, a Sencha Touch application that uses PhoneGap would be considered a hybrid application. We’re using web technologies but PhoneGap gives us access to native APIs that we would not have access to otherwise – thus it’s a hybrid of native and web.

Native Applications

Pro: a) Native apps have the best performance and use the last available hardware resource to improve performance.
b) Applications will work in offline mode.
c) The apps are distributed through platforms App store providing better visibility to the prospective users.
d) Your application will have access to the latest API’s, releases on that platform.
e) The apps are built in languages the platform supports and so, has access to IDEs which provide the best tools to develop, debug the project fast. iOS app can be built in objective C on XCode which has all the tools to debug, design the interface, and check the performance using Instruments etc.
f) Linkedin is one example which shifted over to Native from HTML5.
g) And there is Facebook too, which took a U-turn.

Cons: a)You need huge budgets to support all the platforms that have considerable markets. You will need to maintain multiple teams, one team per platform you want to support. So basically each team will replicate the same functionality in their platform.
b)App updates needs to be downloaded by users and so you end up maintain several versions of Apps on your web server if not properly designed.
c)Availability of developers for ramping up is another concern. When objective C suddenly revived after release of iPhones, there are not enough good developers ready. May be the developers can be trained , but it is not feasible for small and medium head count companies and even in bigger companies where the training is feasible, the developers trained are not going to be at the same level of expertise they were on the technologies they are working on.

HTML 5 Mobile web app:-

Pro: a) HTML5 mobile app is similar to a normal web app, except that they are designed to work at smaller screens.
b) The distribution of these apps is very easy. You just deploy the web app on your web server and users access it from their browsers.
c) There are some very good mobile UI frameworks like JQuery Mobile, Sencha Touch and of course my favorite mgwt which provides several widgets for mobile.
d) These apps can probably reach out all platforms since they run on browsers and all the modern smart phones have a browser.
e) The development and testing of these apps is easier as they are similar to normal web apps where you have tooling support.

Cons: f) These apps don’t have access to the native functionality.
g) Performance doesn’t match with native apps.
h) These apps don’t work in offline. Actually works in offline mode, but that doesn’t match what native apps provide.

Hybrid Apps:-

Pro: a) Hybrid apps are faster to develop since most of the development is done is web technologies which are cross platform and do very small amount of native coding, only when access to native layers is required. So only small portion of the code needs to be re-implemented for other platforms .This saves development time and cost and you can concentrate on developing new features rather than replicating the same features on each platform.
b) You are near to ‘Write Once, Run Anywhere’, the strategy that made Java such a dominant force.
c) The tools for building Hybrid apps are not mature enough when compared to their counterparts on native apps. The situation is changing rapidly and soon there can be some good tools which support development of cross platform Hybrid apps.
d) These applications can be deployed in platform specific app stores.
e) Hybrid apps provide good and bad of both native apps and HTML5 web apps.
f) They can access the native layers.
g) These apps can work in offline mode.
h) Netflix is one cool example which runs the same code base against all the devices.
i) Gartner predicts by 2016 more than 50 % of the apps deployed will be Hybrid apps.

Cons: a) Hybrid apps, even though are packaged natively are not native apps. They execute on the platforms web engine, Webkit in case of Android and iOS which is another layer between the user and the application and so the performance can’t match the native apps.
b) Since Hybrid apps are normally built using standard web technologies, there will be huge pool of developers available for ramping up. This is not the case with native apps.

If you are building productivity apps , Utility apps or Enterprise apps, Hybrid apps are for you.

If you are building games or photos, videos related app then Native apps are the way to go.

If you are building apps which need to work in real time, which doesn’t need access to the native layer and is not performance stressed, then html5 mobile web apps are the way to go.

So the decision needs to be done based on what type of application you are building, what is the development cost and time that can be offered.

like image 181
min2bro Avatar answered Jan 25 '23 18:01

min2bro