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


Groups > comp.lang.python > #53185

Re: Moving to Python for web

Newsgroups comp.lang.python
Date 2013-08-28 14:25 -0700
References <52bbd0bc-7c3e-4c85-bfe1-7fd4912945be@googlegroups.com> <mailman.326.1377724135.19984.python-list@python.org>
Message-ID <dc4cd1f0-75db-45f3-bb79-f1da572c1c22@googlegroups.com> (permalink)
Subject Re: Moving to Python for web
From Andreas Ecaz <ecazs.net@gmail.com>

Show all headers | View raw


On Wednesday, August 28, 2013 11:08:52 PM UTC+2, Joel Goldstick wrote:
> On Wed, Aug 28, 2013 at 4:14 PM,  <Ecaz> 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

I've looked at Flask, Bottle and Web.py. I quite like the look of Bottle. I'll keep looking for some other microframeworks, maybe I can find something else that interests me.

Thank you.

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