Categories: None [Edit]
synfeld
Synfeld is a web application framework that does practically nothing.
Synfeld is little more than a small wrapper for Rack::Mount (see
http://github.com/josh/rack-mount). If you want a web framework that is
mostly just going to serve up json blobs, and occasionally serve up some
simple content (eg. help files) and media, Synfeld makes that easy.
The sample app below shows pretty much everything there is to know about
synfeld, in particular:
* How to define routes.
* Simple rendering of erb, haml, html, json, and static files.
* In the case of erb and haml, passing variables into the template is
demonstrated.
* A dynamic action where the status code, headers, and body are created
'manually' (/my/special/route below)
* A simple way of creating format sensitive routes (/alphabet.html vs.
/alphabet.json)
* The erb demo link also demos the rendering of a partial (not visible in the
code below, you have to look at the template file
examples/public/erb_files/erb_test.erb).
Total
Ranking: 69,332 of 183,107
Downloads: 12,815
Daily
Ranking: 86,038 of 183,092
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
9 | 973,358,941 | rack |
226 | 157,968,051 | haml |
1,592 | 16,664,679 | rack-mount |
Owners
# | Gravatar | Handle |
---|---|---|
1 | swerling |