Sencha Touch 2本机构建与环绕Sencha Touch 2在Phonegap [英] Sencha Touch 2 native build vs wrapping Sencha Touch 2 in Phonegap
问题描述
我知道有一些问题Sittinga Touch 2对Phonegap,这不是我的意思是做这里。我一直计划使用Sencha Touch 2构建我的Webapp,并将其封装在Phonegap;但我刚刚发现,Sencha Touch 2也允许你建立一个本地版本的网络应用程序的Android和ios使用命令行工具。为什么我没有听说过这个解决方案?这样做有什么限制?更好的是,使用Sencha Touch 2的本机构建功能或者使用Sencha Touch 2 + Phonegap路线?
I know there are a few questions pitting Sencha Touch 2 against Phonegap, and that is not what I mean to do here. I have been planning to build my Webapp using Sencha Touch 2 and wrapping it in Phonegap; but I just found out that Sencha Touch 2 also all allows you to build a native version of your web-app for Android and ios using there command line tool. Why haven't I heard much about this solution? What are the limitations with doing this? And what is better, using Sencha Touch 2's native build feature or going the Sencha Touch 2 + Phonegap route?
推荐答案
猜测Sencha Touch 2本地包装仍然会使用UIWebViews(如PhoneGap),所以性能会相似。就个人而言,我会坚持使用PhoneGap / Cordova,因为它是一个更成熟的产品,拥有更大的用户群。您仍然可以使用Sencha Touch 2框架,但仍然用xcode捆绑/发布应用程序。
I'm guessing that Sencha Touch 2 native packaging will still be using UIWebViews (like PhoneGap) so the performance will be similar. Personally I would stick with PhoneGap/Cordova as it's a more mature product with a larger user base. You can still use the Sencha Touch 2 framework but still bundle/publish the app with xcode.
这篇关于Sencha Touch 2本机构建与环绕Sencha Touch 2在Phonegap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!