I get that it follows the theme of Django and Sinatra. But Brubeck is not a very common name (the musician Dave Brubeck is my second cousin) and I don't normally see the musical Brubecks intrude into "my" domain. :)
Brubeck: A new Python web framework running on mongrel2
31–40 of 53 posts
Re: Brubeck: A new Python web framework running on mongrel2
#32I must say, I did a double-take when I saw the front page of HN today. I get that it follows the theme of Django and Sinatra. But Brubeck is not a very common name (the musician Dave Brubeck is my second cousin) and I don't normally see the musical Brubecks intrude into "my" domain. :)
The world keeps getting smaller and smaller :)
Re: Brubeck: A new Python web framework running on mongrel2
#33I must say, I did a double-take when I saw the front page of HN today. I get that it follows the theme of Django and Sinatra. But Brubeck is not a very common name (the musician Dave Brubeck is my second cousin) and I don't normally see the musical Brubecks intrude into "my" domain. :)
Re: Brubeck: A new Python web framework running on mongrel2
#34I never got around to playing around with Mongrel2 but always wanted to.
I'm a huge Flask fan and will most likely (after looking through some of the source) be using Brubeck from now on on the Py side of things. It covers the basics very well.
Bravo!
Btw, equally impressive is DictShield.
Will you create any special cases for 'modules/extentions' or will continue to keep things agnostic?
Re: Brubeck: A new Python web framework running on mongrel2
#35Armin Ronacher—author of Flask and Werkzeug—pointed out earlier on Twitter[1] that (for better or for worse) it doesn't support WSGI. [1] http://twitter.theinfo.org/92202624614539264
Re: Brubeck: A new Python web framework running on mongrel2
#36Re: Brubeck: A new Python web framework running on mongrel2
#37Earlier quoted context omitted.
Agreed. For a newcommer, the question "which framework is most worth my time investment" has has become rather daunting. Seems like the safest choices are the big ones like Rails or Django, but there always seems to be something tempting and fun on the horizon.
I think it's unfortunate that the power of choice isn't as appreciated outside the Python world but I can also relate to people who feel they have to read way too much stuff. In spite of this, however, Brubeck indeed aims to be a one-stop shop. It uses coroutines + nonblocking I/O to make scaling up easy but it also a web.py style routing system because all of us know this style already.
Re: Brubeck: A new Python web framework running on mongrel2
#38Earlier quoted context omitted.
Its relatively difficult to find maintained Mongrel2 Python libraries, but projects like http://wsgid.com/ , https://github.com/rfk/m2wsgi , and (maybe unmaintained) https://github.com/berry/Mongrel2-WSGI-Handler make it fairly easy to run WSGI apps behind Mongrel2. I wouldn't use Brubeck without WSGI solely because I don't want to write an app dependent on its web server.
That's a fair point, but there's a lot to love about Mongrel2!
(speaking as author of the m2wsgi module linked above)
Re: Brubeck: A new Python web framework running on mongrel2
#39Earlier quoted context omitted.
A quick question --- can i say use pymongo in Brubeck and you are saying the blocking nature of pymongo won't affect the async nature of Brubeck ??
I use pymongo with gevent. A small hack is necessary to prevent pymongo from making a new connection for each thread that accesses mongodb (because with gevent, you can have a massive number of threads). I'd imagine the same is true with eventlet.
Re: Brubeck: A new Python web framework running on mongrel2
#40How does this compares to Zed's own Tir?
TIR == LUA
Brubeck == Python