/
index.html
executable file
·226 lines (205 loc) · 7.13 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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript" src="js/syntax/scripts/shCore.js"></script>
<script type="text/javascript" src="js/syntax/scripts/shBrushBash.js"></script>
<script type="text/javascript" src="js/syntax/scripts/shBrushJScript.js"></script>
<script type="text/javascript">
SyntaxHighlighter.defaults.gutter = false;
SyntaxHighlighter.all();
</script>
<link href="css/main.css" media="screen" rel="stylesheet" type="text/css" />
<link href="js/syntax/styles/shCore.css" media="screen" rel="stylesheet" type="text/css" />
<link href="js/syntax/styles/shThemeMidnight.css" media="screen" rel="stylesheet" type="text/css" />
<title>Geddy -- webapp-development framework for Node.js</title>
</head>
<body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-5555148-4']);
_gaq.push(['_setDomainName', '.geddyjs.org']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<div id="page">
<div id="header">
<a href="/"><h1 id="logo">Geddy</h1></a>
<ul id="primary-nav">
<li class="nav-item">
<a href="http://www.github.com/mde/geddy">
source
</a>
</li>
<li class="nav-item">
<a href="http://wiki.github.com/mde/geddy/">
documentation
</a>
</li>
<li class="nav-item">
<a href="#community">
community
</a>
</li>
</ul>
</div>
<div id="masthead">
<h3 id="logline">
web framework for node.js
</h3>
<div id="masthead-content">
<ul>
<li>
A modular, simple-to-use web framework for Node.js.
</li>
<li>
Similar to web frameworks like Merb, Rails, Pylons, or Django.
</li>
<li>
Built on Node.js, so it's fast and flexible.
</li>
</ul>
</div>
</div>
<div id="main-content" class="content">
<ul id="feature-list">
<li class="feature">
<h4 class="feature-subtitle sprite-generators">Generators</h4>
<p class="feature-content">
Geddy gives you an easy way to generate an app-scaffold,
and to create models, controllers, or resources with
RESTful routes. Super-easy with <code>geddy app</code>,
<code>geddy resource</code>, <code>geddy model</code>, etc.
</p>
</li>
<li class="feature">
<h4 class="feature-subtitle sprite-router">Flexible DSL for routes</h4>
<p class="feature-content">
Simple syntax for defining routes — just
<code>match</code> paths and params <code>to</code>
controllers and actions. Set up resource-based
routes with the uber-simple <code>resource</code>,
or let the <code>geddy resource</code> generator do it
for you.
</p>
</li>
<li class="feature">
<h4 class="feature-subtitle sprite-content">Content negotiation</h4>
<p class="feature-content">
Serve out your RESTful resources in whatever format
you want — HTML, JSON, even XML (if you're
into that type of thing). Geddy looks at the file
extension and the accept-header, and does the
right thing.
</p>
</li>
<li class="feature">
<h4 class="feature-subtitle sprite-resources">Templates and partials</h4>
<p class="feature-content">
Geddy does EJS templating, with support for rendering
partials. Templates and sub-templates load and
render asynchronously. Yes, pluggable templates
are possible for you fans of 'stache, Haml, et al.
</p>
</li>
<li class="feature">
<h4 class="feature-subtitle sprite-session">Models and validations</h4>
<p class="feature-content">
Should look familiar to users of
DataMapper or SQLAlchemy. A simple, intuitive
syntax for defining properties and validations
— but the code is pure JS, which allows
sweet, sweet code-reuse in the browser.
</p>
</li>
<li class="feature">
<h4 class="feature-subtitle sprite-templating">JavaScripty goodness</h4>
<p class="feature-content">
Geddy is built on Node.js, an asynchronous JavaScript I/O
framework that uses Google's V8 engine. Node.js is
very fast — but you get to use the JavaScript
we all know and love from browser-land.
</p>
</li>
</ul>
<h3>Get started</h3>
<p>
Geddy is a web framework for Node.js. Geddy requires
version 0.4.x or higher of <a
href="http://www.nodejs.org">Node.js</a>, and the
<a href="https://github.com/mde/jake">Jake</a> JavaScript
build tool.
</p>
<p>
Get Geddy from GitHub and install it:
</p>
<pre class="brush: bash">
$ ~/work$ git clone git://github.com/mde/geddy.git
$ ~/work$ cd geddy
$ ~/work$ make && sudo make install
</pre>
<h3>
Create a Geddy app
</h3>
<p>
Geddy comes with a utility called <code>geddy-gen</code>
you can use to create an app. Run <code>geddy</code>
to start the server.
</p>
<pre class="brush: bash">
$ ~/work$ geddy-gen app bytor
Created app bytor.
$ ~/work$ cd bytor
$ ~/work/bytor$ geddy
Server running at http://127.0.0.1:4000/
</pre>
<h3>
Geddy on GitHub
</h3>
<p>
<a href="https://github.com/mde/geddy">https://github.com/mde/geddy</a>
</p>
<h3>
API docs
</h3>
<p>
<a href="http://mde.github.com/geddy/doc">http://mde.github.com/geddy/doc</a>
</p>
<h3>
Current version
</h3>
<p>
The version under active development is v0.2.x. Geddy v0.1.x is no longer under active development, and is no longer supported.
</p>
<!--
<h3 id="community">
Community
</h3>
<p>
Geddy is very new, so now is a great time to get involved in the community. You can find Geddy peeps in a variety of places online:
</p>
<ul>
<li>
<strong>Twitter:</strong> <a href="http://www.twitter.com/geddyjs">geddyjs</a>
</li>
<li>
<strong>IRC:</strong> #node.js on Freenode.net
</li>
<li>
<strong>GitHub:</strong> <a href="http://www.github.com/mde/geddy">geddy</a>
</li>
</ul>
-->
</div>
</div>
<div id="footer">
<p class="copyright">
Geddy webapp-development framework ©2112 Matthew Eernisse.
</p>
</div>
</body>
</html>