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

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.

主站蜘蛛池模板: 英超| 阿拉尔市| 长春市| 长治县| 顺平县| 黄山市| 宁波市| 正蓝旗| 阳城县| 岫岩| 都匀市| 津市市| 和政县| 罗定市| 平顺县| 兴安县| 鄂托克旗| 英德市| 镇江市| 石阡县| 桐城市| 丰都县| 启东市| 昭平县| 台南县| 栾川县| 肥乡县| 同心县| 神池县| 商都县| 宁海县| 平度市| 霍邱县| 枣强县| 额尔古纳市| 荆门市| 九龙坡区| 仁怀市| 洞口县| 潜江市| 黑河市|