My 1st Sample Ratpack App (Actually Groovy Script)
I just created a simple Ratpack script app and figured I post a link to the Github sample code, just in case someone can use it as a starting point.
Now, please don't beat me up too much about the code
I'm just learning Groovy (and Ratpack).
This code is old-school HTML using a very simple stylesheet and simple JQuery, just to prove I could get JQuery to work in Ratpack. I'm not really much of a front-end developer and have spent a long time developing web apps on the server-side.
The application is a simple Tarot card "caster" and loads a random Tarot card. If you don't know what a Tarot Card is, just Google it ... also this is just for entertainment purposes and I don't even claim the program will run.
You have been warned, LOL.
Next I need to learn how format this all for Heroku (no time to figure that out today).
This is sort-of a port from a simple Sinatra/Ruby app I did while learning Ruby and Sinatra a year ago.
Since the time I first played with Ruby/Sinatra, I've gotten another job. Because this job is also a Java gig, I decided to take a look at, and play with, JVM-based languages.
Right now I have more of a comfort level with Groovy, since I've worked with Java for so long and "played" with Ruby.
Scala just looked too foreign to me ... but I only took a quick look.
Bottom line, I plan to play with Ratpack to learn Groovy and then on to Grails.