最代码官方的gravatar头像
最代码官方 2015-04-13 13:47:08

最代码开发面向移动端的wap网站,用jQuery Mobile开发还是继续bootstrap开发?

我看oschina的wap页面就是用jquery mobile开发的,但网上有人说性能不太好,尤其对android端,不知道牛牛们是否有经验赐教下。

所有回答列表(11)
最代码官方的gravatar头像
最代码官方  LV167 2015年4月13日

看了大家的答案,很感谢。

最终还是决定选用bootstrap,理由如下:

1.jquery-mobile建wap站确实很快,但外观已经定型,对未来最代码wap网站过早定位不太好

2.性能问题尚未确认,但既然有人反馈过确实是有待商榷

3.开发周期上或许bootstrap会比jquery mobile长些,但凭我对bootstrap的熟悉程度应该不比jquery mobile慢。

4.stackoverflow上也有人问题,很多人都赞同了,而且偏向用bootstrap吧,答案如下:

I don't know if "better" is something you can answer since they serve different purposes. Bootstrap is great all-purpose CSS library whereas jQueryMobile is closer to a framework. Meaning jQueryMobile doesn't just make your pages look nice- it gives a lot of mobile oriented features such as- swipe-events, page transitions, allows for single page applications (since it will only show a single div with data-role='page' at a time), AJAX preload and history API, and lots of touch friendly components/widgets. Whereas bootstrap is foremost a CSS library mostly for desktop but works on mobile as well especially since 2.0 comes with media queries built in. Bootstrap will not help you with touch friendly lists, checkboxes, select menu's, etc.

One more thing to point out, jQueryMobile takes your markup and dresses it with all sorts of pretty stuff using JavaScript. Bootstrap has some javascript, but only for optional components, the rest is CSS.

So to answer IMHO- if you're a making a web application that you explicitly plan on using primarily on mobile devices go with jQueryMobile; Anything else go with Bootstrap- it's really quite awesome.

原文:http://stackoverflow.com/questions/9242012/twitter-bootstrap-vs-jquery-mobile

评论(0) 最佳答案
北极熊的gravatar头像
北极熊  LV2 2015年4月13日

我们公司现在都是用Html5了。。。我觉得H5也很不错啊。。

请叫我小C的gravatar头像
请叫我小C  LV19 2015年4月13日

ng

迷彩风情的gravatar头像
迷彩风情  LV26 2015年4月13日

用bootstrap比较好我个人觉得,它支持html5,不存在浏览器的兼容问题,效果也比较好些!

cnm的gravatar头像
cnm  LV11 2015年4月13日

我觉得柯林做的挺好的,只是不知道技术原理。

最代码开发面向移动端的wap网站,用jQuery Mobile开发还是继续bootstrap开发?

已注销用户的gravatar头像
已注销用户  LV34 2015年4月13日

jquery mobile 在性能上 是有些明显的不足,我曾经用jquery mobile 开发过一个工厂的app 程序运行方面不是特别理想 就一个特点 慢。还有一个就是 jquery mobile 的界面(UI)不是特别好看。

话说回来,jquery mobile开发上手快 ,语法不是特别的难

个人愚见 见谅...

牛大爷的gravatar头像
牛大爷  LV11 2015年4月13日

JM很臃肿,建议用bootsrap

aitixiaozi的gravatar头像
aitixiaozi  LV22 2015年4月13日

bootsrap 还是不错的!

huangzhen的gravatar头像
huangzhen  LV6 2015年4月14日

都很优秀,就是jm反应略迟钝……

93249162的gravatar头像
93249162  LV2 2015年4月14日

z赞

zjplovemm的gravatar头像
zjplovemm  LV9 2015年6月11日

mui 

顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友