macournoyer / invisible
- Source
- Commits
- Network (4)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
814f8c6
commit 814f8c689aacb470f36b9c7c475f242fb7b9a340
tree 08c86ebb8418d4d51777e07b160b69f6626b209c
parent c38125c5eea0ec95e28c9dba7a82fd62cb04bf24
tree 08c86ebb8418d4d51777e07b160b69f6626b209c
parent c38125c5eea0ec95e28c9dba7a82fd62cb04bf24
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Nov 09 20:17:27 -0800 2008 | |
| |
README | Tue Nov 11 20:43:32 -0800 2008 | |
| |
Rakefile | ||
| |
TODO | Tue Nov 11 18:44:38 -0800 2008 | |
| |
app_generators/ | Tue Nov 11 20:24:20 -0800 2008 | |
| |
bin/ | Tue Nov 11 20:24:20 -0800 2008 | |
| |
example/ | Tue Nov 11 20:24:20 -0800 2008 | |
| |
invisible.gemspec | ||
| |
lib/ | ||
| |
site/ | Sun Nov 09 19:32:15 -0800 2008 | |
| |
spec/ |
README
= THE INVISIBLE FRAMEWORK
Invisible is like a giant robot combining the
awesomeness of Rails, Merb, Camping and Sinatra.
Except, it's tiny (100 sloc).
It's easy to deploy and get started with using the
friendly generator.
Get started today!
invisible my_lil_app
cd my_lil_app
thin start config/rack.ru
edit app.rb
Or, if you're really into tiny things:
invisible my_very_lil_app --flat
== Build web apps in just a few lines
The app syntax looks a lot like Sinatra:
get "/session/:value" do
session[:invisible] = params[:value]
render do
h2 "I added this to the session for you:"
pre params[:value].inspect
p { a "Go back", :href => "/" }
end
end
You can also render ERB, eRubis and Haml templates.
== TATFT (aka Test all the fucking time)
Invisible also comes with support for easy
testing, using Test::Unit or RSpec.
def test_should_get_root
assert get("/").ok?
end
it "should get /" do
get("/").should be_ok
end
== The extras you were missing in a micro-framework
Invisible has:
* reloading
* configurable multi-environment support
* multi-app in the same VM
* session support (Cookie, Memcache, etc.)
* a love affair with Rack middlewares
* another love affair with testing
* load just what you need approach (low mem)
* awesomeness builtin, twice!
* all that under 100 LOC (+ taxes)
I'm like, WOW! What are you waiting for?
Go build the next Twitter now, mkay?
Ruby License, http://ruby-lang.org/en/LICENSE.txt
Invisible is copyright Marc-Andre Cournoyer
macournoyer@gmail.com

