Dojo 1.3 now available

经过了数月的开发,Dojo在愚人节前一天,1.3正式版。这个版本加入了许多新功能,亮点之一是对IE8和WebKit (Chrome, Safari)的兼容性和性能的处理。

下载地址:http://download.dojotoolkit.org/release-1.3.0/

可以在页面直接引用Google和AOL的CND上的对应文件,地址如下:

Google CDN引用地址:


AOL CDN引用地址:


Dojo 1.3的公共API:http://download.dojotoolkit.org/release-1.3.0/cheat.html

以下是一些新增的API的用法:
dojo.create, dojo.destroy, dojo.empty, dojo.place

// create a div.
var n = dojo.create("div");

// create a div with content and styles
var n = dojo.create("div", { innerHTML:"hi!", style:{ height:"200px" } });
// destroy the node safely
dojo.destroy(n);

// place an anchor somewhere, before the node with id="someNodeId"
var a = dojo.create("a", { href:"http://dojotoolkit.org" }, "someNodeId", "before");

// empty the contents of a node safely:
dojo.empty("someNodeId");
dojo.query(".nodes").empty();

// place a new LI in an UL at the first position
dojo.place("
  • Newly created DOM Node
  • ", "someUl", "first"); // complex creation in dojo.query. passes through dojo.place dojo.query("#myNode").addContent("hi there!", "first");

    Alex’s开发了新的选择器引擎(selector engine):Acme,大大增强了本已经很快的dojo.query。John Resig的Sizzle选择器引擎也可做为构建(build-time)选项。

    英文官方原文:http://www.dojotoolkit.org/2009/03/31/dojo-1-3-now-available

    Dojo 1.3 RC2 发布

    Dojo 在3月23日发布了第二个RC版本,并希望这是最后一个 1.3 的RC版。该版本主要是修正了跟 IE 8 相关的一些问题。

    该版本支持的浏览器包括:

    • Internet Explorer 6.0 through 8.0
    • Firefox 1.5 through 3.0 (Dijit supports only FireFox 2+)
    • Safari 3.1
    • Chrome 1.0
    • Opera 9.6 (Dojo Core only)
    • Konqueror 3.5+ (Dojo Core only)

    下载地址:http://download.dojotoolkit.org/release-1.3.0rc2

    BUG提交:http://bugs.dojotoolkit.org/

    Dojo 1.3 的主要特点:

    • large behavioral and structural improvements to the Dijit widget set
    • new widgets and refactoring of Dijit infrastructure
    • IE 8 compatibility
    • up-porting several DojoX components into Core and Dijit
    • a distributed module system
    • Improvements to Tree and Grid widgets
    • Improvements to Form Validation

    Dojo 1.3 will be fully backwards-compatible with all previous releases on the Dojo 1.x line.

    Dojo 1.0 Beta released

    2007年10月24日,Dojo 1.0 Beta 发布。

    下载地址:http://download.dojotoolkit.org/release-1.0.0beta/

    原始出处:http://dojotoolkit.org/2007/10/24/dojo-1-0-beta-released

    Dojo released a beta of the 1.0 toolkit, and have made it available for download.

    Using revision 11006 as the tag, and [as of this writing] currently at rev 11100, the release is still under heavy last minute love. Fixes, optimizations, enhancements, etc … Perhaps the release was not formally announced because many of the core devs will be in Boston this week, at the Ajax Experience. I suspect much quality code will come from bored hotel-hacking sessions and the fact so many dojo’ers will be floating about. There a lot of nitpicky things I am looking forward to having some time to delve into before the formal 1.0 release myself.

    dojo.io.bind的编码问题

    AJAX留言板今天增加了后台的删除功能,明天增加回复功能。

    这个AJAX留言板目前用到了dojo,本来用原生Js也可以完全做到,但为了熟悉AJAX框架,开始采用dojo,权当练练手。使用中也确实发现,dojo确实省去了好多重复的东西,比如创建xhr对象等等,不过框架过于庞大,熟悉起来有一定难度,需要一个过程。

    今天在调试时,看到有网友留言,显示内容为乱码;比较郁闷,因前几天因乱码问题已经解决了,为何又出现了呢?原来用的是原生JS,看来有可能是dojo的问题。

    继续阅读