Dojo


The Dojo Toolkit is an open source JavaScript Library that allows users to develop JavaScript/Ajax-based applications and websites.


Wednesday, April 23rd, 2008

Embed your data- in HTML 5

Category: Dojo, HTML, Standards, Unobtrusive JS

Simon Willison pointed out the part of the HTML 5 spec that discusses a way to add attributes to HTML elements for your own needs via data-. For example, a spaceship for a game: < View plain text > HTML <div class="spaceship" data-id="92432"     data-weapons="laser 2" data-shields="50%"     data-x="30" data-y="10" data-z="90">  <button class="fire" Read the rest…

Posted by Dion Almaer at 7:55 am
14 Comments

++++-
4.4 rating from 44 votes

Wednesday, April 16th, 2008

DOH, let me test my code!

Category: Dojo, Testing

Dustin Machi has posted on DOH, the Dojo Objective Harness which is a testing framework for JavaScript. It can be used with your own Dojo applications, and even without any Dojo at all. To do this you need to follow a couple of patterns, and Dustin documents them so you can get going. You end Read the rest…

Posted by Dion Almaer at 9:26 am
2 Comments

+++--
3 rating from 23 votes

Tuesday, April 15th, 2008

Dojo XHR Plugins; How do you want your XHR today?

Category: Dojo, XmlHttpRequest

Neil Roberts goes into the XHR Plugins that Dojo uses and how you can extend the system to have your own. If you look at dojo.xhrGet you will see “Acceptable values are: text (default), json, json-comment-optional, json-comment-filtered, javascript, xml”, but: What you may not know is that the handleAs parameter is merely a way of Read the rest…

Posted by Dion Almaer at 6:59 am
2 Comments

++++-
4.4 rating from 23 votes

Thursday, April 10th, 2008

Dojo 1.1 Nice Features

Category: Dojo

Alex Russell has written up some of the features of Dojo 1.1 that may not shout out at you in the release notes: Core I should mention a couple of Core features from 1.1 that might otherwise go overlooked, though. The first is a lack of visible change. Dojo Core and Dijit from 1.1 are Read the rest…

Posted by Dion Almaer at 8:11 am
7 Comments

++++-
4.1 rating from 28 votes

Tuesday, April 8th, 2008

Chandler Server Upgrades to Dojo 1.0.2

Category: Dojo

The Chandler Project, an open source, standards-based information manager, has upgraded their OSS PIM to use Dojo v1.0.2. The upgrade has provided for improved performance and extended the UI capabilities via Dojo’s user interface building API, Dijit. The first changes I’m excited about are, like our latest release, less wholesale modifications than improvements and commitments Read the rest…

Posted by Rey Bango at 9:14 am
Comment here

++++-
4.1 rating from 22 votes

Friday, April 4th, 2008

Dojo-Mini and the Feature Explorer

Category: Dojo, Showcase

Above is the breakdown from the Dojo distribution. Peter Higgins was working on an AIR application using the new Dojo AIR integration and wanted to do a better job at stripping down the Dojo build for what he needed. He ended up with a set of scripts to create a custom build nicely which includes: Read the rest…

Posted by Dion Almaer at 11:27 am
1 Comment

++++-
4 rating from 46 votes

Monday, March 31st, 2008

Saving Ourselves From the Unweb

Category: Dojo

Alex Russell gave the inaugural presentation at the Visual Ajax User Group held in the bay area recently. He presented on saving ourselves from the unweb and Chris Keene, CEO of WaveMaker Software, wrote up the talk for us all to read. Alex laid out choices for evolving the Web: We are reaching a fork Read the rest…

Posted by Dion Almaer at 5:16 am
16 Comments

++++-
4.1 rating from 17 votes

Friday, March 28th, 2008

Dojo 1.1 Released

Category: Announcements, Dojo

The Dojo team has released version 1.1 which includes from over 800 improvements: An easy to use and significantly improved Dojo API Viewer with some seriously great features, including the ability to easily find the original definition of a method that is “mixed-in” A growing collection of demos, tutorials, and articles A new BorderContainer Dijit, Read the rest…

Posted by Dion Almaer at 9:33 am
13 Comments

++++-
4.4 rating from 72 votes

Thursday, March 20th, 2008

SMD: Pluggable Web Services

Category: Dojo, JavaScript, JSON, Library

< View plain text > javascript {target:"/jsonrpc", // this defines the URL to connect for the services  transport:"POST", // We will use POST as the transport  envelope:"JSON-RPC-1.2", // We will use JSON-RPC  SMDVersion:"2.0",  services: {    add : { // define a service to add two numbers    parameters: [      {name:"a",type:"number"}, // define Read the rest…

Posted by Dion Almaer at 7:46 am
Comment here

++++-
4 rating from 26 votes

Tuesday, March 18th, 2008

Subclassing and the prototype chain

Category: Dojo, JavaScript, Library

Are you sure you should be subclassing that? is the question that Neil Roberts asks. He goes on to solve a problem: you just want to change ONE property in this class, but you can’t change it on the actual class because that value would now be used across all instances of that class. So Read the rest…

Posted by Dion Almaer at 12:10 am
6 Comments

+++--
3.8 rating from 27 votes

Monday, March 17th, 2008

Dojo Storage updated for 1.0

Category: Dojo, Flash, Gears

Brad Neuberg, a partner of crime on the Gears team, has released an update to Dojo Storage that has it cooking with gas on the new Dojo 1.x codebase: Dojo Storage makes it possible to store large amounts of data (hundreds or megabytes of K) on the client-side, way beyond the 4K limit of cookies. Read the rest…

Posted by Dion Almaer at 6:35 am
1 Comment

+++--
3.6 rating from 20 votes

Friday, March 14th, 2008

dojox.analytics for developers and more

Category: Dojo, JavaScript, Library

Dustin Machi has written about his dojox.analytics package: dojox.analytics is a small project, both in aspirations and in size. It has a simple goal of logging browser and application data to the server for review. This data can be used to monitor application performance, effectiveness, and quality, or it can be used for custom data Read the rest…

Posted by Dion Almaer at 7:54 am
Comment here

+++--
3.6 rating from 28 votes

Thursday, March 13th, 2008

Getting some $ with Dojo

Category: Articles, Dojo, JavaScript

Neil Roberts has posted a great article on Creating Your Own $ with Dojo: The bling, one of the best global variables in JavaScript. A tool which has come to mean, as a function, a way to locate a node or set of nodes. And, as a namespace, a simple way to access often-used functionality. Read the rest…

Posted by Dion Almaer at 6:59 am
2 Comments

++++-
4 rating from 34 votes

Wednesday, March 5th, 2008

iWebMvc: DWR, Dojo, Spring and Hibernate/JPA

Category: Dojo, DWR, Java, Library

Joe Walker tipped me off to a preview of iWebMvc which is meta framework that ties together DWR, Dojo, Spring and Hibernate/JPA a la AppFuse or Grails. It is created by Jose Noheda, a DWR commiter, and the project aims are: Is based on Java Although supporting Grooy / JRuby is a plus Helps me Read the rest…

Posted by Dion Almaer at 7:31 am
1 Comment

++++-
4 rating from 26 votes

Tuesday, March 4th, 2008

Dojo and Django templates on the server side with Jaxer

Category: Aptana, Dojo

Yesterday we posted about Dojo and AIR and how the framework could be well suited for certain desktop applications. Today we have Kriz Zyp talking about their Jaxer support and how you can use the Django template language, that Dojo recently added, to once again do its thing on the server side. Kris tells us Read the rest…

Posted by Dion Almaer at 7:58 am
Comment here

+++--
3.8 rating from 21 votes

Monday, March 3rd, 2008

Dojo on AIR shows detail on AIR itself

Category: Adobe, Dojo

At first when you hear “FooAjaxLibrary now supports AIR” you think “er, OK, AIR has WebKit so it supports them all doesn’t it?”. SitePen added support for AIR in Dojo and gave us detailed information about the changes. The value of this document is that it gives hints to us Ajax folk as we develop Read the rest…

Posted by Dion Almaer at 8:10 am
Comment here

++++-
4.1 rating from 21 votes