Technologies and platforms used
We will use a number of technologies in this chapter, mainly revolving around the Ruby programming language and its various libraries. The main Ruby technologies have been discussed in detail in Chapter 1, Cloning Internet Applications, and this section is a refresher before we jump into the code discussion.
Sinatra
Sinatra is a Domain Specific Language (DSL) for quickly creating web applications in Ruby. It keeps a minimal feature set for developers and is an excellent tool for creating small to mid-sized web applications using Ruby.
We discussed Sinatra in depth in Chapter 1.
Haml
Haml (HTML Abstraction Markup Language) is a simple markup language that is used to cleanly describe HTML in a web page. Haml was originally built for Ruby but has also been ported to other languages and platforms. We discussed Haml in depth in Chapter 1.
DataMapper
DataMapper is an object-relational mapping library for Ruby. While there are a number of Ruby object-relational mapping...