Invisible, a new web framework (4)
Marc-André Cournoyer has just published Invisible (link to the GitHub repository), a ruby web framework that aims to be as minimalist and compact as possible, with the core code taking 2k lines.
Yes, you’ve read it well, it’s a web framework and it’s under 2000 lines of code. In comparison, in other web frameworks like Ruby On Rails, there are base files that are well beyond 2000 lines (here or here for instance)

Thanks to its simplicity, I imagine the web framework could be used to get a simple website in a minimal amount of time, such as a website that has only a dozen or so (static) pages. It might not be production ready though for web developers, since it has minimal no support for stylesheets, javascripts, or any other fancy web2.0 effects.
In related news, the prolific Marc-André Cournoyer also released a while ago Thin Turbo, aiming to speed up Thin.
There are no clues if the author aims to release one day a web server or a framework coded in one line, or in assembly












Just a couple notes:
Invisible is 200 LOC (not 2000, pfff ;) but 2K in _size_. Also comes in the shape of a block, for no specific reason (http://github.com/macournoyer/invisible/tree/master/lib/invisible-block.rb).
It will serve any file in the “public” directory.
I never “released” thin-turbo but it was added to merb so I guess it is now. But it’s far from production ready!
Thx again for the post, rly appreciated!
keep it up!
Invisible, a new web framework http://tinyurl.com/6h9ron
Invisible, a new web framework http://tinyurl.com/6h9ron
I didn’t follow the part about thin-turbo; only saw it through your github account. so that might explain it.
for the 2k… well i quickly read the README file and saw 2k, assumed it was 2000 LOC.
Anyway, Great work !
Leave a Reply