P
Pradeep Elankumaran
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
Hello all,
Intridea (http://www.intridea.com) has just released 'OpenlySociable
Micro', which is a clean, simple and concise way of writing OpenSocial
widgets.
It uses Camping and Mongrel to allow developers to write very self-
contained widgets for OpenSocial-enabled websites with none of the
overhead of
a full-on Rails application.
More details are here on the Intridea blog:
http://www.intridea.com/2007/11/9/a...ble-micro-an-opensocial-widget-microframework
Here's what the 'Hello World' widget looks like:
require 'openly_sociable_micro'
OpenSocial.make_app :HelloWorld
module HelloWorld::Controllers
class Index < R '/'
def get
@title = "Hello World"
render :index
end
end
end
module HelloWorld::Views
def index
p "Hello World"
end
end
OpenSocial.start_mongrel :HelloWorld, ort => 3301, :root => "/"
Plans to integrate with Rubyforge are underway.
Thanks,
Pradeep Elankumaran
Hello all,
Intridea (http://www.intridea.com) has just released 'OpenlySociable
Micro', which is a clean, simple and concise way of writing OpenSocial
widgets.
It uses Camping and Mongrel to allow developers to write very self-
contained widgets for OpenSocial-enabled websites with none of the
overhead of
a full-on Rails application.
More details are here on the Intridea blog:
http://www.intridea.com/2007/11/9/a...ble-micro-an-opensocial-widget-microframework
Here's what the 'Hello World' widget looks like:
require 'openly_sociable_micro'
OpenSocial.make_app :HelloWorld
module HelloWorld::Controllers
class Index < R '/'
def get
@title = "Hello World"
render :index
end
end
end
module HelloWorld::Views
def index
p "Hello World"
end
end
OpenSocial.start_mongrel :HelloWorld, ort => 3301, :root => "/"
Plans to integrate with Rubyforge are underway.
Thanks,
Pradeep Elankumaran