Twitter Bootstrap vs jQuery UI? [英] Twitter Bootstrap vs jQuery UI?

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

问题描述

我一直在使用jQuery UI进行一些基本的页面增强。按钮和输入样式和模态对话框。现在我遇到了Bootstrap,它看起来很不错。

I've been using jQuery UI for some basic page enhancements. Button and input styling and modal dialog boxes. Now I've come across Bootstrap and it looks pretty good.

有没有人有从使用jQuery UI到Bootstrap的经验?这是我想要做的,但在我这样做之前,我想知道我可能面临的问题。

Has anyone any experience of going from using jQuery UI to Bootstrap? This what I am thinking to do but before I do this I'd like to be aware of what problems I could face.

推荐答案

我有几个项目。

我认为最大的区别


  • jQuery UI 是后备安全的,它在旧浏览器中运行正常并且看起来很好,其中 Bootstrap 基于CSS3,在新浏览器中基本上意味着很好,旧的不太好

  • jQuery UI is fallback safe, it works correctly and looks good in old browsers, where Bootstrap is based on CSS3 which basically means GREAT in new browsers, not so great in old

更新频率:Bootstrap正在获得一些非常棒的新功能,但遗憾的是它们可能会破坏以前的代码,所以当有新的主要版本时,你不能只安装bootstrap和更新,它基本上需要很多新的编码

Update frequency: Bootstrap is getting some great big updates with awesome new features, but sadly they might break previous code, so you can't just install bootstrap and update when there is a new major release, it basically requires a lot of new coding

jQuery UI基于良好的html结构,包含来自JavaScript的转换,而Bootstrap基于可视化和可自定义的内联结构。 (在JQUERY UI中调用一个小部件,在Bootstrap中定义它)

jQuery UI is based on good html structure with transformations from JavaScript, while Bootstrap is based on visually and customizable inline structure. (calling a widget in JQUERY UI, defining it in Bootstrap)

那么选择什么?

这总取决于您正在处理的项目类型。看起来很酷且看起来很快的小部件,或者你的用户经常使用旧的浏览器吗?

That always depends on the type of project you are working on. Is cool and fast looking widgets better, or are your users often using old browsers?

我总是最终使用两者,所以我可以使用两者中最好的。

I always end up using both, so I can use the best of both worlds.

以下是两个框架的链接,如果您决定使用它们。

Here are the links to both frameworks, if you decide to use them.


  1. jQuery UI

  2. Bootstrap

  1. jQuery UI
  2. Bootstrap

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

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