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


Groups > comp.lang.python > #53183

Re: Moving to Python for web

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'one?': 0.05; 'subject:Python': 0.06; 'installed.': 0.07; 'django,': 0.09; 'framework.': 0.09; 'handful': 0.09; 'developer': 0.10; 'cc:addr :python-list': 0.11; 'django': 0.11; 'assume': 0.14; '"python': 0.16; 'cookies,': 0.16; 'received)': 0.16; 'sessions,': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'aug': 0.22; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'web.': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'appreciated.': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'requests': 0.31; 'that.': 0.31; 'allows': 0.31; 'stuff': 0.32; 'url:python': 0.33; 'running': 0.33; 'framework': 0.33; 'minimal': 0.33; 'could': 0.34; 'advice': 0.35; 'something': 0.35; 'etc': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'so,': 0.37; 'too': 0.37; 'handle': 0.38; 'pm,': 0.38; 'url:mail': 0.40; 'how': 0.40; 'even': 0.60; 'new': 0.61; 'you.': 0.62; 'kind': 0.63; 'to:addr:gmail.com': 0.65; '(3rd': 0.84; 'subject:Moving': 0.84; 'joel': 0.91; 'submissions,': 0.91; 'url:latest': 0.91; '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:content-transfer-encoding; bh=x6zg8SgWpXsdM1FNEfVOCS3wdojtx8EQ9LB5m6fCIA8=; b=zkZERrZtQpQKzup3X9OXVQ2/1ea8tNSjT+V/mxzG/PybWPnT32x3BhrS5i1ViCTYgI mS3MzHDb/S3xgrtg7S5hx/wW6XwBlm5YzcVcE5kw2zaWpLWP1xDUtXlVSRbXqdWqoB4G d2ODnEMiI9J6hFOBgll1pZ9JgY22qrFKd5QbI9g0mj546uXQXvfqILo0K/MIaKIO3Nj7 XxtsTYYKrv/Wac39L+J4oNWh3D7Nw1fjrI5jHIf36xntOulOJDB8KkiuNnGmAH+/zPcN oug2DaNu3PLym40IJoFf7jOUz7e4LMUnWkW9v8LaCb5ib5kU6XuktusZawq2th1vFgXm BVJg==
MIME-Version 1.0
X-Received by 10.58.211.7 with SMTP id my7mr195498vec.54.1377724132157; Wed, 28 Aug 2013 14:08:52 -0700 (PDT)
In-Reply-To <52bbd0bc-7c3e-4c85-bfe1-7fd4912945be@googlegroups.com>
References <52bbd0bc-7c3e-4c85-bfe1-7fd4912945be@googlegroups.com>
Date Wed, 28 Aug 2013 17:08:52 -0400
Subject Re: Moving to Python for web
From Joel Goldstick <joel.goldstick@gmail.com>
To ecazs.net@gmail.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.326.1377724135.19984.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1377724135 news.xs4all.nl 15987 [2001:888:2000:d::a6]:52918
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53183

Show key headers only | View raw


On Wed, Aug 28, 2013 at 4:14 PM,  <ecazs.net@gmail.com> wrote:
> So, I have been working in PHP for several years but I want to learn something new. That something new is Python. But since I'm a web developer I want to build stuff for the web.
>
> I don't want to use Django because it's too bloated, it seem to do everything for you. I don't like that. I want to do the "plumbing". But at the same time I have no idea how I would write something that could handle cookies, sessions, post, get etc etc; so I assume I have to use some kind of web framework.
>
> So, can you recommend a minimal web framework that still allows me to write in Python? Furthermore, do I even need one? I am currently running NGINX and I have UWSGI installed. I'm just worried about how I would handle form submissions, get requests and sessions/cookies.
>
> Any advice would be greatly appreciated.

I like django, but you may want to google "python micro web framework"

There are a handful with some following so that there are communities,
docs, etc available

As to get/cookies/sessions check out the requests module (3rd party -
well received) http://docs.python-requests.org/en/latest/
> --
> http://mail.python.org/mailman/listinfo/python-list



-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

Moving to Python for web ecazs.net@gmail.com - 2013-08-28 13:14 -0700
  Re: Moving to Python for web Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-28 17:08 -0400
    Re: Moving to Python for web Andreas Ecaz <ecazs.net@gmail.com> - 2013-08-28 14:25 -0700
      Re: Moving to Python for web Andreas Ecaz <ecazs.net@gmail.com> - 2013-08-28 14:36 -0700
  Re: Moving to Python for web sepatan@sibmail.com - 2013-08-29 09:36 +0700
  Re: Moving to Python for web "Sam Fourman Jr." <sfourman@gmail.com> - 2013-08-28 22:18 -0400
  Re: Moving to Python for web Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-08-29 11:05 +0200
  Re: Moving to Python for web Andreas Ecaz <ecazs.net@gmail.com> - 2013-08-29 05:45 -0700
    Re: Moving to Python for web Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-08-29 15:10 +0200
      Re: Moving to Python for web Andreas Ecaz <ecazs.net@gmail.com> - 2013-08-29 07:18 -0700
    Re: Moving to Python for web Wayne Werner <wayne@waynewerner.com> - 2013-09-05 15:26 -0500

csiph-web