Posts Tagged ‘groovy’

sMash, Twitter and OAuth

June 6th, 2010 No comments

Here’s a little example sMash app showing how to authenticate with Twitter using OAuth. If you’re not familiar with OAuth, here’s a good introduction (part II is especially useful).

This example uses the signpost OAuth library. The code is based on this simple signpost example.
Read more…

Accessing DB2 from sMash

July 12th, 2009 1 comment

I couldn’t find a simple example that explicitly shows how to connect to DB2 from sMash, so I put one together. You can grab the resulting example sMash application using the zero command line like this:

zero modulegroup addurl
zero create db2App from soal:db2App

(On a side note, notice how I’m hosting a zero repository containing my app right here on! Read more…