• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A question for the Griffon authors

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am wondering if Griffon can be used in a manner analogous to GWT to develop client-side interaction for web applications. Grails is fine for structuring the server, but seems limited when it comes to dynamic web user interfaces. Would it be straightforward to "cross-compile" Griffon source to to produce HTML/CSS/JavaScript to interact with users through a browser?

Thanks,

Gene
 
author
Posts: 47
VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is possible in theory though it is not a goal that we're looking forward at this moment, Griffon is mostly a desktop/RIA framework.
From the top of my mind you'll have to do the following to get it to work:

  • Make a builder that translates Swing code into HTML/Js/CSS
  • Find a way to translate threading code into AJAX/Cometd


  • I think it would be better to hack your own GWT compiler to allow Groovy to be used as an UI DSL. that task comes with its fair share of yak shaving too.

    Cheers,
    Andres
     
    Gene Golovchinsky
    Greenhorn
    Posts: 6
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Andres Almiray wrote:
    I think it would be better to hack your own GWT compiler to allow Groovy to be used as an UI DSL. that task comes with its fair share of yak shaving too.



    Thanks for the quick reply! I understand the challenges of grafting these kinds of things together. The reason I ask is that I find Groovy/Grails really expressive for the server end, but not for building highly-interactive web apps. Hence my desire to do away with JavaScript...

    Looking forward to reading your book,

    Gene
     
    He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic