Monday, November 3rd, 2008
I remember a time where it was hard to get content out of the Dojo crew :) Times have changed, the community is a lot bigger, and now we get to see a ton of content. Sometimes the irony behind this is that when you see a lot, you don’t want to overwhelm people so you pass on stuff that you would have posted in the past.
To rectify this a little, here is a bit of a roundup on some of the interesting news from Dojo land in recent weeks:
JSON Schema provides a portable language-agnostic definition for describing object data structures. JSON Schema can be used for documenting, validating, and constraining data to facilitate interoperability and data integrity, and now Dojo provides a straightforward module for leveraging JSON Schema within the browser.
Dojo 1.2 now includes a JSON Schema validator module, dojox.json.schema, under the dojox.json project (which also includes JSON Referencing and JSONQuery). The validator can be used to determine if an instance object or value is valid against a given schema.
The build system that is part of the Dojo Toolkit is an incredibly powerful tool. Making sure that your custom build is always up-to-date in your web application can be time consuming and error prone if done manually. This post will demonstrate how to quickly add custom Dojo builds into any web application that uses Apache Ant.
A frequently overlooked and underused feature of Dojo’s Drag-and-Drop (DnD) module is drag handles.
The Dojo Toolkit 1.2 has landed and I’ll be talking about a new feature — dojo.attr — and its closely related cousin, dojo.style. In a given block of HTML, not all attributes are created equally. Take the following example:
- <div id="testDiv"
- New Content
The last article about the Dojo Grid focused on what has changed when creating a grid using Dojo 1.2. In this article we will be covering five new features of the Dojo 1.2 Grid: Dijit interoperability, selection modes, reorderable columns, header context menus, and column hiding. The examples in this article can be downloaded in a tarball (which includes the build profile I used) so you can play along from home!
Posted by Dion Almaer at 7:48 am