Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'newbie': 0.05; 'framework.': 0.09; 'frameworks,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'fine.': 0.16; 'url:appspot': 0.16; 'wrote:': 0.18; 'subject:need': 0.19; 'user.': 0.19; 'input': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; 'cgi': 0.31; '(e.g.': 0.33; 'framework': 0.33; 'basic': 0.35; 'operations': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'module.': 0.36; 'returning': 0.36; 'subject:?': 0.36; 'project': 0.37; 'read': 0.60; 'simple': 0.61; 'you.': 0.62; 'such': 0.63; 'to:addr:gmail.com': 0.65; 'user,': 0.69; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=adG1FFOwRfwYr+osPQNa86KrroI4y/an07ZjvgZzY7Q=; b=goZBJTE8q4gGzs6D1G6x73YeCKDs4Q0c8ljfzzZ1CDFsp4A7+KYWtWKnndJrxGrwys Fm0MmMR6eLVHQ8P6MUmf2vTSYMrpAzS7UECE+ep8oB0KWNuI9ZUMLyq6gkDuwr73k/AD 28+JR59ZB5rSCsH7PjidsE5ClypQb7mndx1H2f4NT5b6re5IWS4r3+peNUCVaAw1+Ajb WXR872yxtr/T7yM2auBDCbWXBaoPptP63hXc0Ba3lX4fC0r2sgGqvV1Dv27EV56M886n RolpTuTRHyi+A3o3BdU/mY4L49joKeyqPMIZKZznfiXI50r0rQ6boARpsiGovPys+5hF Ao+A== MIME-Version: 1.0 X-Received: by 10.224.126.6 with SMTP id a6mr35412245qas.15.1380573576227; Mon, 30 Sep 2013 13:39:36 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Oct 2013 06:39:36 +1000 Subject: Re: Do I really need a web framework? From: Tim Delaney To: dufriz@gmail.com Content-Type: multipart/alternative; boundary=001a11c3053898f2cd04e79fd51e Cc: Python-List X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380573585 news.xs4all.nl 15984 [2001:888:2000:d::a6]:42495 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55114 --001a11c3053898f2cd04e79fd51e Content-Type: text/plain; charset=UTF-8 On 1 October 2013 05:57, wrote: > I want to set up a very simple website, and I need to know if it is > necessary to use a web framework (e.g. Django) to do basic interactive > operations such as receiving input from the user, looking up a database and > returning some data to the user. > I know that this is exactly the purpose of web frameworks, and that they > work fine. > However, I read somewhere that for small projects such operations can be > managed without a web framework, just by using Python with mod_python or > with the CGI module. Is this correct? > > What do you suggest, keeping in mind that I am a newbie and that my > website project would be very simple and very small? > There is no *need* to use a web framework. But a web framework can make things a lot easier for you. Have a look at webapp2: http://webapp-improved.appspot.com/ Tim Delaney --001a11c3053898f2cd04e79fd51e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 1 October 2013 05:57, <dufriz@gmail.com>= wrote:
I want to set up a very simple website, and I need to know if it is necessa= ry to use a web framework (e.g. Django) to do basic interactive operations = such as receiving input from the user, looking up a database and returning = some data to the user.
I know that this is exactly the purpose of web frameworks, and that they wo= rk fine.
However, I read somewhere that for small projects such operations can be ma= naged without a web framework, just by using Python with mod_python or with= the CGI module. Is this correct?

What do you suggest, keeping in mind that I am a newbie and that my website= project would be very simple and very small?

There is no *need* to use a web framework. But a web framework can m= ake things a lot easier for you.

Have a look at webapp2:=C2=A0http://webapp-improved.appspot.com/
Tim Delaney=C2=A0
--001a11c3053898f2cd04e79fd51e--