"Choose your design pattern, object-relational mapper
(ORM), and rendering technology, and off you go. As you'll see, a
working Web application can be composed in less than ten lines of
code in a single source file.
"Let's look at two micro-frameworks, one for Ruby and the other
"Singing the Praises of Sinatra
"Sinatra is a micro-framework for Web applications written in
Ruby. Here's a complete Sinatra Web application.
"Sinatra depends on Rack to bundle up an incoming request. As I
write this, Sinatra depends specifically on Rack version 0.9.1.
Sinatra itself is also provided as a Ruby gem. Once those two
prerequisites are installed and required, the application is four
lines: A GET request to the URL /hi generates "Hello, World!""
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.