使用网络移动框架? [英] Use a web mobile framework?

查看:149
本文介绍了使用网络移动框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用一个新的projet来实现移动应用程序。客户端没有决定,我必须建议几个解决方案。
与Android(版本2.2+)的兼容性是必需的,iOS和其他操作系统可以很好。我们只能为Android开发,但我想使用一个web移动框架。

I'm currently on a new projet to realize an application for mobile. The client isn't decided and I've to suggest several solutions. The compatibility with Android (version 2.2+) is required and iOS and others OS could be nice. We can only develop for Android but I thought to use a web mobile framework.

由于我从来没有使用过,我开始寻找现有的解决方案。我听说过PhoneGap,Titanium,Sencha Touch和jQuery Mobile。

As I never used them, I started to looking for the existing solutions. I has heard of PhoneGap, Titanium, Sencha Touch and jQuery Mobile.

这里是我找到的可能性:

Here is possibilities that I found :


  • PhoneGap + Sencha Touch

  • PhoneGap + jQuery Mobile(或同类产品)

  • Sencha Touch


  • PhoneGap + Sencha Touch
  • PhoneGap + jQuery Mobile (or an equivalent)
  • Sencha Touch (API + UI)
  • Titanium

应用程序中的关键点是允许用户拍摄照片并编辑它:调整大小,添加一些文本...在Android上它的技术上可能,但有一个web移动框架我不知道。

The critical point in the application will be to allow users to take a photo and edit it : resize, add some text... On Android it's technically possible but with a web mobile framework I don't know.

使用PhoneGap和jQuery Mobile例子,是可能做到吗?我发现每个功能的代码部分,但没有什么非常完整,不确定它会在很多手机兼容。
对于开发时间,也许最好做两个本地应用程序,而不是试图使用一个移动框架(并开发图片版本的JavaScript)?

With PhoneGap and jQuery Mobile for example, is it possible to do it ? I found parts of code for each function but nothing very complete, and not sure it'll be compatible on a lot of mobiles. For developping time, perhaps is it better to do 2 natives applications instead of trying to use a mobile framework (and develop the picture edition in Javascript) ?

我对每个框架发现了很多意见,但其中一些发布了超过一年,他们变得非常难以对所有解决方案有一个清晰的愿景。

And I found a lot of opinions on each framework but some of them were posted there is more than one year and they evolved so difficult to have a clear vision of all solutions.

感谢您的帮助

推荐答案

简介



技术上可以使用所有的可能性将排名他们的难度从低到硬,我甚至几个更多的可能性。此外,我为我的书写了更广泛的 文章

Intro

Technically it can be done using all of your possibilities, I will rank them by the difficulty from low to hard, I will even few more possibilities. Also, I wrote much more extensive ARTICLE for my blog.

PhoneGap是您在这里需要的,jQuery移动版仅用于UI。仍然这种组合很容易一起实现,有很多工作示例。 Phonegap作为HTML5 / JS / CSS的包装器,它将让你访问手机功能主义者。 Phonegap将用于拍摄照片,jQM将用于修改。

Phonegap is what you need here, jQuery Mobile is only for the UI. Still this combination is very easy to implement together and there are a lot of working examples. Phonegap serves as a wrapper for HTML5/JS/CSS and it will give you an access to mobile phone functionalists. Phonegap will be used to take a picture and jQM will be used to modifications.

这里 是一个相当新的PhoneGap + jQuery Mobile教程。如果您想查看该文章的MAcOS版本,请查看 此处

Here's a rather new PhoneGap + jQuery Mobile tutorial. If you want to see a MAcOS version of that article than take a look here.

查看 这里 如果你想找到一个很好的信息来源的jQuery和jQuery Mobile之间的差异很多。

Take a look HERE if you want to find a good source of information regarding differences between jQuery and jQuery Mobile a lot lot more.

与jQM不同,Sencha Touch有点难度(或者更难,取决于你的javascript知识)要学习,使用javascript有很好的背景知识或没有Sencha Touch设计器工具的许可证。只有你有足够的时间学习新的东西,才能走这条路。 Sencha Touch版本2有自己的应用程序包装,所以不再需要Phonegap。

Unlike jQM, Sencha Touch is a bit harder (or a lot harder, depending on your javascript knowledge) to learn, especially if you don't have a good background knowledge with javascript or don't have a license for Sencha Touch designer tool. Go this road only if you have have enough time to learn something new. Sencha Touch version 2 has its own app wrapper so Phonegap is no longer needed.

如果你想了解更多,请查看 ARTICLE ,讨论jQuery Mobile和Sencha Touch之间的区别。

If you want to find out more take a look at this ARTICLE that discuss the difference between jQuery Mobile and Sencha Touch.

与前两个选项不同,Titanium有点不同。其中jQM和Sencha用于创建混合移动应用程序,Titanium appcelerator用于从JavaScript代码创建本机应用程序。不太难掌握,js代码很简单坦率。虽然快速开发工具,将很难正确的风格你的本机应用程序(从头开始构建它是更容易的过程)。

Unlike previous two options, Titanium works a little bit different. Where jQM and Sencha are used to create a hybrid mobile app, Titanium appcelerator is used to create a native app from javascript code. Not too difficult to master, js code is pretty simple to be frank. While fast development tool it will be harder to properly style your native app (it's much easier process when building it native from scratch).

这个框架与jQuery Mobile差不多,现在它是Intel所有。像Sencha Touch这个框架的主要目标是混合移动应用程序开发,它的工作伟大。它是针对Android和iOS的优化,所以期望更快的执行,然后jQuery Mobile,也像Sencha Touch这个框架有自己的本机应用程序包装。当然,这个框架的坏话几乎可怕的文档(至少在写这篇文章的时候)。如果您想了解有关此框架的更多信息,请查看此 文章

This framework is almost old as jQuery Mobile and now it is owned by Intel. Like Sencha Touch main goal of this framework is hybrid mobile app development and it works great. It is optimized for Android and iOS so expect faster execution then jQuery Mobile, also like Sencha Touch this framework has its own native app wrapper. Of course there are few bad sides of this framework like horrible documentation (at least during the point of writing this article). If you want to find more about this framework take a look at this ARTICLE.

更好,更快,以任何方式。只有一个问题,它是一个商业产品。

Excelent alternative to jQuery Mobile. Better, faster in any way. There's only one problem, it is a commercial product. It will cost you cca 200 USD.

查找更多信息

Find more information here.

另一个很好的替代jQuery Mobile和Kendo UI。比jQuery Mobile更快,在同一级别上像Kendo UI。

Another excellent alternative to jQuery Mobile and Kendo UI. Much faster then jQuery Mobile, on the same level like Kendo UI. It has a great documentation, one of the best I so up to today.

查找更多信息 此处

阅读 > 这里

Read about it HERE.

前往Rhomobile。与Phonegap / Cordova类似,但使用较少。

Goes to Rhomobile. Similar to Phonegap/Cordova but less used.

从开发时间的角度来看,创建一个混合应用程序比原生应用程序更快。在你的情况下,如果你有一个Java / Objective C知识棒与本机应用程序。无论你下沉到混合应用程序多少时间,它将是好的或足够快。

From the perspective of developing time it is faster to create a hybrid app then a native one. In your case, if you have a Java/Objective C knowlede stick with native app. No matter how much time you sink into hybrid app it will be good or fast enough.

这里有一个Phonegap + jQuery Mobile示例: http://therockncoder.blogspot.com/ 2012/07 / jquery-mobile-phonegap-and-camera.html ,您会发现Android和iOS实现的github链接。

Here's an Phonegap + jQuery Mobile example: http://therockncoder.blogspot.com/2012/07/jquery-mobile-phonegap-and-camera.html, there you will find a github link for Android and iOS implementation.

如果您从未使用过jQuery,请使用 Dawson Toth Titanium示例。但是如果可能的话可以用jQuery Mobile。

If you have never used jQuery then stick with Dawson Toth Titanium example. But if possible stick with jQuery Mobile.

您可能也对开源< a href =http://propertycross.com/> PropertyCross 项目,它演示了使用一系列跨平台框架(包括Sencha,jQM和PhoneGap)实现的相同应用程序。

You might also be interested in the open source PropertyCross project which demonstrates the same application implemented with a range of cross-platform frameworks (including Sencha, jQM and PhoneGap).

我过去几个星期审查了其他HTML5移动框架。我可以在 此处 此处

I have spent last few weeks review other HTML5 mobile frameworks. My comment can be found here and here.

这篇关于使用网络移动框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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