nickel-org / nickel.rs

An expressjs inspired web framework for Rust
http://nickel-org.github.io/
MIT License
3.04k stars 158 forks source link

List of middlewares #249

Open flosse opened 9 years ago

flosse commented 9 years ago

Hi guys, I just played with your awesome framework. To get used to it I modified your nickel-postgres middleware to use it with SQLite: https://github.com/flosse/nickel-sqlite Now my question: Is there a public list of known middleware projects where I can find some more and put my own on it?

Ryman commented 9 years ago

I don't think we've got a current list, but we could start one on the wiki or in an in-repo file.

An alternative would be to just encourage people to tag their crates with a certain tag, nickel or nickel-middleware and we can just have a link in the readme that links to a search for that tag.

Re: nickel-sqlite, it looks good :) I've been meaning to update nickel-postgres when something like #246 or #235 lands where we can require that a user's 'serverdata' has a database pool available so that there isn't an ordering requirement. (e.g. if you use a handler that is added before adding the sql middleware, which would be a crash)

If you want to take a look at one of those threads you might have some opinions to share!

@cburgdorf @SimonPersson opinions?

flosse commented 9 years ago

An alternative would be to just encourage people to tag their crates with a certain tag, nickel or nickel-middleware and we can just have a link in the readme that links to a search for that tag.

That sounds good: no need for manual editing a list :)