aspose file tools*
The moose likes Groovy and the fly likes Ratpack for Groovy browser apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Ratpack for Groovy browser apps" Watch "Ratpack for Groovy browser apps" New topic
Author

Ratpack for Groovy browser apps

Jim (James Paul) White
Greenhorn

Joined: May 28, 2006
Posts: 7
Howdy Ken!

I think the message of your book is spot on. My pitch line for Groovy is I tell folks that it is the most productive language a person who knows Java can use. I also think it has great potential for teaching programming and naturally I used it for the solutions I showed students in the class I just finished teaching on Computational Linguistics Fundamentals (http://courses.washington.edu/ling473/).

A Groovy toolkit I think Java programmers can benefit from is Ratpack (http://www.ratpack-framework.org). I've used it (both the original version and the new rewrite) to do all the quickie UIs I need for exploring the data sets and output from programs I develop. While Grails is great, a lightweight app using MarkupBuilder-based pages and forms is all I usually need (since I rarely work with relational databases). Like using Spock for testing and Gradle for building, using Ratpack is a highly productive fluent(ish) way to make Java code do UI stuff.

Jim
Kenneth A. Kousen
gunslinger & author
Ranch Hand

Joined: Sep 18, 2002
Posts: 89
    
    5
Ratpack http://www.ratpack-framework.org/ is definitely a fun project, and now that Luke Daley is managing it the improvements keep coming. I also agree on how easy it is to use MarkupBuilder, as in:

That produces XML, and there's a corresponding JsonBuilder if you need JSON instead. I also like the corresponding parsers and "slurpers".

I'm happy to hear about your Computational Linguistics class and hope you had a lot of fun with it.


Kenneth A. Kousen, Ph.D. (assorted certs), President, Kousen IT, Inc.
Author of Making Java Groovy - http://www.kousenit.com
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
Jim (James Paul) White wrote:A Groovy toolkit I think Java programmers can benefit from is Ratpack (http://www.ratpack-framework.org).

Jim,
Ratpack looks very interesting - thanks for posting about it! I like Groovy and want to use it more often, and Ratpack looks like it will fill a hole for me.

Thank you,
Burk


SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
 
 
subject: Ratpack for Groovy browser apps