In association with heise online

25 March 2010, 13:09

Ruby framework Sinatra reaches version 1.0

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Sinatra, the Ruby based web framework, has reached version 1.0. Sinatra is a domain-specific language (DSL) for writing web applications in Ruby. It has become popular with developers for allowing, in only a few lines of code, the creation of REST web services. The canonical example, Hello World, in Sinatra, is

	require 'rubygems'
	require 'sinatra'

	get '/hi'
	    "Hello World!"

Which would respond when the URI /hi was accessed. Sinatra 1.0, described by the developers as mature and super-solid, has seen the extension API stabilised and now uses Tilt to handle the various template engines available for Ruby developers. The H's editor in chief has been using Sinatra and finds it a very compact and quick way to create web services and local web applications. A full change log details all the changes made in the 1.0 release. Sinatra is made available under an MIT Licence.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit