Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #13322

Re: using python in web applications

Date 2011-09-15 15:24 +0200
From Alan Plum <me@alanplum.com>
Subject Re: using python in web applications
References <mailman.924.1315626929.27778.python-list@python.org> <53b67f0d-509a-46c4-83c8-7b9783ff1b5c@glegroupsg2000goo.googlegroups.com> <4E6C05CD.3010905@tysdomain.com>
Newsgroups comp.lang.python
Message-ID <mailman.1164.1316093103.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 2011-09-11 02:50, Littlefield, Tyler wrote:
> I replied to that one off list I guess, but I figured Django was way 
> more overhead than I wanted, doesn't really fit with solving the speed 
> issue.

Depending on your needs, you may find something like bottle or Flask a 
better choice then.

Django can be scaled down a lot, but it's a full-featured framework at 
its heart. Bottle is pretty minimal (IIRC it doesn't even come with any 
templating). Flask is somewhere in between as it bundles Werkzeug (a 
pure WSGI framework) with Jinja (a template library) with some glue code.

I have used Flask in the past but often found myself implementing half 
of Django anyway, which is why I eventually switched. When I only need a 
bare API with no database and without templates, I usually go for Bottle 
these days.

If you feel like coding closer to the metal and care more about 
performance than readability, you might also find Twisted useful.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

using python in web applications "Littlefield, Tyler" <tyler@tysdomain.com> - 2011-09-09 21:54 -0600
  Re: using python in web applications Ben Finney <ben+python@benfinney.id.au> - 2011-09-10 14:19 +1000
    Re: using python in web applications "Littlefield, Tyler" <tyler@tysdomain.com> - 2011-09-10 14:53 -0600
  Re: using python in web applications Laurent <laurent.payot@gmail.com> - 2011-09-10 16:35 -0700
  Re: using python in web applications Laurent <laurent.payot@gmail.com> - 2011-09-10 16:35 -0700
    Re: using python in web applications "Littlefield, Tyler" <tyler@tysdomain.com> - 2011-09-10 18:50 -0600
    Re: using python in web applications Chris Angelico <rosuav@gmail.com> - 2011-09-11 13:53 +1000
    Re: using python in web applications Alan Plum <me@alanplum.com> - 2011-09-15 15:24 +0200
      Re: using python in web applications Roy Smith <roy@panix.com> - 2011-09-15 09:42 -0400
  Re: using python in web applications Laurent <laurent.payot@gmail.com> - 2011-09-10 20:21 -0700
  Re: using python in web applications Laurent <laurent.payot@gmail.com> - 2011-09-10 20:21 -0700
  Re: using python in web applications Tim Roberts <timr@probo.com> - 2011-09-11 11:48 -0700
    Re: using python in web applications hidura@gmail.com - 2011-09-11 19:53 +0000
  Re: using python in web applications Laurent <laurent.payot@gmail.com> - 2011-09-11 12:22 -0700
  Re: using python in web applications Laurent <laurent.payot@gmail.com> - 2011-09-11 12:22 -0700
  Re: using python in web applications alex23 <wuwei23@gmail.com> - 2011-09-12 23:56 -0700

csiph-web