freeCodeCamp/guide/chinese/mobile-app-development/index.md

49 lines
2.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Mobile Application Development
localeTitle: 移动应用开发
---
## 移动应用开发
![混合应用](https://preview.ibb.co/chfPGv/Whats_App_Image_2017_09_11_at_12_48_41_PM.jpg)
本节包含使用Apache CordovaIonic Framework和React Native等框架的移动混合应用程序开发相关文章。
## 本机与混合应用的优缺点
原生应用定义
* 专为特定操作系统而构建,只能从专用的应用商店访问。 Android App只能由Android用户访问并使用JavaWindowsC ++等开发。 使用XCode / Objective-C等的iOS App
* 开发成本和努力更高
混合应用定义
* 使用Native Device的浏览器容器来包含HTML5应用程序。
* 开发混合应用程序是一致的跨平台UI。
开发成本和时间
与原生应用相比,混合应用开发时间和金钱最少。 两个平台的一个代码。
用户体验
原生应用程序在设备的特定外观和感觉方面提供最佳用户体验。 与Hybrid App相比Native App的性能更佳
### Apache Cordova
Apache Cordova是将HTMLCSS和JavaScript包装到可构建的移动软件包中的包装器充当了将所有内容粘合在一起并将其转换为移动应用程序的魔力
### 离子框架
Ionic Framework是一个CSS框架它允许您将屏幕样式设置为移动友好基本上作为引导程序但在使用Web技术开发时用于移动应用程序。
### 反应原生
React Native是一个前端开发框架包含许多用于Android / iOS开发的构建块元素是Apache Cordova的另一种魔力。
### NativeScript
最初由Progress创建NativeScript应用程序是使用JavaScript构建的或者使用任何转换为JavaScript的语言例如TypeScript构建。 NativeScript通过社区开发的插件直接支持Angular和Vue框架。使用NativeScript构建的移动应用程序可生成完全本机应用程序这些应用程序使用与在Xcode或Android Studio中开发的API相同的API。
### 扑
Flutter是谷歌的跨平台移动开发框架我可以轻松地创建ios和Android应用程序。它使用Dart作为主要语言。它的热重载功能有助于加快整个开发过程。 Flutter生成真正的本机应用程序如React Native而不是cordovaIonic和Cordova它们生产混合应用程序。