Using Dojo

Sunday, February 15th, 2009

Below are slides from a presentation I gave to colleagues at Kiwiplan. The slides cover how to use some core Dojo APIs and also showcase some of the features Dojo provides.

I also modified the javascript console created for my previous blog entry to use Dojo. You can download the source to try out Dojo examples on your local box. You will need Java and Grails installed and can run the server using the usual grails command.

grails run-app

The console can then be accessed at http://localhost:8080/AjaxServer/ (only tested in Firefox).

Tags: , , ,

4 Comments to Using Dojo

Richard Paul
February 17, 2009

Files on interest in the demo source include:
- web-app/index.gsp – contains all HTML + CSS + Javascipt
- grails-app/controllers/ServiceController.groovy – Web controller for JSON services
- grails-app/domain/Session.groovy – Domain model for session (hard coded list of sessions)

Tom
May 26, 2009

Hi Richard – unless I’m mistaken you don’t seem to have posted the code for the dojo examples? I’ve downloaded the code from your previous blog and it’s not in there either?

Thanks,

Tom

Richard Paul
May 27, 2009

Hmmm, sorry Tom. I’ll hunt down the code and try to upload it tonight.

Richard Paul
May 28, 2009

OK, you can download the source from here.

I’ve also updated the blog post to include the link.
Please let me know how you get on.

Leave a comment