HTML5的Web应用程序VS原生移动应用

问题描述:

您好我最近已经探索了一些可用于发展中国家,如煎茶,JQTouch,jQuery Mobile的移动等Web应用的Javascript的移动框架

Hi I have been recently exploring some of the Javascript mobile frameworks that can be used for developing mobile web apps like Sencha, JQTouch, JQuery mobile etc.

我知道两者的副词和缺点。

I know the adv and disadvantages of both.

我只是需要一些最近的统计数据显示该市场的收养或意见。

I just need some recent stats which show the market's adoption or opinion.

我试过三种方式来开发移动应用程序。

I tried three ways to develop mobile applications.

  • 第一种方法是使用框架,将你的HTML / CSS / JS文件,这取决于你的目标(黑莓,iPhone,安卓,...)它们打包到移动应用程序。我使用了的PhoneGap框架。我不喜欢它,因为在所有的用户界面的渲染是在某些设备上这么难看和用户体验被打破了。我不得不使用它使用jQuery Mobile,因为它给了我一个很好的设计开端。我想我的个人设备上的一些PhoneGap的Andr​​oid的应用程序产生的,它是真正可怕的。他们中的一些苹果,因为这引起了拒绝......

  • First method is to use frameworks that will take your html/css/js files and package them into mobile applications depending on your targets (BlackBerry, iPhone, Android, ...). I used the PhoneGap framework. I didn't like it at all because the UI's rendering is so ugly on some devices and the user experience is broken. I had to use it with jQuery Mobile because it gave me a good design start. I tried some Phonegap Android generated applications on my personal device and it's really horrible. Some of them got rejected by Apple because of that ...

二的方法是使用 Appcelerator的钛SDK 。一个字来概括:真棒。一种语言使用(JavaScript的)来创建用户界面/控制器。它是如此简单易学,如此强大的发展与它有许多外的开箱即用的functionnalities(如Facebook API,雅虎查询语言,...),让您到位的解决方案很容易为Android和iPhone。黑莓手机即将上市。我最喜欢的是它把写的Javascript到针对性的平台默认的UI。这真是太棒了。而且,最重要的是,用户界面​​很容易定制(包含系统中的CSS)。 Personlly,我把地方的应用程序,可以:拍摄照片与该设备然后将其发送到远程服务器,发送信息到Twitter / Facebook的,先进的地理定位,等等...

Second method is to use Appcelerator Titanium SDK. One word to sum it up: Awesome. One language to use (javascript) to create your UI/Controller. It's so easy to learn, so powerful to develop with and it has many out-of-the-box functionnalities (like facebook API, Yahoo Query Language, ...) that will allow you to put in place solutions easily for both Android and iPhone. BlackBerry is coming soon. What I liked the most is that it converts the written Javascript into the targetted platform with the default UI. It's really great. And, above all, the UI is easily customizable (with a css like system). Personlly, I put in place apps that can: Take a photo with the device then send it to a remote server, send messages to twitter/facebook, advanced geolocation, etc ...

第三种方法:本机!这将需要时间,如果你的目标诺斯iPhone和Android,但大的好处是,你可以创造任何你想要的,你都依赖于一个框架:游戏,增强现实应用程序,等等...

Third method: Native! It would take time if you target noth iPhone and Android but, the big advantage is that you can create anything you want and you are dependant on a Framework: Games, Augmented Reality Apps, etc ...

在我看来,如果你想创建一些不错的功能,简单的应用程序(如天气,Twitter的饲料,发送一个Facebook的墙上,...),使用Appcelerator的钛SDK。 它把你的code到当地人。

In my opinion, if you want to create simple applications with some nice features (weather, twitter feeds, sending on a facebook wall, ...), use Appcelerator Titanium SDK. It converts your code into NATIVE.

如果你有时间花费学习当地语言,做到这一点。这是最好的办法;)

If you have time to spend learning native languages, do it. It's the best way ;)

希望它帮助。

问候。