recursive.codes

recursive.codes

recursive.codes


The Personal Blog of Todd Sharp

Posts tagged 'Groovy'

JavaLite ActiveJDBC For ORM In Spark Java

JavaLite ActiveJDBC For ORM In Spark Java

I've spent a lot of time on the blog lately talking about views in Spark Java applications.  Rightfully so, as Views are the Turkey in any MVC sandwich...

Getting Started With The Spark Java Framework

Getting Started With The Spark Java Framework

I published a post last week showing how to use Grails to create a website on the Raspberry Pi.  After some feedback and conversations about whether...

Spark Java Views Using Thymeleaf

Spark Java Views Using Thymeleaf

The next step in using Spark Java with Groovy that I would like to look at is getting data into a view.  With Grails, we're used to using GSP pages...

Spark Java Views Using Thymeleaf - Layouts

Spark Java Views Using Thymeleaf - Layouts

In the last post we looked at plugging in Thymeleaf into a Spark Java application for view rendering.  The concept was pretty simple: using the Thymeleaf...

Spark Java Views Using Thymeleaf - SiteMesh Like Layouts

Spark Java Views Using Thymeleaf - SiteMesh Like Layouts

In the last post we looked at how Thymeleaf handles reusable layouts.  A reddit user enlightened me about an open source 'dialect' for Thymeleaf that...

Spark Java Views With Apache FreeMarker

Spark Java Views With Apache FreeMarker

In the last few posts I took a look at using Thymeleaf for view rendering and templating with Spark Java.  Thymeleaf has it's advantages and disadvantages...

Thymeleaf - Passing Variables From Child To Layout

Thymeleaf - Passing Variables From Child To Layout

Just a quick update after my last post to clarify things a bit.  I mentioned in that post my dismay regarding the inability to pass model variables...

MongoDB via Morphia in Spark Java

MongoDB via Morphia in Spark Java

The latest journey in my quest to see just how many new technologies and frameworks I can learn in one week involves Morphia.  Morphia is a "Java ...

Realtime GPIO On Raspberry Pi With Spark Java And WebSockets

Realtime GPIO On Raspberry Pi With Spark Java And WebSockets

One of the cooler things about the Spark Java framework is built in websocket support thanks to the embedded Jetty server.  I've long been fascinated...

Grails on Raspberry Pi - Part 1

Grails on Raspberry Pi - Part 1

In celebration of Pi day (actually, it's mostly coincidental, but let's go with it) I wanted to post the first in a series of upcoming posts about using...

Simulating Texas Hold'em With Groovy

Simulating Texas Hold'em With Groovy

Last week I had a bit of free time and decided to see how difficult it would be to write a Texas Hold'em poker simulation in Groovy.  My goal wasn't...