Skip to content
Newer
Older
100644 19 lines (14 sloc) 1.25 KB
d75f23c @zhengjia Revert "update sinatra to 1.3.0.e"
authored Jul 17, 2011
1 I write this while I dig into sinatra source code myself. Please correct me if you find any mistakes or unclarity. Since Sinatra is short and concise, I hope the tutorial makes sense and it can keep pace with sinatra development with contributions from the community. The tutorial is prepared based on Sinatra 1.3.0c.
f773621 @zhengjia add tutorial_1
authored Apr 24, 2011
2
3 Sinatra is added as a git submodule in the sinatra folder.
d75f23c @zhengjia Revert "update sinatra to 1.3.0.e"
authored Jul 17, 2011
4 As this tutorial is for sinatra, I don't include the full rack source. I only list some relevant code based on rack 1.2.2 (https://github.com/rack/rack/tree/1.2.2).
f773621 @zhengjia add tutorial_1
authored Apr 24, 2011
5 If you need I recommend to use tux to play with sinatra https://github.com/cldwalker/tux
6
7 It's assumed that you have read the sinatra README. Sinatra is well documented so that's the only thing you need for this tutorial.
8
8e653c3 @zhengjia try this format
authored Apr 24, 2011
9 Content:
10 ________
11
085d5d6 @zhengjia update readme
authored Jun 27, 2011
12 * tutorial_1: sinatra startup (https://github.com/zhengjia/sinatra-explained/blob/master/app/tutorial_1/tutorial_1.md)
13 * tutorial_2: extensions and middleware (https://github.com/zhengjia/sinatra-explained/blob/master/app/tutorial_2/tutorial_2.md)
14 * tutorial_3: routing (https://github.com/zhengjia/sinatra-explained/blob/master/app/tutorial_3/tutorial_3.md)
15 * tutorial_4: request and response (work in progress)
7865acf @zhengjia does the format work?
authored Apr 24, 2011
16 * tutorial_5: request cycle
ec636b4 @zhengjia tutorial 3. changes on tutorial 1 and 2
authored May 15, 2011
17 * tutorial_6: sinatra helpers
18 * tutorial_7: templates
Something went wrong with that request. Please try again.