summaryrefslogtreecommitdiffstats
path: root/README.md
blob: f49db388503e366581af523ae19cf922460add9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# zorglub
    by Jérémy Zurcher
    http://asynk.ch
    [![Build Status](https://secure.travis-ci.org/jeremyz/zorglub.png)](http://travis-ci.org/jeremyz/zorglub)
    [![Gem Version](https://badge.fury.io/rb/zorglub.png)](http://badge.fury.io/rb/zorglub)

## DESCRIPTION:

a nano web application framework based on [rack](http://rack.rubyforge.org/)

## FEATURES:

* class#method mapping scheme (/class_mapping/method_name/*args)
* class level layout and engine specification
* method level layout, engine and view specification
* before_all and after_all methods callbacks
* redirection
* partial
* class level inherited variables
* session

## SYNOPSIS:

For a simple test application run:
* rackup ./example/sample.ru

Don't forget to look at
* the spec/ folder

## REQUIREMENTS:

* rack

## DOWNLOAD/INSTALL:

From rubygems:

  [sudo] gem install zorglub

or from the git repository on github:

git clone git://github.com/jeremyz/zorglub.git && cd zorglub && rake install

## RESOURCES:

You can find this project in a few places:

Online repositories:

* https://github.com/jeremyz/zorglub
* http://cgit.asynk.ch/cgi-bin/cgit/zorglub/

## LICENSE:

[MIT](http://www.opensource.org/licenses/MIT) see [MIT_LICENSE](https://github.com/jeremyz/zorglub/blob/master/MIT-LICENSE)