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

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

问题描述

对于新项目,我一直在寻找一个支持HTML5的框架,并在移动设备上运行,即IPhone,iPad。我发现了这些:



我最主要的是HTML5 。虽然我翻阅了他们提供的功能,但我只是想知道你的经验,如果有的话。



寻找时应该选择哪一个:




  • 快速入门

  • 良好的文档

  • / li>
  • 对移动平台的良好支持


解决方案

取决于您的目标受众是什么以及您建立的网站的互动程度如何。

jQTouch:

重CSS,点亮JavaScript,MIT许可

对于提供快速入门的框架,但不幸的是没有很多文档,请使用jQTouch。它需要很少开始,编码非常简单。它使用CSS类来检测适当的动画和交互。



Sencha Touch:

几乎完全 JavaScript,GPL不能在没有许可证的商业网站上使用

如果您正在构建一个复杂的企业应用程序,并且有很多视觉互动,我会强烈推荐Sencha Touch它有很多文件记录,有一支强大的专业团队提供支持。

M-Project:

麻省理工学院的JavaScript许可证似乎在Alpha中,可能是越野车

尽管我自己从未使用过M-Project(感谢您指出它),但它看起来确实非常健壮,而且编码风格似乎与Sencha Touch是基于ExtJS的,所以如果你的团队已经有了ExtJS的经验,那么考虑这些框架可能是明智的。



Nimblekit:

这似乎只适用于iOS,如果您决定将应用程序扩展到Android或其他平台,这不是一件好事。



Wink工具包:

似乎是麻省理工学院或其中的一些变化
在我看来,眨眼似乎有很多但是文档感觉很冷



双许可证MIT或GPL 2 ,只是JavaScript和CSS的正确组合

我会让有更多经验的人谈论优点,但jQuery移动(尽管它也是alpha),由一个强大的团队和支持者社区支持,通过扩展核心jQuery库。可能是除大多数以企业为中心的应用程序之外的最佳选择。



钛:

钛不是一个HTML5移动框架,它是一个基于JavaScript的界面,包含在框架中的本地代码模块。这是一个相当直接的框架,但我会考虑稀疏的文档。
$ b

底线:

1. jQuery mobile - 只要您的应用程序不是企业中心

2. Sencha Touch - 如果您的应用程序以企业为中心或用户交互繁重

3. jQTouch - 如果你正在寻找的是一个快速入门的简单框架,但你不需要太多的津津有味。

4.钛 - 如果你更关心的是实际的 / em>您的应用程序中的本机控件

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


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:

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.

Which one should I go for when looking for:

  • Quick Start
  • Good documentation
  • Similar Web-way development
  • Good support for the mobile platform

解决方案

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

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.

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-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:
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 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:
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:
Titanium is not an HTML5 mobile framework, it is a javascript based interface to native code modules included in the framework. It is a fairly straight forward framework, but I would consider the documentation sparse.

Bottom Line:
1. jQuery mobile - as long as your app is not enterprise centric
2. Sencha Touch - if your application is enterprise centric or heavy on user interactions
3. jQTouch - if what you are looking for is a simple framework to get started with quickly, but you don't need a lot of gusto.
4. Titanium - if you are more concerned with having actual native controls in your application

Demonstration Apps

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天全站免登陆