AJAX.NET和prototype.js [英] AJAX.NET and prototype.js

查看:39
本文介绍了AJAX.NET和prototype.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚注意到prototype.js是Ajax.NET

发行版中的一个文件 - 我非常关心这一点。有谁知道这个

是否相同prototype.js在这里不受欢迎?


如果是这样,你知道如果没有prototype.js可以使用Ajax.NET吗?

- <对于所有构成的事实而言,最令人费解的解释是阴谋理论家最有可能相信的事情。

。拟合

实际事实是可选的。

I just noticed that prototype.js is one of the files in the Ajax.NET
distribution - I''m pretty concerned about this. Does anyone know if this
is the same "prototype.js" that is not well-liked around here?

If so, do you know if Ajax.NET can be used without prototype.js?
--
"The most convoluted explanation that fits all of the made-up facts is
the most likely to be believed by conspiracy theorists. Fitting the
actual facts is optional."

推荐答案

Tony在6/28/2006 2上说了以下内容: 00 PM:
Tony said the following on 6/28/2006 2:00 PM:
我刚注意到prototype.js是Ajax.NET
发行版中的一个文件 - 我非常关注这一点。有谁知道这个
是否相同prototype.js这附近不是很受欢迎?


所需要的只是比较文件大小和前10行或

,以确定它们是否相同。

如果是这样,你知道Ajax.NET是否可以在没有prototype.js的情况下使用吗?
I just noticed that prototype.js is one of the files in the Ajax.NET
distribution - I''m pretty concerned about this. Does anyone know if this
is the same "prototype.js" that is not well-liked around here?
All it would take is to compare the file size and the first 10 lines or
so to see if they are the same.
If so, do you know if Ajax.NET can be used without prototype.js?




这需要在没有原型的情况下测试它,看它是否仍然

" works"是不是。


-

兰迪

comp.lang.javascript常见问题 - http://jibbering.com/faq &新闻组每周

暂时在: http:// members.aol.com/_ht_a/hikksnotathome/cljfaq/

Javascript最佳实践 -



That would required testing it without prototype to see if it still
"works" or not.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices -


Randy Webb写道:
Randy Webb wrote:
Tony于2006年6月28日下午2:00发表以下内容:
Tony said the following on 6/28/2006 2:00 PM:
我刚刚注意到prototype.js是Ajax.NET中的一个文件<分发 - 我非常关心这一点。有谁知道
这是否相同prototype.js在这附近不受欢迎?
I just noticed that prototype.js is one of the files in the Ajax.NET
distribution - I''m pretty concerned about this. Does anyone know if
this is the same "prototype.js" that is not well-liked around here?



所需要的只是比较文件大小和前10行或
以便查看它们是否相同。



All it would take is to compare the file size and the first 10 lines or
so to see if they are the same.

如果是这样,你知道Ajax.NET是否可以在没有prototype.js的情况下使用吗?
If so, do you know if Ajax.NET can be used without prototype.js?



这需要在没有原型的情况下测试它看它是否仍然工作或者没有。



That would required testing it without prototype to see if it still
"works" or not.




显然,我希望通过这种体验听到已经获得过
的人:)

-

适用于所有构成事实的最复杂的解释是阴谋理论家最有可能相信的。拟合

实际事实是可选的。



Obviously, I was hoping to hear from someone who had already been
through this experience :)
--
"The most convoluted explanation that fits all of the made-up facts is
the most likely to be believed by conspiracy theorists. Fitting the
actual facts is optional."


Tony写道:
相同的prototype.js ;在这附近不受欢迎?
the same "prototype.js" that is not well-liked around here?




这不是很受欢迎?我认为它真的很有用,只要你知道你在使用它时会发生什么,并相应地进行编码。

恕我直言,说''本来就不好就像说C ++ STL坏了。

当然,它不是语言本身的一部分,但如果你想使用

of它提供的功能然后有什么危害?


不要指望任何独立于原型的库仍然可以工作(尽管那里)只是它引起的一些问题 - 大多数

特别是for-in循环,似乎没有被广泛使用,并且

在任何情况下都应该永远不会被用于任何关于他们将发现什么的b / b成员的预先假设。


我错过了一些大的陷阱。这让社区反对这个

图书馆?


Jeremy



It''s not well-liked? I think it can be really useful, as long as you
know what you''re getting into when you use it and code accordingly.
IMHO, saying it''s inherently bad is like saying the C++ STL is bad.
Sure, it''s not part of the language per se, but if you want to make use
of the functionality it provides then what''s the harm?

Just don''t expect that any Prototype-independent libraries will still
work (although there are only a few problems that it causes - most
notably with for-in loops, which don''t seem to be that widely used, and
in any case should never be used with any pre-assumptions about what
members they will discover).

Am I missing some big "gotcha" that''s turned the community against this
library?

Jeremy


这篇关于AJAX.NET和prototype.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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