Camping Application with Colubrid

1 view
Skip to first unread message

iGL

unread,
Nov 27, 2006, 7:05:11 AM11/27/06
to colubrid-users
Ruby has a nice micro-framework, Camping (
http://code.whytheluckystiff.net/camping ) modelled, probably, after
webpy. It's often referred as an example of how powerful is ruby in
meta-programming.

It might be of interest to the Colubrid community to examine my port of
Camping using the Colubrid infrastrucuture; here is the link to its
sourcecode:
http://public.inchemix.com/index.fcgi/browser/misc/camping.py?format=txt

Clearly, this port has little practical value; it's just an example of
the pythonic way of metaprogramming.

And here is the companion blog posting:
http://blog.lekishvili.info/articles/2006/11/27/camping-on-colubrid


Greetings,
Giorgi

P.S. I use svn just to deploy examples, thus, if you're willing to
download the source, please simply use the raw format via Trac.

P.P.S. I used the doc example of the webpy app
(http://wsgiarea.pocoo.org/colubrid/documentation/applications/webpy/)
and there is a typo: instead of resp['Content-Type'] = 'text/plain' one
reads: rePS['Content-Type'] = 'text/plain'

Reply all
Reply to author
Forward
0 new messages