/
index.html
executable file
·206 lines (188 loc) · 6.78 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
<!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, full-service 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 wicked fast.
</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">
The <code>geddy-gen</code> utility is
your friend. Creating an app is a snap with
<code>geddy-gen app</code>. Create resources and models
for your app with <code>geddy-gen resource</code> and
<code>geddy-gen model</code>.
</p>
</li>
<li class="feature">
<h4 class="feature-subtitle sprite-router">Flexible DSL for routes</h4>
<p class="feature-content">
Intuitive syntax for creating 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 <code>geddy-gen</code> 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 recursive partials
support. Templates and sub-templates load and
render asynchronously. Yes, pluggable templates
are on the way 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, a JavaScript I/O
system that uses Google's V8 engine. Node.js is
very fast — but you get to use the JavaScript
we all know and love (okay, maybe that's stretching
it) from the browser.
</p>
</li>
</ul>
<h3>Get started</h3>
<p>
Geddy is a web framework for Node.js. Geddy requires <a
href="http://nodejs.org/dist/node-v0.1.94.tar.gz">version
0.1.94</a> of <a href="http://www.nodejs.org">Node.js</a>.
</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 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>
<!-- <li>
<strong>Mailing list: </strong> <a href="http://groups.google.com/group/geddy">http://groups.google.com/group/geddy</a>
</li> -->
</ul>
</div>
</div>
<div id="footer">
<p class="copyright">
Geddy webapp-development framework ©2112 Matthew Eernisse.
</p>
</div>
</body>
</html>