jQuery插件vs UI vs替代方案 [英] jQuery Plugins vs UI vs some alternative

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

问题描述

我一直在尽可能多地使用jQuery构建Web应用程序.每当我需要添加一些新功能时,通常我都会搜索一个满足我需要的jQuery插件,然后将其集成到我的Web应用程序中. 当然,过了一段时间,这个应用程序变得非常混乱,它们来自不同作者的所有随机"插件,每个插件都有不同的编码风格,命名约定等. 我真的更喜欢使用一个统一的UI库或框架.我正在看jQuery UI,但坦率地说,我没有留下深刻的印象.尽管jQuery Tools( http://flowplayer.org/tools/download.html )看起来有点像好的.有没有人有任何经验?

I've been building a web app using jQuery as much as possible. Every time I need to add some new feature, I usually search for a jQuery plugin that does what I need, then I integrated it into my web app. Of course after a while this application becomes very cluttered with all these "random" plugins from different authors, each one having different coding style, naming convention, etc. I would really prefer to use one uniform UI library or framework. I am looking at jQuery UI, but frankly I am not impressed. Although jQuery Tools (http://flowplayer.org/tools/download.html) looks kind of nice. Does anyone have any experience with any of these?

您还有其他建议吗?不仅是关于使用哪种UI框架,而且还涉及到一般使用不同的UI插件处理混乱的Web应用程序的想法.

Do you have any other suggestions? Not just regarding what UI frameworks to use, but your thoughts regarding dealing with cluttering web applications with different UI plugins in general.

谢谢

推荐答案

为jquery制作一堆不那么零散的ui库并没有大量的动作.我认为,就创作风格而言,许多人开始遵循漂亮的规整风格,并且在大多数情况下,好的插件可以很好地配合使用.

There is not a ton of movement to make a bunch of less fragmented ui libraries for jquery. I think many people are beginning to follow a pretty regimented style as far as authoring style goes, and most of the time, good plugins play together very nicely.

具体来说-迈克·阿尔萨普(Mike Alsup)的模式,在这里进行描述:

Specifically - Mike Alsup's pattern, described here:

http://www.learningjquery.com/2007/10/一个插件开发模式

是最流行的插件中非常统一的一个.如果您发现某个插件遵循此模式,则可以更有信心地按照自己的想法来运行它.

is one that is very uniform across most popular plugins. If you notice a plugin follows this pattern, you can have more confidence that it works the way you think you'd want it to.

但是,可能还有另一种选择-ExtJS( http://www.extjs.com/)可以用作jQuery之上的UI库.只需包含jQuery,然后包含ext-jquery apapter文件,然后包含extjs ui库.这将为您提供整个extjs UI库(非常统一且经过测试),并且仍然为您提供所需的所有核心jQuery访问以及其他插件可能性.

However, there might be one more alternative for you - ExtJS ( http://www.extjs.com/ ) can be used as a UI library on top of jQuery. Just include jQuery, then the ext-jquery apapter file, and then the extjs ui library. This will give you the entire extjs UI library (which is very uniform and tested), and still give you all the core jQuery access that you want, as well as other plugin possibilities.

希望有帮助.

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

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