Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
152 views
in Technique[技术] by (71.8m points)

javascript - Twitter Bootstrap vs jQuery UI? [关闭](Twitter Bootstrap vs jQuery UI? [closed])

I've been using jQuery UI for some basic page enhancements.

(我一直在使用jQuery UI进行一些基本的页面增强。)

Button and input styling and modal dialog boxes.

(按钮和输入样式和模态对话框。)

Now I've come across Bootstrap and it looks pretty good.

(现在我遇到了Bootstrap,它看起来很不错。)

Has anyone any experience of going from using jQuery UI to Bootstrap?

(有没有人有从使用jQuery UI到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.

(这就是我想要做的事情,但在我这样做之前,我想知道我可能面临的问题。)

  ask by Jessica translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I have on several projects.

(我有几个项目。)

The biggest difference in my opinion

(我认为最大的不同)

  • 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

    (jQuery UI是后备安全的,它可以正常运行并且在旧浏览器中看起来很好,其中Bootstrap基于CSS3,这在新浏览器中基本上意味着GREAT,在旧版本中并不是那么好)

  • 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

    (更新频率:Bootstrap正在通过强大的新功能获得一些重大更新,但遗憾的是它们可能会破坏以前的代码,所以你不能只安装bootstrap并在有新的主要版本时进行更新,它基本上需要大量的新编码)

  • jQuery UI is based on good html structure with transformations from JavaScript, while Bootstrap is based on visually and customizable inline structure.

    (jQuery UI基于良好的html结构,具有来自JavaScript的转换,而Bootstrap基于可视化和可定制的内联结构。)

    (calling a widget in JQUERY UI, defining it in Bootstrap)

    ((在JQUERY UI中调用窗口小部件,在Bootstrap中定义它))

So what to choose?

(那又该选择什么呢?)

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

    (jQuery UI)

  2. Bootstrap

    (引导)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...