JS框架有更新吗?:Ajax.net最近好像没什么变动,没好好翻。 prototype还是老样子 Jquery最近动作很大,不断结合和吸引一些外Framework,到时候可以结合Yahoo UI与 OpenAjax。 效果是更酷了,唉,不过有种说不出的感觉。 国人对Jquery的关注非是一般啊,看到好多中文留言,哈,prototype的关注就没这么热切,是否prototype太规范了,而jquery就显得自由?

吕的部落格唯女子与小人为难养也近之则不孙远之则怨

JS框架有更新吗?

Ajax.net最近好像没什么变动,没好好翻。
prototype还是老样子
jquery最近动作很大,不断结合和吸引一些外Framework,到时候可以结合Yahoo UI与 OpenAjax
效果是更酷了,唉,不过有种说不出的感觉。
国人对jquery的关注非是一般啊,看到好多中文留言,哈,prototype的关注就没这么热切,是否prototype太规范了,而jquery就显得自由?


jQuery and Jack Slocum’s Ext


DomQuery - In response to jQuery's response
While I generally try to stay out of "mine is better than yours" type arguments, John Resig made a very insightful response on the jquery blog to my previous post with CSS selector processing and speeds. His post warranted a response, so here it is. Quotes and Responses jquery completely supports all attribute selectors. This was an oversight on my part, as I did not know jquery had a...

jQuery is OpenAjax Compliant

A new initiative has been forming, over the recent months, in an attempt to standardize the different Ajax and JavaScript codebases that exist. A number of corporate entities have come together to draft the new OpenAjax standard (including IBM, Adobe, Opera, and Mozilla).

Today we’re announcing a new plugin that you can use to make jquery OpenAjax compliant. By doing this, jquery is becoming one of the first projects that has made its codebase compliant with the new standard.

Currently, the requirements for compliance are, relatively, simple - but still quite important. The relevant rules can be summarized as such:

  • All libraries must register themselves (their name, version, and namespace) with the main OpenAjax library.
  • All libraries must register any global variables that they use (in the case of jquery it’s ‘jquery’, and optionally ‘$’ - it defaults to just including ‘jquery’).
  • Any attempt to register “onload” or “onunload” handlers must go through the OpenAjax library. In the case of jquery, if you do: $(window).load(function), and OpenAjax is included, jquery will defer to OpenAjax’s solution.
  • Libraries must not disrupt the ability of other libraries to traverse the HTML DOM document.

You can view jQuery’s compliance results, to verify that it does, indeed, past the test suite.

If you wish to use jquery in conjunction with other OpenAjax-capable libraries, the process is rather straight forward.

Step 1 Download a copy of the jQuery OpenAjax plugin to your server.

Step 2 Include the library in your site, just after you include jquery.

<script src="jquery.js“></script>
<script src=”jquery.openajax.js“></script>

Be sure to include both jquery and the jquery OpenAjax plugin after you’ve included the official OpenAjax library itself.

And that’s it! jquery will now happily play with the OpenAjax core library.

It should be noted that, currently, jquery is not part of the OpenAjax Alliance, but we’re in the process of applying and are eager to begin actively participating.

所属分类:随笔标签:ajaxprototypejquery JS框架更新吗? 吕 @ 2007年2月26日9点25分 AM 编辑 JS框架有更新吗?阅读(2824) 评论(0)

相关文章

评论

还没有评论
未开放评论

谷歌中JS框架有更新吗?相关文章

数据加载中,请稍候……