sMash, Twitter and OAuth

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.
Continue reading “sMash, Twitter and OAuth”

Accessing DB2 from sMash

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! Continue reading “Accessing DB2 from sMash”