github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

macournoyer / invisible

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 58
    • 4
  • Source
  • Commits
  • Network (4)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • resource
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

The invisible framework — Read more

  cancel

http://macournoyer.com/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Add rubigen dep. 
macournoyer (author)
Tue Mar 24 18:32:34 -0700 2009
commit  2333383a458b24ededd8ce6fa3a6ade206cf7d12
tree    4904e35eb8a43ea936b047e31e7554e42223f538
parent  30454dd44d4b67b676d2d98fbb078c99ea49d464
invisible /
name age
history
message
file .gitignore Loading commit data...
file README
file Rakefile
file TODO
directory app_generators/
directory bin/
directory example/
file invisible.gemspec
directory lib/
directory site/
directory 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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server