Phonegap和Sencha Touch的区别

时间:2022-01-15 16:53:32

I read many documents regarding to Phonegap and Sencha Touch. But i still confused with these two.

我读了很多关于Phonegap和Sencha Touch的文件。但我还是搞不清这两个。

I have already created one native android application. Now, i want to create same application which run on multiple device. So, i am confused with these two frameworks.

我已经创建了一个本机android应用程序。现在,我想创建在多个设备上运行的相同应用程序。所以,我对这两个框架感到困惑。

  • Which is the best one from these two to use and why ?

    这两者中哪一个是最好的,为什么?

  • What is the difference between Phonegap and Sencha Touch ?

    Phonegap和Sencha Touch有什么区别?

  • What is the difference between sencha touch and sencha touch 2 ?

    sencha touch和sencha touch 2的区别是什么?

6 个解决方案

#1


25  

What is the difference between Phonegap and Sencha Touch ?

Phonegap和Sencha Touch有什么区别?

Sencha Touch is a full and rich framework for creating mobile user interfaces and related data modelling, server communications and business logic. Like Sencha ExtJS for desktop/tablet apps, you code most of the app using a clean MVC design based on Javascript classes. HTML is generated by these classes that treats HTML like an assembly language. This abstracts the differences/bugs/qwerks between the various mobile platform browsers and browser versions saving the developer from most of the pain that HTML based solutions exhibit. Instead the developer assembles higher-level components that provide features such as data modelling and collection binding, drag/drop and UI animations. You also get smooth scrolling and auto data pre-fetching of potentially infinite data collections while internally delivering optimised DOM performance through DOM element reuse. This is made possible because you no longer code the HTML or XML directly, rather Javascript classes create/destroy/recycle DOM elements for you. You can still customise components using HTML templates.

Sencha Touch是一个完整而丰富的框架,用于创建移动用户界面和相关数据建模、服务器通信和业务逻辑。就像桌面/平板应用程序的Sencha ExtJS一样,您可以使用基于Javascript类的清晰MVC设计来编写大部分应用程序。HTML由这些类生成,这些类将HTML视为汇编语言。这抽象了各种移动平台浏览器和浏览器版本之间的差异/bug /qwerks,使开发人员免受基于HTML的解决方案带来的大部分痛苦。相反,开发人员组装更高级别的组件,这些组件提供数据建模和集合绑定、拖放和UI动画等特性。您还可以平滑滚动和自动提取潜在的无限数据集合,同时通过DOM元素重用在内部交付优化的DOM性能。这是有可能的,因为您不再直接编码HTML或XML,而是Javascript类为您创建/销毁/回收DOM元素。您仍然可以使用HTML模板定制组件。

ExtJS 5 now supports ViewModels (MVVM) and so its anticipated that Sencha Touch 3.x will also.

ExtJS 5现在支持ViewModels (MVVM),因此可以预期Sencha Touch 3。x也。

You can use Sencha Touch to create web applications that look and feel like mobile apps OR you can compile them into native apps that ship with either a PhoneGap native wrapper or Sencha's own native wrapper. Sencha is focusing future efforts on the PhoneGap native wrapper over it's own and provides several device related classes that integrate with the PhoneGap APIs and sometimes provides simulations of these APIs when PhoneGap is not loaded (e.g. testing in a desktop browser).

您可以使用Sencha Touch创建看起来和感觉上像移动应用程序的web应用程序,也可以将它们编译成本地应用程序,这些应用程序可以使用PhoneGap本地包装器,也可以使用Sencha自己的本地包装器。Sencha将未来的工作重点放在PhoneGap本机包装器上,并提供几个与设备相关的类,这些类与PhoneGap api集成在一起,有时在没有加载PhoneGap时提供这些api的模拟(例如在桌面浏览器中进行测试)。

PhoneGap provides a bridge for Javascript code to call native device features (like Digital compass, Microphone, Camera, Battery, Device capabilities/status, File system etc). These are provided via PhoneGap plugins that are re-implemented with identical Javascript interfaces on each OS platform. Plugins may or may not integrate with these hardware or other operating system features (e.g. Barcode scanning plugins use the Camera, while SQLite database engine accesses the local filesystem). PhoneGap ships with several standard plugins but there are currently 550+ Cordova plugins registered.

PhoneGap为Javascript代码提供了调用本机设备特性的桥梁(如数字罗盘、麦克风、摄像头、电池、设备性能/状态、文件系统等)。这些是通过在每个OS平台上使用相同的Javascript接口重新实现的PhoneGap插件提供的。插件可能与这些硬件或其他操作系统特性集成,也可能不集成(例如,条形码扫描插件使用摄像头,而SQLite数据库引擎访问本地文件系统)。PhoneGap舰船有几个标准的插件,但是目前有550+ Cordova插件注册。

The PhoneGap team have looked to the future where some of these hardware APIs are making their way into browser APIs and sought to follow the emerging standards in order to ensure as smooth as possible transition for developers as this trend emerges.

PhoneGap团队展望了一些硬件api进入浏览器api的未来,并试图遵循新兴的标准,以确保随着这一趋势的出现,开发人员尽可能平稳地过渡。

Which is the best one from these two to use and why ?

这两者中哪一个是最好的,为什么?

Hopefully you'll now see that they are not competing but rather complimentary technologies that are frequently used together.

希望您现在看到它们不是相互竞争的,而是经常一起使用的互补技术。

You can develop simple PhoneGap apps that don't rely on any other frameworks but today most mobile developers will use PhoneGap with one of the following popular javascript frameworks that do compete with each other: AngularJS, Kendo UI, jQuery Mobile or Sencha Touch.

您可以开发简单的PhoneGap应用程序,这些应用程序不依赖于任何其他框架,但现在大多数移动开发人员将使用PhoneGap与以下流行的javascript框架之一进行竞争:AngularJS、Kendo UI、jQuery mobile或Sencha Touch。

What's the difference between Cordova and PhoneGap ?

科尔多瓦和PhoneGap有什么区别?

You didn't ask this but it needs answering in this context. The best answer is here.

你没有问这个问题,但它需要在这个背景下回答。最好的答案在这里。

What is the difference between Sencha Touch and Sencha Touch 2 ?

Sencha Touch和Sencha Touch 2有什么区别?

The original Sencha Touch 1.x and Sencha ExtJS 4.1 are now both deprecated but both used an earlier Javascript class model. Sencha Touch 1.x also lacked many other features including integration with PhoneGap and the new Sencha Command build system.

原来的Sencha Touch 1。现在,x和Sencha ExtJS 4.1都已弃用,但都使用了早期的Javascript类模型。Sencha Touch 1。x还缺少许多其他功能,包括与PhoneGap和新的Sencha命令构建系统的集成。

Sencha Touch 2.x brought in a new smarter and leaner class design that has recently been fully adopted by the ExtJS 5.x . ExtJS 5.x also brings View Models (MVVM to replace MVC) that we expect will be in (yet to be released) Sencha Touch 3.x

Sencha Touch 2。x引入了一种更智能、更精简的类设计,ExtJS 5最近完全采用了这种设计。x。ExtJS 5。x还带来了视图模型(MVVM来代替MVC),我们希望它将会出现在Sencha Touch 3.x中(尚未发布)

If you plan to use PhoneGap and Sencha Touch together, you might also be interested in Sencha Touch Live, a free open source app I created that will significantly boost your productivity. With a single command it can create, compile, deploy and run a new app on a device (or device emulator/simulator). You can then "live edit" the Sencha Touch code one or more device/emulators. You just save the file and it reloads the app onto the devices. It even auto compiles your SCCS files into CCS. So you rarely need to recompile/redeploy/rerun or restart debuggers, just edit and save and immediately view the results on multiple devices. Unlike PhoneGap Developer App it was based on, you can use any of the PhoneGap plugins. Tons of other cool features to enjoy!

如果你打算同时使用PhoneGap和Sencha Touch,你可能还会对Sencha Touch Live感兴趣,这是我创建的一个免费的开源应用程序,可以显著提高你的工作效率。通过一个命令,它可以在设备(或设备模拟器/模拟器)上创建、编译、部署和运行一个新的应用程序。然后,您可以“实时编辑”Sencha Touch代码一个或多个设备/模拟器。你只需保存文件,它就会将应用重新加载到设备上。它甚至可以自动将SCCS文件编译成CCS。因此,您很少需要重新编译/重新部署/重新运行或重新启动调试器,只需编辑和保存并立即在多个设备上查看结果。与基于PhoneGap开发应用不同,您可以使用任何的PhoneGap插件。大量其他的酷功能享受!

#2


41  

Sencha Touch is an HTML5 mobile framework. It will help you to develop a web application with HTML, JavaScript and CSS. There are more similar frameworks, like jQuery Mobile or Lungojs.

Sencha Touch是HTML5移动框架。它将帮助您开发具有HTML、JavaScript和CSS的web应用程序。有更多类似的框架,比如jQuery Mobile或Lungojs。

On the other hand, PhoneGap is a platform that allows you to use mobile devices features, such as GPS, camera, etc., through a JavaScript interface.

另一方面,PhoneGap是一个平台,允许您通过JavaScript接口使用移动设备特性,如GPS、摄像头等。

In conclusion, to create an app using these technologies, you would implement the design and the logic in HTML5 (with Sencha Touch if you wish), would use PhoneGap to make use of the device features and wrap the app as a native application.

综上所述,要使用这些技术创建一个应用程序,您需要在HTML5中实现设计和逻辑(如果您愿意,可以使用Sencha Touch),使用PhoneGap来利用设备特性,将应用程序包装成一个本机应用程序。

#3


37  

I would like to add that in Sencha touch its possible to use some device features. Currently i am workin on web app which is build to android device and i am using camera(http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Camera). It works pretty cool.

我想在Sencha touch中添加一些设备特性。目前我正在开发一个基于android设备的web应用程序,我正在使用摄像头(http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Camera)。它的工作原理很酷。

PhoneGap its self is only layer between javascript and Devices, and generally its only browser, you can use native javascript to operate DOM or you can use frameworks such as JqueryMobile.

PhoneGap本身只是javascript和设备之间的一层,它通常是唯一的浏览器,可以使用本机javascript来操作DOM,也可以使用JqueryMobile之类的框架。

Sencha touch is HTML5 framework with awesome js layer. You dont need to use any external frameworks to make application(but if you want sure you can do that). in addition from version 2 they supports native build to android, iOs, and probably blackberry (but here i am not sure i just saw few articles). In new alpha version there is compiler for winphone and IE10.

Sencha touch是HTML5框架,有很棒的js层。您不需要使用任何外部框架来创建应用程序(但是如果您希望确保您可以这样做)。除了版本2之外,它们还支持android、iOs和黑莓(blackberry)的原生构建(但我不确定我只看到了几篇文章)。在新的alpha版本中有winphone和IE10的编译器。

For my project i made small app using phonegap + jquery but i would say it doesnot look native, too slow. Right now i have rewritten to Sencha Touch and it really cool because i cant see any issues with speed, also i have command line to build project. On the other hand i have small issue that some how sencha touch is not workin on Prestigio device so i will investigate if this issue is in my App or its Sencha touch issues

在我的项目中,我使用phonegap + jquery开发了一个小应用程序,但我得说它看起来不像原生的,太慢了。现在我已经重写了Sencha Touch,它真的很酷,因为我看不到速度有任何问题,而且我还有命令行来构建项目。另一方面,我有一个小问题,即sencha touch不适用于变频设备,因此我将调查这个问题是否存在于我的应用或它的sencha touch中

Oh yes and the most important issue for me. PhoneGap apk file is near 2mb, Sencha touch apk is 600kb. Functionality is totally the same. Evenmore in sencha touch i have added a bit more files :)

对我来说,这是最重要的问题。PhoneGap apk文件接近2mb, Sencha touch apk接近600kb。功能是完全相同的。在sencha touch,我添加了更多的文件:)

#4


8  

We have been developing with Phonegap and jQueryMobile for more than 5 months. To add some value to this discussion, I have to say that Phonegap has no speed issues with iPhone 5 and new Android 4.x devices because they are extremely fast. If you target iPhone 4 and old devices, you may feel the app kind of slow. That is true. But if develop for the future, Phonegap is a really true alternative if you do not want to get into the Objective-C world. But do not forget that native apps are real thing and other frameworks won´t be the same... they will be pretty close.

我们已经用Phonegap和jQueryMobile开发了5个多月。为了增加这个讨论的价值,我不得不说,Phonegap在iPhone 5和新的Android 4上没有速度问题。x设备,因为它们非常快。如果你的目标是iPhone 4和旧设备,你可能会觉得这个应用有点慢。这是正确的。但是如果你不想进入Objective-C世界,Phonegap是一个真正的选择。但是不要忘了,本地应用是真实的东西和其他框架´t是相同的…他们会非常接近。

#5


0  

If you are a web developer primarily used to building websites with HTML, CSS, and some JavaScript, you will find jQuery Mobile to be a lot easier and hence quicker to develop with than Sencha Touch. But if you are a professional JavaScript programmer who likes the “MVC way” of doing things, you’ll like Sencha Touch.

如果您是一个主要使用HTML、CSS和一些JavaScript构建网站的web开发人员,那么您会发现jQuery Mobile比Sencha Touch更容易开发,因此开发速度也更快。但是如果你是一个喜欢用“MVC方式”做事的专业JavaScript程序员,你会喜欢Sencha Touch。

Also, jquery mobile gives you a lot of flexibility, which may not always be a good thing

此外,jquery mobile为您提供了很大的灵活性,这可能并不总是一件好事

#6


0  

Why not both ? Phonegap/Cordova is not ui frame work PG/Cordova is between native functions and ui framework. So you can use Sencha and Phonegap together

为什么不两个呢?Phonegap/Cordova不是ui框架工作,PG/Cordova是在本机函数和ui框架之间进行的。你可以同时使用Sencha和Phonegap

#1


25  

What is the difference between Phonegap and Sencha Touch ?

Phonegap和Sencha Touch有什么区别?

Sencha Touch is a full and rich framework for creating mobile user interfaces and related data modelling, server communications and business logic. Like Sencha ExtJS for desktop/tablet apps, you code most of the app using a clean MVC design based on Javascript classes. HTML is generated by these classes that treats HTML like an assembly language. This abstracts the differences/bugs/qwerks between the various mobile platform browsers and browser versions saving the developer from most of the pain that HTML based solutions exhibit. Instead the developer assembles higher-level components that provide features such as data modelling and collection binding, drag/drop and UI animations. You also get smooth scrolling and auto data pre-fetching of potentially infinite data collections while internally delivering optimised DOM performance through DOM element reuse. This is made possible because you no longer code the HTML or XML directly, rather Javascript classes create/destroy/recycle DOM elements for you. You can still customise components using HTML templates.

Sencha Touch是一个完整而丰富的框架,用于创建移动用户界面和相关数据建模、服务器通信和业务逻辑。就像桌面/平板应用程序的Sencha ExtJS一样,您可以使用基于Javascript类的清晰MVC设计来编写大部分应用程序。HTML由这些类生成,这些类将HTML视为汇编语言。这抽象了各种移动平台浏览器和浏览器版本之间的差异/bug /qwerks,使开发人员免受基于HTML的解决方案带来的大部分痛苦。相反,开发人员组装更高级别的组件,这些组件提供数据建模和集合绑定、拖放和UI动画等特性。您还可以平滑滚动和自动提取潜在的无限数据集合,同时通过DOM元素重用在内部交付优化的DOM性能。这是有可能的,因为您不再直接编码HTML或XML,而是Javascript类为您创建/销毁/回收DOM元素。您仍然可以使用HTML模板定制组件。

ExtJS 5 now supports ViewModels (MVVM) and so its anticipated that Sencha Touch 3.x will also.

ExtJS 5现在支持ViewModels (MVVM),因此可以预期Sencha Touch 3。x也。

You can use Sencha Touch to create web applications that look and feel like mobile apps OR you can compile them into native apps that ship with either a PhoneGap native wrapper or Sencha's own native wrapper. Sencha is focusing future efforts on the PhoneGap native wrapper over it's own and provides several device related classes that integrate with the PhoneGap APIs and sometimes provides simulations of these APIs when PhoneGap is not loaded (e.g. testing in a desktop browser).

您可以使用Sencha Touch创建看起来和感觉上像移动应用程序的web应用程序,也可以将它们编译成本地应用程序,这些应用程序可以使用PhoneGap本地包装器,也可以使用Sencha自己的本地包装器。Sencha将未来的工作重点放在PhoneGap本机包装器上,并提供几个与设备相关的类,这些类与PhoneGap api集成在一起,有时在没有加载PhoneGap时提供这些api的模拟(例如在桌面浏览器中进行测试)。

PhoneGap provides a bridge for Javascript code to call native device features (like Digital compass, Microphone, Camera, Battery, Device capabilities/status, File system etc). These are provided via PhoneGap plugins that are re-implemented with identical Javascript interfaces on each OS platform. Plugins may or may not integrate with these hardware or other operating system features (e.g. Barcode scanning plugins use the Camera, while SQLite database engine accesses the local filesystem). PhoneGap ships with several standard plugins but there are currently 550+ Cordova plugins registered.

PhoneGap为Javascript代码提供了调用本机设备特性的桥梁(如数字罗盘、麦克风、摄像头、电池、设备性能/状态、文件系统等)。这些是通过在每个OS平台上使用相同的Javascript接口重新实现的PhoneGap插件提供的。插件可能与这些硬件或其他操作系统特性集成,也可能不集成(例如,条形码扫描插件使用摄像头,而SQLite数据库引擎访问本地文件系统)。PhoneGap舰船有几个标准的插件,但是目前有550+ Cordova插件注册。

The PhoneGap team have looked to the future where some of these hardware APIs are making their way into browser APIs and sought to follow the emerging standards in order to ensure as smooth as possible transition for developers as this trend emerges.

PhoneGap团队展望了一些硬件api进入浏览器api的未来,并试图遵循新兴的标准,以确保随着这一趋势的出现,开发人员尽可能平稳地过渡。

Which is the best one from these two to use and why ?

这两者中哪一个是最好的,为什么?

Hopefully you'll now see that they are not competing but rather complimentary technologies that are frequently used together.

希望您现在看到它们不是相互竞争的,而是经常一起使用的互补技术。

You can develop simple PhoneGap apps that don't rely on any other frameworks but today most mobile developers will use PhoneGap with one of the following popular javascript frameworks that do compete with each other: AngularJS, Kendo UI, jQuery Mobile or Sencha Touch.

您可以开发简单的PhoneGap应用程序,这些应用程序不依赖于任何其他框架,但现在大多数移动开发人员将使用PhoneGap与以下流行的javascript框架之一进行竞争:AngularJS、Kendo UI、jQuery mobile或Sencha Touch。

What's the difference between Cordova and PhoneGap ?

科尔多瓦和PhoneGap有什么区别?

You didn't ask this but it needs answering in this context. The best answer is here.

你没有问这个问题,但它需要在这个背景下回答。最好的答案在这里。

What is the difference between Sencha Touch and Sencha Touch 2 ?

Sencha Touch和Sencha Touch 2有什么区别?

The original Sencha Touch 1.x and Sencha ExtJS 4.1 are now both deprecated but both used an earlier Javascript class model. Sencha Touch 1.x also lacked many other features including integration with PhoneGap and the new Sencha Command build system.

原来的Sencha Touch 1。现在,x和Sencha ExtJS 4.1都已弃用,但都使用了早期的Javascript类模型。Sencha Touch 1。x还缺少许多其他功能,包括与PhoneGap和新的Sencha命令构建系统的集成。

Sencha Touch 2.x brought in a new smarter and leaner class design that has recently been fully adopted by the ExtJS 5.x . ExtJS 5.x also brings View Models (MVVM to replace MVC) that we expect will be in (yet to be released) Sencha Touch 3.x

Sencha Touch 2。x引入了一种更智能、更精简的类设计,ExtJS 5最近完全采用了这种设计。x。ExtJS 5。x还带来了视图模型(MVVM来代替MVC),我们希望它将会出现在Sencha Touch 3.x中(尚未发布)

If you plan to use PhoneGap and Sencha Touch together, you might also be interested in Sencha Touch Live, a free open source app I created that will significantly boost your productivity. With a single command it can create, compile, deploy and run a new app on a device (or device emulator/simulator). You can then "live edit" the Sencha Touch code one or more device/emulators. You just save the file and it reloads the app onto the devices. It even auto compiles your SCCS files into CCS. So you rarely need to recompile/redeploy/rerun or restart debuggers, just edit and save and immediately view the results on multiple devices. Unlike PhoneGap Developer App it was based on, you can use any of the PhoneGap plugins. Tons of other cool features to enjoy!

如果你打算同时使用PhoneGap和Sencha Touch,你可能还会对Sencha Touch Live感兴趣,这是我创建的一个免费的开源应用程序,可以显著提高你的工作效率。通过一个命令,它可以在设备(或设备模拟器/模拟器)上创建、编译、部署和运行一个新的应用程序。然后,您可以“实时编辑”Sencha Touch代码一个或多个设备/模拟器。你只需保存文件,它就会将应用重新加载到设备上。它甚至可以自动将SCCS文件编译成CCS。因此,您很少需要重新编译/重新部署/重新运行或重新启动调试器,只需编辑和保存并立即在多个设备上查看结果。与基于PhoneGap开发应用不同,您可以使用任何的PhoneGap插件。大量其他的酷功能享受!

#2


41  

Sencha Touch is an HTML5 mobile framework. It will help you to develop a web application with HTML, JavaScript and CSS. There are more similar frameworks, like jQuery Mobile or Lungojs.

Sencha Touch是HTML5移动框架。它将帮助您开发具有HTML、JavaScript和CSS的web应用程序。有更多类似的框架,比如jQuery Mobile或Lungojs。

On the other hand, PhoneGap is a platform that allows you to use mobile devices features, such as GPS, camera, etc., through a JavaScript interface.

另一方面,PhoneGap是一个平台,允许您通过JavaScript接口使用移动设备特性,如GPS、摄像头等。

In conclusion, to create an app using these technologies, you would implement the design and the logic in HTML5 (with Sencha Touch if you wish), would use PhoneGap to make use of the device features and wrap the app as a native application.

综上所述,要使用这些技术创建一个应用程序,您需要在HTML5中实现设计和逻辑(如果您愿意,可以使用Sencha Touch),使用PhoneGap来利用设备特性,将应用程序包装成一个本机应用程序。

#3


37  

I would like to add that in Sencha touch its possible to use some device features. Currently i am workin on web app which is build to android device and i am using camera(http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Camera). It works pretty cool.

我想在Sencha touch中添加一些设备特性。目前我正在开发一个基于android设备的web应用程序,我正在使用摄像头(http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Camera)。它的工作原理很酷。

PhoneGap its self is only layer between javascript and Devices, and generally its only browser, you can use native javascript to operate DOM or you can use frameworks such as JqueryMobile.

PhoneGap本身只是javascript和设备之间的一层,它通常是唯一的浏览器,可以使用本机javascript来操作DOM,也可以使用JqueryMobile之类的框架。

Sencha touch is HTML5 framework with awesome js layer. You dont need to use any external frameworks to make application(but if you want sure you can do that). in addition from version 2 they supports native build to android, iOs, and probably blackberry (but here i am not sure i just saw few articles). In new alpha version there is compiler for winphone and IE10.

Sencha touch是HTML5框架,有很棒的js层。您不需要使用任何外部框架来创建应用程序(但是如果您希望确保您可以这样做)。除了版本2之外,它们还支持android、iOs和黑莓(blackberry)的原生构建(但我不确定我只看到了几篇文章)。在新的alpha版本中有winphone和IE10的编译器。

For my project i made small app using phonegap + jquery but i would say it doesnot look native, too slow. Right now i have rewritten to Sencha Touch and it really cool because i cant see any issues with speed, also i have command line to build project. On the other hand i have small issue that some how sencha touch is not workin on Prestigio device so i will investigate if this issue is in my App or its Sencha touch issues

在我的项目中,我使用phonegap + jquery开发了一个小应用程序,但我得说它看起来不像原生的,太慢了。现在我已经重写了Sencha Touch,它真的很酷,因为我看不到速度有任何问题,而且我还有命令行来构建项目。另一方面,我有一个小问题,即sencha touch不适用于变频设备,因此我将调查这个问题是否存在于我的应用或它的sencha touch中

Oh yes and the most important issue for me. PhoneGap apk file is near 2mb, Sencha touch apk is 600kb. Functionality is totally the same. Evenmore in sencha touch i have added a bit more files :)

对我来说,这是最重要的问题。PhoneGap apk文件接近2mb, Sencha touch apk接近600kb。功能是完全相同的。在sencha touch,我添加了更多的文件:)

#4


8  

We have been developing with Phonegap and jQueryMobile for more than 5 months. To add some value to this discussion, I have to say that Phonegap has no speed issues with iPhone 5 and new Android 4.x devices because they are extremely fast. If you target iPhone 4 and old devices, you may feel the app kind of slow. That is true. But if develop for the future, Phonegap is a really true alternative if you do not want to get into the Objective-C world. But do not forget that native apps are real thing and other frameworks won´t be the same... they will be pretty close.

我们已经用Phonegap和jQueryMobile开发了5个多月。为了增加这个讨论的价值,我不得不说,Phonegap在iPhone 5和新的Android 4上没有速度问题。x设备,因为它们非常快。如果你的目标是iPhone 4和旧设备,你可能会觉得这个应用有点慢。这是正确的。但是如果你不想进入Objective-C世界,Phonegap是一个真正的选择。但是不要忘了,本地应用是真实的东西和其他框架´t是相同的…他们会非常接近。

#5


0  

If you are a web developer primarily used to building websites with HTML, CSS, and some JavaScript, you will find jQuery Mobile to be a lot easier and hence quicker to develop with than Sencha Touch. But if you are a professional JavaScript programmer who likes the “MVC way” of doing things, you’ll like Sencha Touch.

如果您是一个主要使用HTML、CSS和一些JavaScript构建网站的web开发人员,那么您会发现jQuery Mobile比Sencha Touch更容易开发,因此开发速度也更快。但是如果你是一个喜欢用“MVC方式”做事的专业JavaScript程序员,你会喜欢Sencha Touch。

Also, jquery mobile gives you a lot of flexibility, which may not always be a good thing

此外,jquery mobile为您提供了很大的灵活性,这可能并不总是一件好事

#6


0  

Why not both ? Phonegap/Cordova is not ui frame work PG/Cordova is between native functions and ui framework. So you can use Sencha and Phonegap together

为什么不两个呢?Phonegap/Cordova不是ui框架工作,PG/Cordova是在本机函数和ui框架之间进行的。你可以同时使用Sencha和Phonegap