[CentralOH] CherryPy, Flask, or Django

William McVey wam at cisco.com
Mon Nov 26 17:41:17 CET 2012

On Sun, 2012-11-25 at 15:30 -0500, John Santiago wrote:
> I have been jumping between Python 2.7 and 3. Playing with various web
> frameworks. I really wanted to see what people were using, and get
> there feed back. I have only had experience building web-applications
> with CherryPy. Getting ready to start building larger sites and
> considering using either Flask or CherryPy solo or combining the two.
> Django is always a possibility but it is really heavy. 
> What are you guys using?

I tend to use Django to build "sites" and use flask when I'm building
"applications" that have a web interface. I know it can kind of be a
fine line between the two. The biggest criteria for me is whether I'm
looking at having a database as part of my deployed site/app and whether
I'm interfacing with a pre-existing DB or starting with a blank slate on
the db side. If I need a db and I have free reign of structuring the db
tables for my use, then I use Django. If I either don't need a db or I'm
interfacing with a pre-existing db, then I'll go with flask (possibly
with the Flask-SQLAlchemy extension).

 -- William

More information about the CentralOH mailing list