Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] OpenlySociable Micro 0.0.1 released!
Pradeep Elankumaran
11/9/2007 10:58:00 PM
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
Hello all,
Intridea (
http://www.in...
) 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.in...
/2007/11/9/announcing-openlysociable-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, :port => 3301, :root => "/"
Plans to integrate with Rubyforge are underway.
Thanks,
Pradeep Elankumaran
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] OpenlySociable Micro 0.0.1 released!
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password