Android contrast the pros and cons of different development model

I. Description

As more and more people use smart phones, mobile client software is playing an increasingly important role in people's lives, many previously only in the PC business are beginning to support mobile terminals. The main mobile end of the development model has Native App, Web App and Hybrid App, then we compare their respective advantages and disadvantages.

Second, comparison

1、Native App

Description: Native App that is fully developed by a native App API.

advantage

  • Good performance: system-level API, fast and smooth animation.
  • Save traffic: resources can be packaged into the installation package.

Shortcoming

  • High development costs: general need to develop and maintain two platforms Android and iOS.
  • High maintenance costs: As the new version is not up to date, we need to maintain multiple historical cost.
  • Not instant fix bug: there is a problem can not be repaired in time, be required to repair the user to upgrade.

2, Web App

Description: generally refers to applications running on the mobile client browser.

advantage

  • Low development costs: a code that can run on multiple platforms.
  • No historical baggage: Since no new users to download the installation package, are the latest code for each request.
  • Iteration speed: no need to play multi-channel package, market review process applications submitted on-line, etc., can be directly deployed on the server side.
  • Instant fix the problem: there are problems can be repaired in time, without having to wait the same as the native App users to upgrade.

Shortcoming

  • Poor performance: Load the page, operation, animation and other aspects will be more than the original performance worse.
  • Part of the native function is not supported.

3、Hybrid App

Description: Hybrid App that is mixed-use development App, generally refers to a shell to do with the original, and then use WebView to load Web pages.

advantage

  • Cross-platform: native only needs to be a shell, you can use cross-platform Web.
  • Immediacy: it can be quickly upgraded without re-issued version.
  • Performance: In terms of some of the key test of the performance of the original students can support.

Shortcoming

  • Web performance business logic is lower than the original, but have fundamental, in order to sacrifice a bit of maintainability performance is understandable.
  • Can not be completely made version: Sometimes when you need to add native support also need to send edition.

Third, the summary

Native App and Web App is completely complementary advantages and disadvantages: the former has the advantage of the latter is precisely the lack of the latter's advantages and disadvantages happens to be the former. The Hybrid combines the advantages of native applications and Web applications, of course, will sacrifice some of their own advantages. I remember Romantic Zhongyue Min in a word - "good boy you can not let one person accounted for." The feeling is still very reasonable. To combine the advantages of both is bound to sacrifice some of its features, you can also compare the pros and cons of each choice of a development model in the most appropriate time to make technology selection.

Published 179 original articles · won praise 91 · views 330 000 +

Guess you like

Origin blog.csdn.net/haha223545/article/details/95596177