smarx.com

developing for the new web

Dojatlas: Dojo and Atlas working together

UPDATE: This is old code using an early version of Atlas. Now that ASP.NET AJAX 1.0 is out, these samples are dead. Code is archived here just for reference.

To follow up on my early post about Atlas and Scriptaculous working together, I thought I'd invent another word: "Dojatlas" and show a sample of Dojo and Atlas working together.

Here's a sample RSS feed reader that does some pretty cool things, if I do say so myself (which I just did). Yes, relative links are broken because I didn't bother paying attention to the xml:base attribute or otherwise try to fix them.

I wrote my own subclass of DataControl for the first time, and I even used templates. In the sample it gets bound to an XmlDataSource (the RSS feed) and uses Dojo's TabContainer widget to show the results.

I have a meeting coming up and other things to take care of, so I'll stop the commentary here, but I've been sitting on this sample for about three days and really wanted to get the code out there:

  1. Default.aspx
  2. TabView.js

If you'd like more of an explanation for how this code works and why I did things the way I did, leave a comment and ask questions. If there's enough interest, I'll follow up with a more detailed post about this sample. Otherwise I'll just let the code speak for itself and move on.

srini said:
this is awesome.. i am exploring on dojo and atlas in current application.. this is a good example for dojatlas!!!!
Hoang Nguyen said:
This is awesome!!! Please follow up with a more detailed post of this. Thanks.

sushi
Frank Patton said:
Hi Steve!

I am having fits with the Atlas Drag and Drop .. and am looking at dojo out of desperation.. have you tried using the sample on the dojo website and geting it to work with/as part of Atlas?
Mercede said:
I want to use the Splitter layout of Dojo with ASp.NET 2. I'm using Visual Web Developer 2008. and it seems that it cant render the splitter properly. neither in design time nor at runtime. Any ideas? I'm using Dojo 1.0

Add your own comment

Your name:
Your website/mailto:
Your comment: