Sinatra workshop code
Collection of small apps to demonstrate Sinatra micro-framework and it's world.
Rack (tags 1 - 3)
Basic Rack concepts in 01_rack.
Sinatra features (tags 4 - 17)
Sinatra concepts and features in 02_sinatra_features
Small CRUD/REST application (tags 18 - 20)
Building simple CRUD/REST application in one file in 03_sinatra_crud_rest, step-by-step
Rails Metal and Sinatra (tag 21)
Using Sinatra as a Rails Metal application (as part of Rails and standalone) in 04_sinatra_metal. See 04_sinatra_metal/README.rdoc
Clone the repository by doing:
Open the commits listing either locally or on Github to have an overview what's going on.
Every important step of the tutorial is saved in Git tags, the files and directories themselves change.
Continually check them by running:
$ git checkout 1 $ git checkout 2 ... $ git checkout 21
and inspect/run relevant files.
You can always reset things to default by doing:
$ git checkout master
Created in 2009 by Karel Minarik [www.karmi.cz]