WTF?!
On 23/01/2011 02:35, carmen wrote:
...and this is precisely the garden path that people followed to create modern
massive web frameworks.
indeed. Merb, when it began, was a 180 line of code masterpiece. somehow, it
bloated up to Rails proportions and eventually merged with it.
Camping is decent, but i found it uneditable (without breaking), too much
metaprogramming insanity
i wrote a small web daemon, and it is an email client, a media player,a
directory browser on crack and a lot of other stuff. 2500 lines now, but it
replaced every other app i ever used besides irssi and dwm
pushed to these repos
git://repo.or.cz/element.git http://repo.or.cz/w/element.git
git://gitorious.org/element/element.git http://gitorious.org/element
git://rubyforge.org/element.git http://element.rubyforge.org/
screenshots http://s574.photobucket.com/albums/ss187/ix9/hyper/
doc http://blog.whats-your.name/public/carmen.html
to avoid bloat, existing paradigms are used wherever possible. filesystem for
database, existing file formats and regex-based or library-based parser, to
triple-streams of RDF converted to a per-request Graph model (using JSON/hash
datastructure rather than inventin a new RDF::Graph class)
minimalist clientside filtering tools exist, eg a 46 line replacement for the
~600K of code Simile Exhibit project:
http://blog.whats-your.name/public/logex.png
theres no weird auth crap, permissions handled via *nix - i run a webserver
bound to 127.0.0.1 to read my own mail in ~/, and su to another dummy user to
bind to 0.0.0.0:80 to serve up stuff publically.