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).
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 http://soal.org/sMash/repo/
zero create db2App from soal:db2App
(On a side note, notice how I’m hosting a zero repository containing my app right here on soal.org! Read more…