Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:using': 0.04; 'replied': 0.07; 'api': 0.09; 'subject:python': 0.11; 'bundles': 0.16; 'glue': 0.16; 'scaled': 0.16; 'twisted': 0.16; 'wsgi': 0.16; 'wrote:': 0.16; 'received:internal': 0.18; 'issue.': 0.19; 'template': 0.19; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'somewhere': 0.23; 'received:10.202': 0.23; 'received:10.202.2': 0.23; 'received:66.111': 0.23; 'received:66.111.4': 0.23; 'received:messagingengine.com': 0.23; 'received:smtp.messagingengine.com': 0.23; 'code.': 0.26; 'framework': 0.28; 'subject:web': 0.28; 'django': 0.29; 'bare': 0.30; 'closer': 0.30; 'lot,': 0.30; 'list': 0.32; 'coding': 0.32; 'implementing': 0.32; 'pure': 0.32; 'usually': 0.32; 'to:addr :python-list': 0.33; 'header:User-Agent:1': 0.34; 'then.': 0.34; 'pretty': 0.35; 'minimal': 0.37; 'but': 0.37; 'something': 0.37; 'some': 0.38; 'subject:: ': 0.39; 'received:192': 0.39; 'solving': 0.39; 'why': 0.39; 'to:addr:python.org': 0.39; 'might': 0.40; "it's": 0.40; 'more': 0.60; 'your': 0.61; 'care': 0.71; 'bottle': 0.84; 'wanted,': 0.84; 'metal': 0.91; 'templates,': 0.91 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=Mh95JE33E3yb4KyGOxW3Sy Kxqkg=; b=D9747/buTc+ktBsB92FtQCfAbUUP6m23WHpFrmsPrbgGSO1sWThsDq ZNNbrav80tvGbjPa8KTeAbNGsp8lSN3txH8yP4cITzuT89PH5ZvAMLDRNqIMJXmf WAcKfth7zizvZGwJSpjedEIbayzGsJ1Kh9+YyZ6OhUKY+rjYQHuNI= X-Sasl-enc: Pk/CNpOw2hKBGA857BhGQkdbKXheq6UwD5KRT0NlLyxW 1316093101 Date: Thu, 15 Sep 2011 15:24:45 +0200 From: Alan Plum User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: using python in web applications References: <53b67f0d-509a-46c4-83c8-7b9783ff1b5c@glegroupsg2000goo.googlegroups.com> <4E6C05CD.3010905@tysdomain.com> In-Reply-To: <4E6C05CD.3010905@tysdomain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1316093103 news.xs4all.nl 2449 [2001:888:2000:d::a6]:49863 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:13322 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.