选择移动 Web HTML5 框架 [英] Choosing Mobile Web HTML5 Framework

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

问题描述

对于新的项目,我一直在寻找一个支持HTML5,并且可以在手机上运行的框架,那就是IPhone,IPads.我发现了这些:

For the new project, I have been searching for a framework with support of HTML5 and runs on mobile, that is IPhone, IPads. I found out these:

对我来说最重要的是 HTML5.尽管我仔细研究了它们提供的功能,但我只是想知道您对它们的体验(如果有的话).

The main thing for me is HTML5. Although I went over the features they offer, I just wanted to know your experience if any with them.

我应该找哪一个:

  • 快速入门
  • 良好的文档
  • 类似的网络方式开发
  • 对移动平台的良好支持

推荐答案

这取决于您的目标受众是什么以及您正在构建的网站的互动程度.

It depends on what your target audience is and how interactive the site you are building is.

jQTouch:
重在 CSS,轻在 JavaScript,MIT 许可
对于提供快速入门但不幸的是文档不多的框架,请使用 jQTouch.它几乎不需要上手,编码也相当简单.它使用 CSS 类来检测适当的动画和交互.

jQTouch:
heavy on the CSS, light on the JavaScript, MIT license
For a framework that provides a quick start, but not a lot of documentation unfortunately, use jQTouch. It requires very little to get started and coding is fairly straight forward. It uses CSS classes for detecting the appropriate animations and interactions.

煎茶之触:
几乎完全 JavaScript、GPL 未经许可不得在商业网站上使用
如果您正在构建具有大量视觉交互的复杂企业应用程序,我强烈推荐 Sencha Touch,它有大量文档,有强大的专业团队提供支持.

Sencha Touch:
almost completely JavaScript, GPL not for use on commercial sites without a license
If you are building a complex enterprise application with a lot of visual interactions, I would strongly recommend Sencha Touch, it is heavily documented, with a strong professional team providing support.

M 项目:
MIT 许可证,对 JavaScript 的影响很大,似乎处于 Alpha 阶段,可能有问题
虽然我自己从来没有使用过 M-Project(感谢您指出),但它看起来确实非常健壮,并且编码风格看起来与基于 ExtJS 的 Sencha Touch 非常相似,所以如果您的团队已经如果您有使用 ExtJS 的经验,那么考虑其中一个框架可能是明智之举.

M-Project:
MIT license, heavy on the JavaScript, appears to be in Alpha, may be buggy
Although I have never worked with M-Project myself (thanks for pointing it out) it does appear to be a very robust, and the coding style appears to be very similar to Sencha Touch, which is based on ExtJS, so if your team already has experience with ExtJS, it might be wise to consider one of these frameworks.

Nimblekit:
这似乎仅适用于 iOS,如果您决定将应用扩展到 Android 或其他平台,这不是一件好事.

Nimblekit:
This appears to be for iOS only, not a good thing if you ever decide to expand your application to Android or some other platform.

Wink 工具包:
似乎是 MIT,或者它的一些变体在我看来,wink 似乎有很多用处,但文档感觉很冷

Wink Toolkit:
appears to be MIT, or some variation there of In my opinion, wink seems to have plenty going for it, but the documentation feels cold

jQuery Mobile:
双许可 MIT 或 GPL 2,JavaScript 和 CSS 的完美结合
我会让有更多经验的人谈谈优点,但 jQuery mobile(尽管它也处于 alpha 阶段)得到了强大的团队和支持者社区的支持,这些支持者通过扩展核心 jQuery 库.除了最以企业为中心的应用程序之外,这可能是任何应用程序的最佳选择.

jQuery Mobile:
Dual license MIT or GPL 2, just the right mixture of JavaScript and CSS
I will let someone with more experience talk about the merits, but jQuery mobile (though it is in alpha as well) is backed by a strong team and a community of supporters by extension of the core jQuery library. Probably the best choice for anything except the most enterprise centric applications.

钛:
Titanium 不是 HTML5 移动框架,它是框架中包含的本机代码模块的基于 JavaScript 的接口.这是一个相当直接的框架,但我认为文档很少.

底线:
1. jQuery 移动版 - 只要您的应用不是以企业为中心
2. Sencha Touch - 如果您的应用程序以企业为中心或重用户交互
3. jQTouch - 如果您正在寻找一个可以快速入门的简单框架,但您不需要太多热情.
4. Titanium - 如果您更关心在您的应用程序中具有实际本机控件

演示应用

有一个开源项目 PropertyCross,它演示了使用一系列跨平台框架实现的相同应用程序.它对于比较各种框架的代码、开发体验和最终用户体验非常有用.

There is an open source project, PropertyCross, which demonstrates the same application implemented with a range of cross platform frameworks. It is very useful for comparing the code, development experience and end-user experience of the various frameworks.

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

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