PhoneGap,Bootstrap或JQuery Mobile? [英] PhoneGap, Bootstrap or JQuery Mobile?

查看:155
本文介绍了PhoneGap,Bootstrap或JQuery Mobile?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个以HTML,CSS和JavaScript编码的网络应用程序。我的这个应用程序的目标是最终让它工作在移动设备的所有方式,并保持网络应用程序的桌面使用。

I have a web app that's coded in HTML, CSS and JavaScript. My goal with this app is to eventually have it working on all manners of mobile devices, and keep the web app for desktop use.

应用程序本质上是一个google maps,sql,兴趣点类型应用程序,允许跟踪特定设备。

The app is essentially a google maps, sql, point of interest type application, that allows tracking of particular devices.

我目前正在研究PhoneGap,Bootstrap和JQuery Mobile,并且正在寻找一些关于哪个方向的专家建议。

I'm currently in the process of researching PhoneGap, Bootstrap and JQuery Mobile and was looking for some expert advice as to which direction to take it.

理想情况下,一个应用程序对它们进行规则化,只是优化到显示的设备将是最方便的。

Ideally, one app to rule them all, that would simply optimize to the device it's being displayed on would be the most convenient.

我真的很感谢使用这些技术的简洁优点和缺点,我对其他建议持开放态度。

I would really appreciate a concise pros and cons list to using each of these technologies, and I am open to other suggestions.

推荐答案

Bootstrap,jQuery Mobile和PhoneGap都解决了不同的问题。

Bootstrap, jQuery Mobile and PhoneGap all solve different problems.

Bootstrap是一个响应式Web框架。它的目标,像所有响应的网络框架是适应您的视图层到设备做观看。

Bootstrap is a responsive web framework. Its goal, like all responsive web frameworks is to adapt your view layer to the device doing the viewing. Giving you different presentations for mobile phones, tablets, PCs, etc.

jQueryMobile是一个移动Web应用程序框架,旨在提供一个完全使用JavaScript编写的跨平台移动应用程序/ HTML / CSS。

jQueryMobile is a mobile web application framework that aims to provide a cross-platform mobile application written entirely using JavaScript/HTML/CSS.

PhoneGap本质上是一个现有网络应用程序的包装器(浏览器),可以让您访问本机设备API(如相机,蓝牙等)

PhoneGap is essentially a wrapper (browser) around an existing web application that lets you access native device APIs (like camera, bluetooth, etc.) using JavaScript.

从我自己的个人经验,这绝不是一个全面的指南:

From my own personal experience, which is by no means a comprehensive guide:

Bootstrap


  • Pro:易于使用,易于自定义。


jQuery Mobile


  • / li>
  • Pro:很容易上手,特别是如果你熟悉jQuery。

  • Con:你需要做的数据注入越多,

PhoneGap


  • Pro:轻松让您使用JavaScript / HTML / CSS并且可以访问设备API

  • Con:当我上次使用它时,这主要是为Android,它使用的webview非常慢。

对于琐碎的应用程序,我的建议是绝对要跨平台开发。它将相对快速和容易部署。话虽如此,一旦你开始增加应用程序的复杂性,我的经验是总是原生,或至少一些混合解决方案。本地应用程序在这个时间点上有更好的感觉,更重要的是,本地应用程序可以在平台设计中构建应用程序。跨平台很不错,但大多数Android用户不希望自己的应用看起来像iOS应用,反之亦然。虽然为多个平台构建原生应用程序可能需要更长时间,但我认为您最终会为您的用户提供更好的体验。

For trivial applications, my recommendation is to definitely go with cross-platform development. It'll be relatively quick and easy to deploy. Having said that, once you start increasing application complexity, my experience has been to always go native, or at the very least some hybrid solution. Native applications just have a better "feel" at this point in time and more importantly, going native lets you build applications within the design of the platform. Cross-platform is nice, but most Android users don't want their apps to look like iOS apps and vice versa. While it may take longer to build native applications for multiple platforms, I think you ultimately deliver a better experience to your users.

只是我的两分钱。

这篇关于PhoneGap,Bootstrap或JQuery Mobile?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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