官术网_书友最值得收藏!

Mobile Hybrid architecture

Before we start working with Ionic, we need to understand the bigger picture of Mobile Hybrid development.

The concept is pretty simple. Almost every mobile operating system (also called platform, when working with Cordova) has an API to develop apps. This API consists of a component named WebView. A WebView is typically a browser that runs inside the scope of a mobile application. This browser runs the HTML, CSS, and JS code. This means that we can build a web page using the preceding technologies and then execute it inside our app.

We can use the same knowledge of web development to build native-hybrid mobile apps (here, native refers to installing the platform-specific format file on the device after it has been packaged along with the assets), for instance:

  • Android uses Android Application Package (.apk)
  • iOS uses iPhone Application Archive (.ipa)
  • Windows Phone uses Application Package (.xap)

The package/installer consists of a piece of native code that initializes the web page and a bunch of assets needed to show the web page content.

This setup of showing a web page inside the mobile app container that consists of our application business logic is called a Hybrid App.

主站蜘蛛池模板: 峨边| 卓资县| 赤城县| 承德县| 文安县| 故城县| 临潭县| 彩票| 尖扎县| 卓尼县| 内江市| 隆德县| 昭觉县| 巫山县| 余干县| 松溪县| 张家口市| 托克逊县| 黄梅县| 额济纳旗| 成都市| 清水河县| 昭觉县| 兴海县| 苏尼特左旗| 桑日县| 磴口县| 临潭县| 武川县| 清新县| 房山区| 和平区| 阜新市| 鄢陵县| 甘孜| 广河县| 称多县| 崇信县| 乡宁县| 衢州市| 明光市|