-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
203 lines (178 loc) · 7.2 KB
/
index.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Camping, a Ruby Microframework</title>
<meta name="description" content="Promotional site for the Ruby Camping web framework" />
<meta name="keywords" content="Ruby, Camping, Ruby Camping, ruby-camping,ruby microframework,ruby micro-framework, ruby framework,ruby web framework,ruby rest framework,ruby camping framework,camping framework,_why, why went camping,campingrb" />
<link type="text/css" href="css/smoothness/jquery-ui-1.8.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<link rel="stylesheet" media="screen" type="text/css" href="./css/slideshow.css"/>
<script type="text/javascript" charset="utf-8" src="./js/slideshow.js"></script>
<link type="text/css" rel="stylesheet" href="./syntax-highlighter/styles/shCore.css" />
<link type="text/css" rel="stylesheet" href="./syntax-highlighter/styles/shThemeFadeToGrey.css" />
<script type="text/javascript" src="./syntax-highlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="./syntax-highlighter/scripts/shBrushRuby.js"></script>
<link type="text/css" href="css/default.css" rel="stylesheet" />
<script type="text/javascript">
$(function(){
//hover states on the static widgets
$('#dialog_link, ul#icons li').hover(
function() { $(this).addClass('ui-state-hover'); },
function() { $(this).removeClass('ui-state-hover'); }
);
});
</script>
</head>
<body>
<div id="campsite">
<img id="sky" src='img/campsite/rc-sky.gif' alt="sky"/>
<img id="mountains" src='img/campsite/rc-mountains.gif' alt="mountains"/>
<img id="forest" src='img/campsite/rc-forest.gif' alt="forest"/>
<img id="tent" src='img/campsite/rc-tent.gif' alt="tent"/>
</div>
<div id="content">
<h1>Camping, a Ruby Microframework</h1>
<img id="sign" src='img/campsite/rc-sign.gif' alt="camping site sign"/>
<div id='camping_slideshow'>
<div id="slideshow">
<div id="slidesContainer">
<div class="slide">
<h2>Fast To Learn</h2>
<a href='http://wiki.github.com/camping/camping/short-example'>
<p>Learning Camping only requires basic Ruby skills. </p>
<img height="188px" src='img/slides/ruby.png'>
</a>
<pre class="brush: ruby; toolbar: false; gutter: false;">
require 'camping'
Camping.goes :Blog
module Blog end
</pre>
</div>
<div class="slide">
<h2>Camping Is Simple Yet Powerful</h2>
<a href='http://wiki.github.com/camping/camping/rules-of-thumb'>
<p>Camping is simpler than Rails, but yet still follows the MVC pattern unlike Sinatra and Padrino.</p>
</a>
<pre class="brush: ruby; toolbar: false; gutter: false;">
require 'camping'
Camping.goes :Blog
module Blog
module Models end
module Controllers end
module Views end
end
</pre>
</div>
<div class="slide">
<h2>Camping Is Lightning Fast</h2>
<a href='#4'>
<p>Camping is built on Rack and is very compact making web apps fast to load/run and memory efficient.</p>
</a>
<p>The whole web microframework source code consistently stays at less than 4kB. You can probably view the complete source code on a single page.</p>
</div>
<div class="slide">
<h2>Camping Model Persistence Is Up To You</h2>
<a href='#'>
<p>Although Camping has an affinity for ActiveRecord, you can use your favorite ORM with it (e.g. MongoMapper to acces MongoDB)</p>
</a>
<p>If you choose ActiveRecord, Camping will manage a default Sqlite database and let you define schema migrations using classes.</p>
<pre class="brush: ruby; toolbar: false; gutter: false;">
class BlogInitialSchemaCreation < V 1.0
def self.up
create_table :blog_posts, #...
end
def self.down
drop_table :blog_posts
end
end
</pre>
</div>
<div class="slide">
<h2>Camping Views Are Flexible</h2>
<a href='#'>
<p>You can mix and match different view engines such as:</p>
</a>
<ul>
<li>ERB - mix HTML and Ruby fragments</li>
<li>HAML</li>
<li>Markaby</li>
<li>...</li>
</ul>
</div>
<div class="slide">
<h2>Camping Controllers Are Easy</h2>
<a href='#http://rdoc.info/rdoc/camping/camping/blob/fa8802511fd745dedcbeab61d809ddf15af80e43/Camping/Controllers.html'>
<p>Controller routes are declared at the same time as the controller definition:</p>
</a>
<pre class="brush: ruby; toolbar: false; gutter: false;">
class Edit < R '/post/(\d+)/edit'
def get(post_id) end
def post(post_id) end
end
</pre>
</div>
<div class="slide">
<h2>Add Features With Plugins</h2>
<a href='http://wiki.github.com/camping/camping/miscellaneous-camping-links'>
<p>Camping is extensible, allowing you to add functionality using plugins such as:</p>
</a>
<ul>
<li>REST</li>
<li>OAuth</li>
<li>...</li>
</ul>
</div>
<div class="slide">
<h2>What Can You Build With Camping?</h2>
<a href='http://wiki.github.com/camping/camping/miscellaneous-camping-links'>
<p>Camping is great for:</p>
</a>
<ul>
<li>Web Sites</li>
<li>Internal Web Apps</li>
<li>Web Services</li>
</ul>
</div>
<div class="slide">
<h2>Camping Was Created By _why</h2>
<a href='http://en.wikipedia.org/wiki/Why_the_lucky_stiff'>
<p>Why The Lucky Stiff originally created Camping.
The community is active and continues to evolve the framework.</p>
</a>
<img src='./img/slides/the.foxes-4c.png' />
</div>
<div class="slide">
<h2>Camping Runs On IronRuby Too!</h2>
<a href='http://blog.monnet-usa.com/?p=166'>
<p>IronRuby can run Camping web apps on IIS using IronRack</p>
<img src='http://blog.monnet-usa.com/wp-content/ironcamping.png'>
</a>
</div>
</div>
</div>
<script type="text/javascript">
var autostart_slideshow = true;
var slide_viewing_time = 15000;
SyntaxHighlighter.all();
</script>
</div>
<div id="camping-panel-canvas"> </div>
<div id="camping-panel">
<ul>
<li>
<div id="call-to-action">Go Camping With Us!</div>
<div id="camping-install">
<pre class="brush: ruby; toolbar: false; gutter: false;">
gem install camping</pre>
<div>
</li>
<li><a href="http://rubyforge.org/mailman/listinfo/camping-list">Community</a></li>
<li><a href="http://github.com/camping/camping">Code</a></li>
<li><a href="http://www.whywentcamping.com">Documentation</a></li>
</ul>
</div>
</div>
</body>
</html>