radiospiel/imgio — Issue #5: Ideas for Middleware
Author: Overbryd
Created: 2012-02-14 14:06:16+00:00
State: open

Hy @radiospiel ,

I think your plans to provide imgio as a middleware are great.

To do so I wrote down a couple of thoughts.

Since Sinatra is able to run as a middleware, we just need it to adapt a little bit.

Furthermorw I think there should be two variants of imgio as gems.
One should be async and for latest environments running Ruby19 and another should include Ruby systems >=1.8.7.
The latter could also provide support for async mode, maybe using a queue and processes or something. But for a first shot, it'd be enough to have it running in sync.

Since I have some spare time, I'd like to step up and work on the Ruby19 as a middleware,

What do you think?

Cheers, Lukas