17 Jul '12, 10pm

Sinatra, My New Favorite Microframework:

Sinatra apps are typically written in a single file. It starts up and shuts down nearly instantaneously. It doesn’t use much memory and it serves requests very quickly. But, it also offers nearly every major feature you expect from a full web framework: RESTful resources, templating (ERB, Haml/Sass, and Builder), mime types, file streaming, etags, development/production mode, exception rendering. It’s fully testable with your choice of test or spec framework. It’s multithreaded by default, though you can pass an option to wrap actions in a mutex. You can add in a database by requiring ActiveRecord or DataMapper. And it uses Rack, running on Mongrel by default.

Full article: http://adam.heroku.com/past/2008/6/10/sinatra_my_new_favo...

Tweets

For real though, this Sinatra thing seems prett...

sinatrarb.com 18 Jul '12, 1am

# app running on http://example.com/example get '/foo' do t = %w[text/css text/html application/javascript] request.accept...

While supplies last so shop now!

baghaus.com 25 Jul '12, 5pm

At Baghaus we are serious about bags and 110% committed to giving you the best customer service on all eleven continents (...

#beauty #trends My Favorite Summer Skin Tips by Esthetician, Renée Rouleau [Beauty Snob - Dallas]

#beauty #trends My Favorite Summer Skin Tips by...

beautysnob.com 18 Jul '12, 1pm

Did you know that exfoliation can increase sun sensitivity by about 45%? The reason is because exfoliation removes some of...

New favorite blog. @rumineely

fashiontoast.com 29 Jul '12, 10am

One of my favorite dresses of all time – if you’ve read me from the beginning you’re probably rolling your eyes or gently ...

What is your favorite Local Coffee Shop Right Now?

coffeecupnews.org 18 Jul '12, 3am

I have really been enjoying this local place called Benetti's in Independence Missouri. They roast their own coffee and pu...

Stricker starting to become favorite co-son in Quad Cities: SILVIS, Ill. - Three years ago, Zach Johnson - a nat...

Stricker starting to become favorite co-son in ...

pgatour.com 15 Jul '12, 1am

Stricker starting to become favorite co-son in Quad Cities text size Cohen/Getty Images Steve Stricker has captured the he...