Using Dojo
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.
The console can then be accessed at http://localhost:8080/AjaxServer/ (only tested in Firefox).
4 Comments to Using Dojo
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)
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
Hmmm, sorry Tom. I’ll hunt down the code and try to upload it tonight.
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
Search
Subscribe
Recent Posts
Tags
Archives
- Heading to #alancon in Dublin this weekend. Frames, marquee, font tags, oh my! 3 days ago
- List the dimensions of images in a directory with identify -format '%f %w %h\n' *.jpg Outputs: mypic.jpg 200 450 4 days ago
- .@rem on the cover of net magazine, should make for good plane reading http://twitpic.com/28j8u2 6 days ago
- More updates...
February 17, 2009