ramaze 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. data/Rakefile +52 -19
  2. data/bin/ramaze +19 -6
  3. data/doc/CHANGELOG +33 -0
  4. data/doc/COPYING +1 -1
  5. data/doc/FAQ +92 -0
  6. data/doc/GPL +340 -0
  7. data/doc/INSTALL +34 -0
  8. data/doc/ProjectInfo +53 -0
  9. data/doc/README +187 -110
  10. data/doc/readme_chunks/appendix.txt +13 -0
  11. data/doc/readme_chunks/examples.txt +38 -0
  12. data/doc/readme_chunks/features.txt +82 -0
  13. data/doc/readme_chunks/getting_help.txt +5 -0
  14. data/doc/readme_chunks/getting_started.txt +18 -0
  15. data/doc/readme_chunks/installing.txt +41 -0
  16. data/doc/readme_chunks/introduction.txt +18 -0
  17. data/doc/readme_chunks/principles.txt +41 -0
  18. data/doc/readme_chunks/thanks.txt +59 -0
  19. data/doc/tutorial/todolist.txt +546 -0
  20. data/examples/blog/main.rb +1 -1
  21. data/examples/blog/src/controller.rb +13 -11
  22. data/examples/blog/src/element.rb +11 -6
  23. data/examples/blog/src/model.rb +8 -23
  24. data/examples/blog/template/edit.xhtml +3 -1
  25. data/examples/blog/template/index.xhtml +4 -4
  26. data/examples/caching.rb +4 -4
  27. data/examples/element.rb +10 -7
  28. data/examples/hello.rb +3 -4
  29. data/examples/simple.rb +5 -3
  30. data/examples/templates/template/external.amrita +19 -0
  31. data/examples/templates/template/{external.rmze → external.zmr} +2 -2
  32. data/examples/templates/template_amrita2.rb +48 -0
  33. data/examples/templates/template_erubis.rb +5 -2
  34. data/examples/templates/{template_ramaze.rb → template_ezamar.rb} +13 -7
  35. data/examples/templates/template_haml.rb +4 -1
  36. data/examples/templates/template_liquid.rb +2 -1
  37. data/examples/templates/template_markaby.rb +2 -1
  38. data/examples/todolist/conf/benchmark.yaml +35 -0
  39. data/examples/todolist/conf/debug.yaml +34 -0
  40. data/examples/todolist/conf/live.yaml +33 -0
  41. data/examples/todolist/conf/silent.yaml +31 -0
  42. data/examples/todolist/conf/stage.yaml +33 -0
  43. data/examples/todolist/main.rb +18 -0
  44. data/examples/todolist/public/404.jpg +0 -0
  45. data/examples/todolist/public/css/coderay.css +105 -0
  46. data/examples/todolist/public/css/ramaze_error.css +42 -0
  47. data/{lib/proto → examples/todolist}/public/error.xhtml +0 -0
  48. data/examples/todolist/public/favicon.ico +0 -0
  49. data/examples/todolist/public/js/jquery.js +1923 -0
  50. data/examples/todolist/public/ramaze.png +0 -0
  51. data/examples/todolist/src/controller/main.rb +56 -0
  52. data/examples/todolist/src/element/page.rb +26 -0
  53. data/examples/todolist/src/model.rb +14 -0
  54. data/examples/todolist/template/index.xhtml +17 -0
  55. data/examples/todolist/template/new.xhtml +7 -0
  56. data/examples/todolist/todolist.db +9 -0
  57. data/examples/whywiki/main.rb +3 -8
  58. data/examples/whywiki/template/show.xhtml +4 -0
  59. data/lib/proto/public/error.zmr +77 -0
  60. data/lib/proto/src/controller/main.rb +2 -1
  61. data/lib/proto/src/element/page.rb +2 -1
  62. data/lib/proto/src/model.rb +3 -2
  63. data/lib/ramaze.rb +7 -9
  64. data/lib/ramaze/adapter.rb +51 -0
  65. data/lib/ramaze/adapter/cgi.rb +23 -0
  66. data/lib/ramaze/adapter/fcgi.rb +22 -0
  67. data/lib/ramaze/adapter/mongrel.rb +7 -86
  68. data/lib/ramaze/adapter/webrick.rb +14 -133
  69. data/lib/ramaze/cache/memcached.rb +6 -0
  70. data/lib/ramaze/cache/yaml_store.rb +3 -1
  71. data/lib/ramaze/controller.rb +292 -2
  72. data/lib/ramaze/dispatcher.rb +85 -213
  73. data/lib/ramaze/error.rb +10 -0
  74. data/lib/ramaze/global.rb +8 -0
  75. data/lib/ramaze/helper/aspect.rb +30 -7
  76. data/lib/ramaze/helper/auth.rb +16 -9
  77. data/lib/ramaze/helper/cache.rb +40 -35
  78. data/lib/ramaze/helper/feed.rb +1 -1
  79. data/lib/ramaze/helper/flash.rb +34 -0
  80. data/lib/ramaze/helper/link.rb +8 -2
  81. data/lib/ramaze/helper/openid.rb +63 -0
  82. data/lib/ramaze/helper/redirect.rb +12 -11
  83. data/lib/ramaze/helper/stack.rb +5 -7
  84. data/lib/ramaze/inform.rb +12 -1
  85. data/lib/ramaze/snippets/kernel/aquire.rb +1 -1
  86. data/lib/ramaze/snippets/kernel/{self_method.rb → method.rb} +3 -18
  87. data/lib/ramaze/snippets/kernel/{rescue_require.rb → pretty_inspect.rb} +7 -6
  88. data/lib/ramaze/snippets/method/name.rb +22 -0
  89. data/lib/ramaze/snippets/{kernel → ramaze}/autoreload.rb +0 -0
  90. data/lib/ramaze/snippets/ramaze/caller_info.rb +14 -0
  91. data/lib/ramaze/snippets/{kernel → ramaze}/caller_lines.rb +3 -10
  92. data/lib/ramaze/snippets/rdoc/usage_no_exit.rb +49 -23
  93. data/lib/ramaze/snippets/string/DIVIDE.rb +0 -1
  94. data/lib/ramaze/store/default.rb +58 -2
  95. data/lib/ramaze/store/yaml.rb +161 -0
  96. data/lib/ramaze/template.rb +27 -86
  97. data/lib/ramaze/template/amrita2.rb +14 -19
  98. data/lib/ramaze/template/erubis.rb +15 -38
  99. data/lib/ramaze/template/ezamar.rb +100 -0
  100. data/lib/ramaze/template/ezamar/element.rb +166 -0
  101. data/lib/ramaze/template/ezamar/engine.rb +124 -0
  102. data/lib/ramaze/template/ezamar/morpher.rb +155 -0
  103. data/lib/ramaze/template/haml.rb +16 -43
  104. data/lib/ramaze/template/liquid.rb +11 -51
  105. data/lib/ramaze/template/markaby.rb +44 -42
  106. data/lib/ramaze/tool/mime.rb +18 -0
  107. data/lib/ramaze/tool/mime_types.yaml +615 -0
  108. data/lib/ramaze/trinity/request.rb +20 -196
  109. data/lib/ramaze/trinity/response.rb +4 -33
  110. data/lib/ramaze/trinity/session.rb +150 -72
  111. data/lib/ramaze/version.rb +1 -1
  112. data/spec/adapter_spec.rb +20 -0
  113. data/spec/public/favicon.ico +0 -0
  114. data/spec/public/ramaze.png +0 -0
  115. data/spec/public/test_download.css +141 -0
  116. data/spec/{tc_request.rb → request_tc_helper.rb} +45 -21
  117. data/spec/spec_all.rb +77 -34
  118. data/spec/spec_helper.rb +8 -157
  119. data/spec/spec_helper_context.rb +72 -0
  120. data/spec/spec_helper_requester.rb +52 -0
  121. data/spec/spec_helper_simple_http.rb +433 -0
  122. data/spec/tc_adapter_mongrel.rb +3 -15
  123. data/spec/tc_adapter_webrick.rb +4 -14
  124. data/spec/tc_cache.rb +3 -5
  125. data/spec/tc_controller.rb +22 -12
  126. data/spec/tc_dependencies.rb +13 -0
  127. data/spec/tc_element.rb +8 -7
  128. data/spec/tc_error.rb +13 -7
  129. data/spec/tc_global.rb +16 -18
  130. data/spec/tc_helper_aspect.rb +2 -4
  131. data/spec/tc_helper_auth.rb +15 -14
  132. data/spec/tc_helper_cache.rb +5 -7
  133. data/spec/tc_helper_feed.rb +0 -2
  134. data/spec/tc_helper_flash.rb +103 -0
  135. data/spec/tc_helper_form.rb +4 -6
  136. data/spec/tc_helper_link.rb +1 -3
  137. data/spec/tc_helper_redirect.rb +23 -8
  138. data/spec/tc_helper_stack.rb +31 -15
  139. data/spec/tc_morpher.rb +1 -3
  140. data/spec/tc_params.rb +48 -7
  141. data/spec/tc_request_mongrel.rb +9 -0
  142. data/spec/tc_request_webrick.rb +5 -0
  143. data/spec/tc_session.rb +41 -25
  144. data/spec/tc_store.rb +55 -6
  145. data/spec/tc_store_yaml.rb +71 -0
  146. data/spec/tc_template_amrita2.rb +3 -3
  147. data/spec/tc_template_erubis.rb +2 -3
  148. data/spec/{tc_template_ramaze.rb → tc_template_ezamar.rb} +15 -5
  149. data/spec/tc_template_haml.rb +4 -3
  150. data/spec/tc_template_liquid.rb +3 -4
  151. data/spec/tc_template_markaby.rb +4 -6
  152. data/spec/tc_tidy.rb +1 -3
  153. data/spec/template/amrita2/{data.html → data.amrita} +0 -0
  154. data/spec/template/amrita2/{index.html → index.amrita} +0 -0
  155. data/spec/template/amrita2/{sum.html → sum.amrita} +0 -0
  156. data/spec/template/ezamar/another/long/action.zmr +1 -0
  157. data/spec/template/ezamar/combined.zmr +1 -0
  158. data/spec/template/{ramaze/file_only.rmze → ezamar/file_only.zmr} +0 -0
  159. data/spec/template/{ramaze/index.rmze → ezamar/index.zmr} +0 -0
  160. data/spec/template/{ramaze/nested.rmze → ezamar/nested.zmr} +0 -0
  161. data/spec/template/ezamar/some__long__action.zmr +1 -0
  162. data/spec/template/{ramaze/sum.rmze → ezamar/sum.zmr} +0 -0
  163. metadata +181 -123
  164. data/doc/allison/LICENSE +0 -184
  165. data/doc/allison/README +0 -37
  166. data/doc/allison/allison.css +0 -300
  167. data/doc/allison/allison.gif +0 -0
  168. data/doc/allison/allison.js +0 -307
  169. data/doc/allison/allison.rb +0 -287
  170. data/doc/allison/cache/BODY +0 -588
  171. data/doc/allison/cache/CLASS_INDEX +0 -4
  172. data/doc/allison/cache/CLASS_PAGE +0 -1
  173. data/doc/allison/cache/FILE_INDEX +0 -4
  174. data/doc/allison/cache/FILE_PAGE +0 -1
  175. data/doc/allison/cache/FONTS +0 -1
  176. data/doc/allison/cache/FR_INDEX_BODY +0 -1
  177. data/doc/allison/cache/IMGPATH +0 -1
  178. data/doc/allison/cache/INDEX +0 -1
  179. data/doc/allison/cache/JAVASCRIPT +0 -307
  180. data/doc/allison/cache/METHOD_INDEX +0 -4
  181. data/doc/allison/cache/METHOD_LIST +0 -1
  182. data/doc/allison/cache/SRC_PAGE +0 -1
  183. data/doc/allison/cache/STYLE +0 -322
  184. data/doc/allison/cache/URL +0 -1
  185. data/doc/changes.txt +0 -2021
  186. data/doc/changes.xml +0 -2024
  187. data/lib/ramaze/snippets/kernel/silently.rb +0 -13
  188. data/lib/ramaze/snippets/thread/deadQUESTIONMARK.rb +0 -11
  189. data/lib/ramaze/template/haml/actionview_stub.rb +0 -20
  190. data/lib/ramaze/template/ramaze.rb +0 -177
  191. data/lib/ramaze/template/ramaze/element.rb +0 -166
  192. data/lib/ramaze/template/ramaze/morpher.rb +0 -156
  193. data/spec/tc_test.rb +0 -17
@@ -0,0 +1,34 @@
1
+ = Installating Ramaze
2
+
3
+ * via RubyGems
4
+
5
+ The simplest way of installing Ramaze is via
6
+
7
+ $ gem install ramaze
8
+
9
+ in case you have RubyGems installed.
10
+ (this will work as soon as I have registered on RubyForge ;)
11
+
12
+ * via install.rb
13
+
14
+ Ramaze provides a basic install.rb that should take care of the installation
15
+ you can use it like
16
+
17
+ $ ruby install.rb
18
+
19
+ you may need root-privileges to do
20
+ that, depending on what options you provide.
21
+ (please note that I haven't tested the install.rb extensively yet, so if you
22
+ find some quirks, please send me patches or a simple note)
23
+
24
+ * via darcs
25
+
26
+ To get the latest and sweetest, you can just pull from the repository and run
27
+ Ramaze that way.
28
+
29
+ $ darcs get http://manveru.mine.nu/ramaze
30
+
31
+ Please read the man page or `darcs help` for more information about updating
32
+ and creating your own patches.
33
+ This is at the moment the premier way to use Ramaze, since it is the way I use
34
+ it.
@@ -0,0 +1,53 @@
1
+ ---
2
+ project : ramaze
3
+ version : '0.0.7'
4
+ status : alpha
5
+
6
+ title : Ramaze
7
+ subtitle : A light and modular Web-Framework
8
+ description : >
9
+ Ramaze is a very simple and straight-forward web-framework.
10
+ The philosophy of it could be expressed in a mix of KISS and POLS, trying to
11
+ make simple things simple and complex things possible.
12
+
13
+ author : Michael Fellinger <m.fellinger@gmail.com>
14
+ created : "2006-10-14"
15
+ homepage : "http://ramaze.rubyforge.org"
16
+ download : "https://rubyforge.org/frs/?group_id=3034"
17
+ repository : "http://manveru.mine.nu/darcs/ramaze"
18
+ slogan : Ramaze, light and modular
19
+ #signiture : "../_privkey.pem"
20
+
21
+ pack : [gem, tgz, bz2]
22
+ distribute : [ -scrap ]
23
+ dependency :
24
+ - [ autorake, >= 0.5.1 ]
25
+ executable : [ bin/ramaze ]
26
+
27
+ #digest : sha256
28
+ #manifest : MANIFEST.txt
29
+ archive : ~/ruby/ARCHIVE
30
+ scm : darcs
31
+ scm_ignore : [ doc/allison ]
32
+ changelog : doc/CHANGELOG
33
+ stamp : doc/VERSION
34
+
35
+ rdoc:
36
+ template : allison
37
+
38
+ mail:
39
+ server : smtp.gmail.com
40
+ account : m.fellinger@gmail.com
41
+ mail_to : m.fellinger@gmail.com
42
+
43
+ rubyforge:
44
+ project : ramaze
45
+ username : manveru
46
+ groupid : 3034
47
+ package : ramaze
48
+
49
+ #host:
50
+ # domain : rubyforge.org
51
+ # user : transami
52
+ # root : '/var/www/gforge-projects/ratchets'
53
+
data/doc/README CHANGED
@@ -1,7 +1,7 @@
1
- Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
2
- All files in this distribution are subject to the terms of the Ruby license.
1
+ Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
2
+ All files in this distribution are subject to the terms of the Ruby license.
3
3
 
4
- = Readme for Ramaze
4
+ = About Ramaze
5
5
 
6
6
  Ramaze is a very simple and straight-forward web-framework.
7
7
  The philosophy of it could be expressed in a mix of KISS and POLS, trying to
@@ -12,89 +12,44 @@ forgotten in a chase for new functionality and features. Ramaze only tries to
12
12
  give you the ultimate tools, but you have to use them yourself to achieve
13
13
  perfect custom-tailored results.
14
14
 
15
- Another interesting aspect is that Ramaze tries to provide as much reusable
16
- code as possible, as to encourage the use of its code in similar projects and
17
- to act as a single point of reference for projects using its components.
18
- This tries to tackle the problem that everybody who wants/needs to create a
19
- custom web framework always has to reimplement the most basic and common
20
- functionality.
15
+ Another one of the goals during development of Ramaze was to make every part as
16
+ modular and therefor reuasable as possible, not only to provide a basic
17
+ understanding after the first glance, but also to make it as simple as possible
18
+ to reuse parts of the code.
21
19
 
22
- So when for example someone wants a basic example of how to build a comfortable
23
- testing environment for a web framework it's hardly leading to the goal if this
24
- first has to be reinvented before even the basic testing can start.
20
+ The original purpose of Ramaze was to act as a kind of framework to build
21
+ web-frameworks, this was made obsolete by the introduction of rack, which
22
+ provides this feature at a better level without trying to enforce any structural
23
+ layout of the resulting framework.
25
24
 
26
- The same goes for the implementation of sessions or the request/response
27
- objects which are collected under the module Trinity. Or all the examples
28
- of real world-usage of the most popular templating-engines. Within a framework,
29
- not to mention the basic need for a Dispatcher.
30
25
 
31
- Of course most other frameworks will introduce their own paradigms and special
32
- implementations, and this is the reason why it is not encouraged to directly
33
- require files from Ramaze, they are one working entity together, but with a few
34
- modifications it's your very own implementation and fits into your own project.
35
- Not to mention that introducing another web framework for your own would be
36
- quite odd ;)
26
+ = Features Overview
37
27
 
28
+ Ramaze offers following features at the moment:
38
29
 
39
- == Basic Principles of Ramaze
40
-
41
- There are some basic principles that Ramaze tries to follow:
42
-
43
- * Test everything
44
-
45
- What use is a wonderful application if it doesn't work?
46
-
47
-
48
- * Document everything
49
-
50
- Documentation is the glue between the code and the programmers brain
51
-
52
-
53
- * Keep It Super Simple (KISS)
54
-
55
- Most things should be understandable after reading them once
56
-
57
-
58
- * Principle Of Least Surprise (POLS)
59
-
60
- Going the way of ruby
61
-
62
-
63
- * Modular design
64
-
65
- Making it as simple as possible to extract parts
66
-
67
-
68
- * Minimal dependencies
69
-
70
- In case a dependency is not met use a simple fall-back instead
30
+ * Adapters
71
31
 
32
+ Ramaze takes advantage of the rack library to provide a common way of
33
+ handling different ways to serve its content.
72
34
 
73
- * Provide as many examples as possible
35
+ Rack supports at the moment:
74
36
 
75
- Examples are a superior way of getting a quick start into everything
37
+ * Mongrel
76
38
 
39
+ http://mongrel.rubyforge.org/
40
+ Mongrel is a fast HTTP library and server for Ruby that is intended for
41
+ hosting Ruby web applications of any kind using plain HTTP rather than
42
+ FastCGI or SCGI.
77
43
 
78
- * Open development
44
+ * WEBrick
79
45
 
80
- I happily accept all patches or feature-requests that you may have,
81
- as long as they comply with these principles
46
+ http://www.webrick.org/
47
+ WEBrick is a Ruby library program to build HTTP servers.
82
48
 
49
+ * CGI
83
50
 
84
- == Quick features overview
85
-
86
- Ramaze offers following features at the moment:
87
-
88
- * Adapters
89
- * Mongrel
90
- http://mongrel.rubyforge.org/
91
- Mongrel is a fast HTTP library and server for Ruby that is intended for
92
- hosting Ruby web applications of any kind using plain HTTP rather than
93
- FastCGI or SCGI.
94
-
95
- * WEBrick
96
- http://www.webrick.org/
97
- WEBrick is a Ruby library program to build HTTP servers.
51
+ CGI is the Common Gateway Interface and is one of the most basic ways
52
+ to integrate into Webservers like Apache, Lighttpd or Nginx.
98
53
 
99
54
 
100
55
  * Templates
@@ -125,7 +80,7 @@ Ramaze offers following features at the moment:
125
80
  http://code.whytheluckystiff.net/markaby/
126
81
  Markaby means Markup as Ruby.
127
82
 
128
- * Ramaze
83
+ * Ezamar
129
84
 
130
85
  A simple homage to Nitros templating. Please check out http://nitroproject.org
131
86
  for more information.
@@ -140,8 +95,10 @@ Ramaze offers following features at the moment:
140
95
  * Auth
141
96
  * Cache
142
97
  * Feed
98
+ * Flash
143
99
  * Form
144
100
  * Link
101
+ * OpenID
145
102
  * Redirect
146
103
  * Stack
147
104
 
@@ -152,28 +109,52 @@ Ramaze offers following features at the moment:
152
109
  * Custom Error-handling
153
110
 
154
111
 
155
- == Getting started
112
+ = Basic Principles
156
113
 
157
- Now that you have a vague idea of what you're about to get into you might just
158
- want to get a way to get up and running ASAP.
159
- Please read below for more information about installation.
114
+ There are some basic principles that Ramaze tries to follow:
160
115
 
161
- Depending on what you are planning to do you can either just go and start
162
- reading the source or directly get some hands-on experience by trying some of
163
- the examples.
164
- Most things will require dependencies though. The basic functionality is
165
- provided by the WEBrick adapter and the Template::Ramaze, which just run out
166
- of the box. For more features you will have to install some templating-engines
167
- and mongrel (_very_ recommended). Ramaze will inform you when it needs further
168
- dependencies, so just go and try some things.
116
+ * Test everything
117
+
118
+ What use is a wonderful application if it doesn't work?
119
+
120
+
121
+ * Document everything
122
+
123
+ Documentation is the glue between the code and the programmers brain
169
124
 
170
- Some places to get started are:
171
- - Read the documentation.
172
- - Run and read the test cases.
173
- - Look at the examples and run/modify them.
174
125
 
126
+ * Keep It Super Simple (KISS)
127
+
128
+ Most things should be understandable after reading them once
175
129
 
176
- == Installation
130
+
131
+ * Principle Of Least Surprise (POLS)
132
+
133
+ Going the way of ruby
134
+
135
+
136
+ * Modular design
137
+
138
+ Making it as simple as possible to extract parts
139
+
140
+
141
+ * Minimal dependencies
142
+
143
+ In case a dependency is not met use a simple fall-back instead
144
+
145
+
146
+ * Provide as many examples as possible
147
+
148
+ Examples are a superior way of getting a quick start into everything
149
+
150
+
151
+ * Open development
152
+
153
+ I happily accept all patches or feature-requests that you may have,
154
+ as long as they comply with these principles
155
+
156
+
157
+ = Installation
177
158
 
178
159
  * via RubyGems
179
160
 
@@ -184,32 +165,63 @@ Some places to get started are:
184
165
  in case you have RubyGems installed.
185
166
  (this will work as soon as I have registered on RubyForge ;)
186
167
 
187
- * via install.rb
188
-
189
- Ramaze provides a basic install.rb that should take care of the installation
190
- you can use it like
191
-
192
- $ ruby install.rb
193
-
194
- you may need root-privileges to do
195
- that, depending on what options you provide.
196
- (please note that I haven't tested the install.rb extensively yet, so if you
197
- find some quirks, please send me patches or a simple note)
198
-
199
168
  * via darcs
200
169
 
201
170
  To get the latest and sweetest, you can just pull from the repository and run
202
171
  Ramaze that way.
203
172
 
204
- $ darcs get http://manveru.mine.nu/darcs/prog/projects/ramaze
173
+ $ darcs get http://manveru.mine.nu/ramaze
205
174
 
206
175
  Please read the man page or `darcs help` for more information about updating
207
176
  and creating your own patches.
208
177
  This is at the moment the premier way to use Ramaze, since it is the way I use
209
178
  it.
210
179
 
180
+ Some hints for the usage of Darcs.
181
+
182
+ * use require 'ramaze' from everywhere
183
+
184
+ add a file to your site_ruby named 'ramaze.rb'
185
+ the content should be: "require '/path/to/darcs/repo/ramaze/lib/ramaze'"
186
+
187
+ * get the latest version (from inside the ramaze-directory)
188
+
189
+ $ darcs pull
190
+
191
+ * record a patch
192
+
193
+ $ darcs record
194
+
195
+ * output your patches into a bundle ready to be mailed (compress it before
196
+ sending to make sure it arrives in the way you sent it)
197
+
198
+ $ darcs send -o ramaze_bundle
199
+ $ gzip -c ramaze_bundle > ramaze_bundle.gz
200
+
201
+
202
+ = Getting Started
203
+
204
+ Now that you have a vague idea of what you're about to get into you might just
205
+ want to get a way to get up and running ASAP.
206
+ Please read below for more information about installation.
207
+
208
+ Depending on what you are planning to do you can either just go and start
209
+ reading the source or directly get some hands-on experience by trying some of
210
+ the examples.
211
+ Most things will require dependencies though. The basic functionality is
212
+ provided by the WEBrick adapter and the Template::Ramaze, which just run out
213
+ of the box. For more features you will have to install some templating-engines
214
+ and mongrel (_very_ recommended). Ramaze will inform you when it needs further
215
+ dependencies, so just go and try some things.
216
+
217
+ Some places to get started are:
218
+ - Read the documentation.
219
+ - Run and read the test cases.
220
+ - Look at the examples and run/modify them.
221
+
222
+
211
223
 
212
- == Ramaze Examples
224
+ = A couple of Examples
213
225
 
214
226
  There are some examples for your instant pleasure inside the examples-directory
215
227
  in the Ramaze-distribution.
@@ -250,7 +262,17 @@ Examples include:
250
262
  functionality in each template_*.rb file using a different engine.
251
263
 
252
264
 
253
- == good to know
265
+
266
+ = How to find Help
267
+
268
+ For help you can:
269
+
270
+ - Visit us in the channel #ramaze on irc.freenode.net
271
+
272
+ - Join the Mailinglist at http://ramaze.rubyforge.org
273
+
274
+
275
+ = Appendix
254
276
 
255
277
  * Nicer Error-pages
256
278
  * Install coderay (it's a gem)
@@ -267,9 +289,64 @@ Examples include:
267
289
  Also, using MemCache gives you high-end performance and security.
268
290
 
269
291
 
270
- == Getting Help
292
+ = And thanks to...
293
+
294
+ There is a large number of people who made Ramaze possibe by their ongoing
295
+ efforts in the world of open source and by encouraging and helping me.
296
+
297
+ This list is by no means a full listing of all these people, but I try to
298
+ get a good coverage despite that.
299
+
300
+ I would like to thank:
301
+
302
+ * Yukihiro Matsumoto a.k.a matz
303
+
304
+ For giving the world Ruby and bringing fun back into programming.
305
+
306
+ * Zed Shawn a.k.a. zedas
307
+
308
+ For developing Mongrel, Ramaze started out as a simple Hello World based
309
+ on that awesome server.
310
+
311
+ * Christian Neukirchen a.k.a chris2
312
+
313
+ For building rack, which is just what the numerous web-developers had
314
+ anticipated and which will, with no doubt, change the world.
315
+
316
+ * Pistos
317
+
318
+ For continious encouragment and building the first real webpage on Ramaze.
319
+ His bugreports were invaluable.
320
+
321
+ * Jim Weirich
322
+
323
+ For Rake, which lifts off a lot of tasks from the shoulders of every
324
+ developer who uses it.
325
+
326
+ * Thomas Sawyer a.k.a Trans
327
+
328
+ Dragging me deep into the rabbit-hole and showing me how awesome Ruby
329
+ truely is through his work on facets, ratchets and tons of other projects.
330
+
331
+ * George Moschovitis a.k.a gmosx
332
+
333
+ For his tremendous efforts in the Nitro/Og framework, which is a source of
334
+ steady inspiration for Ramaze and brought me to Ruby in the first place.
335
+
336
+ * Rob Levin a.k.a. lilo
337
+
338
+ He founded the most excellent Freenode IRC-network, where the most important
339
+ channels for rubyists are located (as is #ramaze).
340
+ May he rest in peace.
341
+
342
+ * The guys (and gals) in the various channels on Freenode
271
343
 
272
- For help you can just join #ramaze on irc.freenode.net.
344
+ As the people are way too many to be listed, here the channels that i call
345
+ my online home.
346
+ All the people in there deserve special thanks for getting me hooked to Ruby
347
+ and providing their help in a friendly and patient manner.
273
348
 
274
- Or mail me, at m [dot] fellinger [at] gmail [dot] com - I'm happy to provide
275
- help on anything related to web-development.
349
+ * #nitro
350
+ * #ruby-de
351
+ * #ruby-lang
352
+ * #rubyforce