Posts Tagged ‘sMash’

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…

Dutch PHP Conference 2009 Retrospective

June 19th, 2009 2 comments

DPC ended last weekend, so I’m a little late with my write-up. However, the event was sufficiently memorable to still be fresh in my mind. :)

Like the vast majority of attendees, I was massively impressed by the superb selection of talks and the attention to detail inherent in every aspect of the organisation of DPC ’09. Big thanks to the Ibuildings folks for this. One example of the love they poured into the event is the conference introduction video, which was played on a large screen before the opening keynote. It included customized avatars for every speaker, including me… even though I was a very late addition to the speaker list!

Performance and scalability seemed to be the unofficial themes Read more…
Categories: Uncategorized Tags: , , , ,

WebSphere sMash @ Dutch PHP Conference on 12th June 2009

June 6th, 2009 1 comment

Jonathan Lawrence and I will be presenting an introduction to WebSphere sMash at the Dutch PHP Conference on Friday. Here’s a quick overview of what we’ll be talking about:

Don’t hesitate to come chat with us between the talks, particularly if you’re curious about running PHP on the Java Virtual Machine or integrating PHP and Java code.

If you like the sound of this, read more about PHP on Java with WebSphere sMash or check out some WebSphere sMash demos on YouTube.

Categories: Uncategorized Tags: , , , , ,

Using Nginx to Proxy Requests to sMash Apps

March 28th, 2009 No comments

I now have a few sMash apps sitting on my VPS, running on different ports.  I wanted to be able to access each of them on their own subdomain  Рlike this :

Application URL Real location
App Builder
WordPress blog
Some Other App

( is my VPS’s current IP address)

I had no idea how to do this, but it turned out to be fairly simple:
Read more…

Getting started with sMash on a Virtual Private Server

March 11th, 2009 No comments

It took less than an hour to get this blog up and running on WebSphere sMash on a Virtual Private Server, starting from nothing at all. Here’s how you can get started too:
Read more…

Categories: Uncategorized Tags: , ,