本文介绍了PhoneGap 或 Appcelerator 实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这更像是一个建议问题,而不是一个具体问题.我正在为移动设备开发应用程序.它的基本功能是打开 PDF 文件、视频文件和打开某些网页.这最好在 PhoneGap 或 Appcelerator 中实现吗?

This is more of an advice question rather than a specific question. I am developing an application for mobile devices. Its basic functionality will be to open PDF files, Video files, and to open certain webpages. Would this be best implemented in PhoneGap or Appcelerator?

推荐答案

PhoneGap 和 Appcelerator Titanium 都是非常流行的开源 JavaScript 框架,用于打包和部署移动应用程序.在 Universal Mind,我们有客户同时利用这两种框架,显然这两种框架在众多平台上都有无数成功的实现.但是,这两种产品之间存在足够显着的差异,因此直接比较它们并没有多大意义.根本区别在于,PhoneGap 是一个基于 Web 的解决方案,其中 Appcelerator Titanium 是一个创建本机代码的纯 JavaScript API.从本质上讲,它们为组织提供不同的功能.

PhoneGap and Appcelerator Titanium are both very popular open-source JavaScript frameworks for packaging and deploying mobile applications. At Universal Mind, we have clients that leverage both and clearly both frameworks have countless successful implementations on numerous platforms. However, there are enough significant differences between the two products that it doesn’t really make that much sense to compare them directly. The fundamental difference is that PhoneGap is a web-based solution where Appcelerator Titanium is a pure JavaScript API that creates native code. At the core, they serve different functions for an organization.

PhoneGap:

  • 提供对原生函数的访问的 JavaScript API

  • JavaScript API that provides access to Native Functions

支持 HTML5/CSS3

Supports HTML5/CSS3

支持网络标准和跨企业应用重复使用

Supports Web Standards & Re-use Across Enterprise Apps

支持基于 DOM 的 JavaScript 库/框架

Supports DOM based JavaScript Libraries/Frameworks

支持最多的平台

Appcelerator Titanium:

  • 提供对原生函数的访问的 JavaScript API

  • JavaScript API that provides access to Native Functions

编译为本机代码

可以提供更好的性能.

所以根据我的观点,我更喜欢 Phonegap

So as per my view i prefer Phonegap

这篇关于PhoneGap 或 Appcelerator 实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 00:09