Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Collection of small apps to demonstrate Sinatra micro-framework and it's stage
Ruby
tag: 21

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
01_rack
02_sinatra_features
03_sinatra_crud_rest
04_sinatra_rails_metal
vendor
.gitignore
.gitmodules
README.rdoc

README.rdoc

Sinatra workshop code

Collection of small apps to demonstrate Sinatra micro-framework and it's world.

Contents

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

Tutorial

Clone the repository by doing:

$ git://github.com/karmi/sinatra_workshop_tutorials.git

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]

Something went wrong with that request. Please try again.