How to use Sinatra (and other band members) to build an iPhone message tracker
There’s an article over at Technetra demonstrating how to use Sinatra, Ruby and other tools to drive a mobile client like the iPhone, and integrate it with a live data source. The client side is JavaScript and CSS customized for iPhone’s Safari (but playable for testing on a desktop browser like Firefox). The server side is all Ruby and Sinatra. Sinatra sings a simple but complete Web interface tune while core Ruby plays a drum beat with the live data feed – in this case the Bluez D-BUS message stream on Linux. The article is also notable because it’s presents a good example of how to write a module on top of ruby-dbus to monitor Linux’s Bluetooth subsystem.
Post a comment