• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Grails with Dojo

 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jon,

Understand one chapter has been dedicated for Ajax and RIA toolkits.... did the book cover how to use Dojo with Grails?

Does Dojo blend well with Grails when compared other web frameworks?

 
Jon Dickinson
Author
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mourougan,

The book does not cover Dojo specifically. Grails supports AJAX calls through a number of tags that abstract the underlying AJAX framework. By default the Prototype framework is used. There is a plug-in for Dojo, which is as simple to install as:



Then you tell Grails to use Dojo library in the head of your GSP file:



In the book I show how to use the Grails AJAX tags, and then go on to use the RichUI plug-in, which provides a number of common UI design patterns. The two I show are:
  • Auto suggest
  • Tag clouds


  • Cheers,
    Jon.
     
    Maximilian Schweitzer
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Mourougan,

    I'm currently working with Dojo and Grails. Unfortunately I cannot recommend installing the dojo plugin. It's totally outdated. Regarding to the Grails mailing list the dojo plugin will be updated to version 1.3 but until that the best way is to get the latest version (1.3) from the offical website and unpack it to your web-app/js directory.

    In my opinion it's a great experience using Dojo and Grails together. Compared to YUI dojo gives you a lot more widgets. Only Unit-Testing is unbeatable in YUI. ExtJS is a great framework but through their license problems I cannot recommend it any more.

    Cheers,
    Maximilian
     
    Mourouganandame Arunachalam
    Ranch Hand
    Posts: 396
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for the info Maximilian...
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic