Re:Falcon is a high-performance Python Web framework
by euphemize on Sunday January 04, 2015 @10:19PM
(#8837008)
Came here to say this. In my humble opinion, the creator of Falcon should write at least 1 very clear paragraph to explain how this framework is better or just different from Flask. Flask is such an amazing piece of software, you'll need to make the case for me to use it much clearer than it is now. From its APIs to not having a templating engine included and strange things like hooks.to_oid, I don't see why I would use Falcon over Tornado or Bottle either.
[ Parent
| on HN ]
Re:Falcon is a high-performance Python Web framework
by richardolsson on Monday January 05, 2015 @05:44AM
(#8838164)
The biggest reason would be that you're building a REST API and you want something tailored for that use case. If you're not building a REST API (but instead for example a web site serving HTML and whatnot), you shouldn't use Falcon at all.
This might not be clear on the Falcon framework home page though, and I will let the maintainer know it might be a good idea to clarify this point.
Re:Falcon is a high-performance Python Web framework
by euphemize on Monday January 05, 2015 @10:02AM
(#8839086)
Cool, then Falcon is actually better off if it's suited for a more specific use-case like this.
Flask has a fantastic REST API extension (Flask-restless), so I'd go for a very targeted comparison between that and Falcon. Having more competition here can only be a good thing, I wish you the best of luck!
Re:Falcon is a high-performance Python Web framework
by davidp on Monday January 05, 2015 @03:57AM
(#8837941)
Flask is great. Off the top of my head, Falcon's smaller dependency list is nice if you're managing server environments. Flask currently depends on Werkzeug, Jinja2, itsdangerous, and markupsafe, as opposed to just six and mimeparse for Falcon.
Re:Falcon is a high-performance Python Web framework
by netnichols on Monday January 05, 2015 @05:51AM
(#8838177)
That is a nice competitive advantage over Flask, but Bottle has no dependencies whatsoever. And besides a slight performance advantage over Bottle, I don't see any significant reason for me to switch to Falcon.