Javascript库的比较 [英] Comparison of Javascript libraries

查看:77
本文介绍了Javascript库的比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在针对我的ajax需求使用库的建议之后我将使用一个,问题是有这么多,我不知道如何开始告诉他们分开。



因此,可以任何人

A)给出分歧的细节或

B)指示我(和其他人像我)有某个列表。

解决方案

p>回答B:



比较JavaScript框架

:虽然每个人都可以他们的妈妈显然正在使用 jQuery 频道(我使用 MochiKit ),有许多库提供相同的功能 - 大多数库解决的问题集(异步客户端 - 服务器通信,DOM操作等)是一样的,有很少没有什么你需要完成的工作。



确定自己​​的重要事情是,一个图书馆是否适合你的特定风格和感觉。广泛无知的 JavaScript ,语言,实际上工作,加上由此产生的负面印象,加上现在巨大的jQuery的普及导致大多数人下来这条路。幸运的是,这不是一个坏的道路,因为有很多旅客,让你的公司,当抽象泄漏,你需要帮助。你可能不会选错jQuery。


After the suggestion to use a library for my ajax needs I am going to use one, the problem is that there are so many and I've no idea how to even begin telling them apart.

Thus, can anybody
A) Give a rundown of the differences or
B) Point me (and others like me) somewhere that has such a list.

Failing that plan C is to go with whichever gets mentioned the most here.

解决方案

To answer B:

Comparison of JavaScript frameworks


EDIT: Although everyone and their mom is apparently riding the jQuery bandwagon (I use MochiKit), there are many libraries which provide the same functionality - the problem set which most libraries solve (async client-server communication, DOM manipulation, etc.) is the same, and there are few that don't have what you will need to get the job done.

The important thing to determine for yourself is whether or not a library will fit your particular style and sensibilities. Wide-spread ignorance about how JavaScript, the language, actually works, coupled with the negative press resulting thereby, coupled with the now-immense popularity of jQuery leads most people down that road. Thankfully, it isn't a bad road to be on as there are a lot of travellers to keep you company when the abstractions leak and you need help. You probably can't go wrong choosing jQuery.

这篇关于Javascript库的比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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