Login Register

Dojo 1.3 now available

What a busy couple of months we've had! Nothing brings me more pleasure than to push a bunch of code to an open community, and today I get to do exactly that. I am proud to announce the release of the first of the Dojo 1.3 series: Dojo 1.3.0. Buen Provecho.

This release is monumental. Though the release notes only cover the additions and possible changes from 1.2, the overall implications of the fixed issues and new functionality are staggering. The focus of 1.3 was Internet Explorer 8 and WebKit (Chrome, Safari) compatibility and general performance, though the overall scope of Dojo invariably states a slew of new widgets, functions and API cleanups have landed, and are available now on two quality content distribution networks out of the box. While I could carry on about the new exciting features in 1.3, I'd rather you just try them ...

To load Dojo 1.3 from the Google CDN add:

<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.3.0/dojo/dojo.xd.js"></script>

to any existing webpage. Or from the AOL distribution:

<script src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js"></script>

Both are identical, and both are lightning fast ways to add a whole host of concise JavaScript API's to a page. The public APIs provided by dojo.js are in the download directory as a handy cheat sheet covering all that is "Base Dojo". No summaries or other text at the moment, a full "base reference guide" is in the making for that -- the default print styles in the cheat sheet export to a simple PDF on two pages.

New Base API's

Without going into detail on features and APIs new in 1.3, I'd like to take a moment to expose some new base DOM API's we've put in place to make simple tasks even easier: dojo.create, dojo.destroy, dojo.empty, as well as added magic to 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("<li>Newly created DOM Node</li>", "someUl", "first");

// complex creation in dojo.query. passes through dojo.place
dojo.query("#myNode").addContent("hi there!", "first");

These new functions are super fast convenience API's and should allow you to write incredibly concise code. We were able to eliminate lines upon lines of code internally by switching to the new APIs, and we're not even 100% complete auditing DojoX. Developer convenience, ftw!

Acme, Sizzle

Dojo now has a new selector engine, Acme, which offers considerable speed improvements to an already-fast dojo.query. Alex's work there is amazing. To summarize: AST-like inspection of queries to always find the fast-path, before even starting. The Sizzle engine from John Resig is also available as a build-time option and works transparently as the underlying selector engine for dojo.query.

Not only is dojo.query faster than ever, that which you get back from a query (a dojo.NodeList) has been similarly quickened. Eugene's work there both improved overall performance and provided a series of developer API's to map base "single-node" functions directly into NodeList. the _adapatAs* series of functions are hot, and should make advanced plugin-making even easier and eliminate a lot of code duplication.

Documentation!

Documentation has been seriously updated for Dojo 1.3.0 -- The Uxebu folks have generated a client-side API parser and viewer covering Dojo, Dijit, and Dojox (and even your own code, provided you follow our syntax). The output from the internal doc parser (powered by the inline documentation) is available from the 1.3.0 download section as well, though is just pure XML. Call to arms: If you have uber-XSLT skills, we'd love to see what you can generate from api.xml.

The user documentation from the "live" DojoCampus docs are being tagged for the first time, and despite having some underlying usability issues (we're working on it!), the content is plentiful and accurate. We'll place them live on dojotoolkit.org as we deprecate the "old book", though they are provided already as an archive for offline viewing. Thanks to all the Uxebu team for getting all this together. The Dojo Toolkit, when you consider the coverage and scope of Dijit and DojoX, is a huge documentation effort -- coherent and unified documentation is a huge win (and will only get better). Thanks to Remi, Nikolai, Jared, Klipstein, Bill, Alex, Peller, Gary, Chris, Ben, and all the other many contributors assisting with the doc migration and writing. It is not an easy undertaking.

Additionally, I have updated the "unofficial" Komodo Editor code-completion file. The official plugin version should appear from ActiveState shortly.

Thanks to all the developers and contributors for all their hard work/long hours/general rockin' that went into making this yet another solid Dojo Toolkit release. Huge thanks also go out to the AOL and Google teams behind the CDN deployment -- they are a great service to many developers and users worldwide.

As usual, the 1.3.1 follow-up will be coming shortly -- addressing anything missed by the beta/release-candidate cycle as well as the updated translations for Dijit's localization/internationalization efforts.

On a somewhat related note, I'd like to take a moment to mention/announce plugd 1.3.0. The plugin is available as a standalone "dojo.js" replacement (just throw it in your project on top of dojo.js!) or as a 2k adapter to load a bunch of solid additional base API's. We'll be continually working to merge the best parts of plugd back into Dojo land, but for the time being they are provided as a separate entity, and are fully documented.

Trunk has once again been re-opened to enhancements, but contributors remember: absolutely no new enhancements or functionality without documentation, unless the module is clearly marked pre-beta/experimental (and even that only can happen in DojoX). We've caught up to the retroactive documentation needed and can stay ahead of the game if we all follow that one, simple rule.

Looking forward to a the 1.4 development cycle. We already have lots of goodies lined up and ready to land and be documented, and lots of ideas for performance gains across the rest of the toolkit.

This is a [文明用语] great news!

I am so glad to wait till this moment.
1.3.0 stands for I have been with dojo for almost 0.2.9. I miss those days.
So, Congratulations to the dojo team. you guys are [文明用语] geniuses.

-Andre

Congratulations

Congrats on the release, I've been happily using DOJO since 0.4 days at BEA and now Oracle, and am looking at upgrading to 1.3

Great!

This is great progress! Any idea when the download will be available from the Maven repository?

dojo-war v1.3.0 is available at repo2.maven.org

Hello,

you can fnd dojo-war1.3.0 at http://repo2.maven.org/maven2/org/dojotoolkit/dojo-war/

Yet another selector engine?

I thought the whole point of Sizzle was to have a common selector engine that works across all JS libraries. You're all solving the same problem(s), so why not hack on it together?

Congrats on the new release!

Congrats on the new release! I am a new DOJO user and really excited about the possibilities!

BC

GRATIS:Where everything is Free

Finally

Finally! This version looks promising. It looks like the bugs have been addressed.

paid
surveys

This version does look

This version does look promising indeed. Way to go dojo!
Cellular Reverse Lookup

Been waiting for it.

Great to see it is now available. I have been waiting with high expectations. Computer runs slow

Wow thats really nice to hear this.

Nice release , it looks

Nice release , it looks promising.

Will give some feedback soon

----------
Mike Jones

Fleshlight

Was Worth The Wait

Congrats on this release!
Was Worth The Wait.

Intimate clothing

Great job

Thanks for sharing the code with us, and congratulations!

puppy training
dog barking

Thanks

Great release.. I am following you on twitter as well :)

how to get more twitter followers

Good Job!

Anyone using this yet?

Who has switched to 1.3? Can you let us know some experiences? Want to know if I should use it in my Java reseller hosting toolkit

Sheila

1.3

SKallie, I switched to 1.3 and have not had any issues with it so far, I have not tested it with with a resellers hosting kit

computer knowledge

Thanks...looks great. I'll

Thanks...looks great. I'll let you know how it goes.

--Adam
Lakewood Ranch real estate

I am so excited! I can't

I am so excited! I can't wait to go out and get it.

resume objectives

Great news! My company is

Great news! My company is already pushing toward IE 8, so this is good timing. Time to get the testing environment ready.

UFC News
Internet Marketing Product Launches

good news

Congratulations on the new release. Thanks guys

magnetic sponsoring

mlm training

Congratulations on the new

Congratulations on the new release. Thanks guys i like it

Web Hosting Reviews
Cheap Green Energy

great release,

great release, congratulations and keep up the good work!

Bape Nerd

awesome stuff

love your stuff. don't quit anytime soon.

How to gain muscle fast

The best protein powder is...

no more wait

I've been waiting for a new release, thanks for doing such a great job!

dog grooming nail clippers | orthopedic dog beds

Great news

A new release just when i join, most likely its going to be amazing.

Wholesale Meds

Great news

A new release just when i join, most likely its going to be amazing.

Wholesale Meds

Even better

I liked the old version, so i can only imagine what this one is like.

Wholesale online Meds

Awesome!

Congrats on the new release! Looking forward to 1.4 (or at least the development of it). Good job!

Cure Excessive Sweating

I Agree this is monumental

Congrats on the new release. Great Job!

learn spanish, speak spanish, spanish language

The old was ok but I'm sure

The old was ok but I'm sure this one will be great!
acne cure

Who has used it?

I do not see any comments by users of 1.3. Has anyone really tried it and what makes it better? Give us some feedback with details.

GPS Auto Tracker

Amazing!

Great job on a fabulous release! Keep up the good work guys!
Real Online Money
Email Marketing Strategy

Need any math help?

This software could get pretty complicated. If you get into any complicated math or calculus you can contact me for help.

Go Dojo
Jack

Go Dojo - great news! I may

Go Dojo - great news! I may need some help with that calculus too.

Owner/Admin of Forex Tips & Strategies and Green Tea Health

Yes! I can't wait to use the new Datagrid!

This new Datagrid should be an excellent improvement on the old one.

Convergence Marketing

Dojo 1.3 Great progress

This version looks very impressive, Its a great progress, Thanks for sharing the code with us.

By Steave Andrew

Looking Good

I've always been quite fond of Dojo and look forward to checking out the improvements in 1.3. Thanks for sharing the code; I look forward to digging into it.

Jon
Working to make real estate video more of a reality.

Great Improvement

Looking very good, Great improvement.

how to stop a foreclosure

how to win your ex back

Kudos!

Kudos to the team! I know you deserve this because you are all working hard for it! Will definitely check this!

resume

New Member

I'm a new member but am very interested in your ap for some of my clients. Am looking forward to learning more.
Sincerely,
Mortgage Buyer

liezhing

What a fantastic post!

Thank you for sharing!

liezhing
Bisnis Internet
Forex
Belajar Forex
Internet Marketing

how to build a chicken coop

New to Dojo and excited with everything

Hi, I'm new to Dojo and excited with everything that's going on here. Your new release seems to hold a lot of promise. Thanks for sharing.

dental insurance

dental plans

dear lord the spam is out of

dear lord the spam is out of control.