Sencha touch2和PhoneGap之间的本地打包的区别 [英] Difference of Native packaging between Sencha touch2 and PhoneGap

查看:154
本文介绍了Sencha touch2和PhoneGap之间的本地打包的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sencha touch2和PhoneGap之间的原生包装有什么区别?

What is the difference of native packaging between Sencha touch2 and PhoneGap?

很多人使用PhoneGap基于Sencha touch来本地打包应用程序,但我发现Sencha touch 2具有本地包装的新特性。

Many people use PhoneGap to natively package app based on Sencha touch, but I find that Sencha touch 2 has a new feature of native packaging.

那么哪种类型的原生软件包在性能,可扩展性,功能和成熟度等方面更好?

So which type of native package is better in Performance, scalability, functionality, maturity, etc. ?

推荐答案

PhoneGap 是一个中间平台,许多平台上的API及其接口语言是Javascript。这意味着PhoneGap能够使用许多跨平台的移动网络框架,例如:Sencha Touch,Titanium,jQuery Mobile等。

PhoneGap is a middle-platform which is able to access some native APIs on many platforms and its interface language is Javascript. This means that PhoneGap is able to work with many cross-platform mobile web frameworks, such as: Sencha Touch, Titanium, jQuery Mobile, etc.

Sencha Touch 2 还通过其SDK提供了一些原生API(目前可在iOS,Android上使用)。

Sencha Touch 2 also provides a few native APIs (currently available on iOS, Android) through its SDK.

如果您不打算使用任何原生API他们在性能和功能上没有任何重大差异,因为唯一的工作是将您的Javascript代码包装到相应设备上的webview原生组件中。

If you are not going to use any native APIs, then they don't have any major differences on performance and functionality as the only work done is just to wrap your Javascript code into a webview native component on corresponding device.

最后,两个主要的区别是:

Lastly, the 2 main differences are:


  • PhoneGap提供了比Sencha Touch SDK更多的API。

  • PhoneGap支持7个平台,而Sencha Touch SDK只有2个。

这篇关于Sencha touch2和PhoneGap之间的本地打包的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆