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
What I'm Doing...
- RT @jamescarr: I prefer story level specifications that setup their own inputs versus relying on crap that's already in the DB 6 hrs ago
- @alexcuesta Sounds like #qcon was great! Are you staying for https://secure.trifork.com/london-2010/freeevent/register.m?eventOID=2346 7 hrs ago
- Missed my tube stop playing Archipelago, sign of a compelling game. If only it had multiplayer #android 15 hrs ago
- More updates...
February 17, 2009