Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Python web development

Python web development
Thread Tools
nonhuman
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status: Offline
Reply With Quote
Sep 17, 2006, 03:28 AM
 
So I do a lot of web development, and I'm also a huge Python fan. Obviously I want to put the two together. However I'm having a hell of a time finding any good documentation on how to use Python for web programming (in my opinion, lack of easy to use documentation is the biggest problem that Python has). I can't even find anything that tell me the Python equivalents of $_GET and $_POST.

Can anyone point me to some good resources for this? I'll even spend money on a book if that's what it takes.

Thanks.
( Last edited by nonhuman; Sep 17, 2006 at 03:38 AM. )
     
Phil Sherry
Dedicated MacNNer
Join Date: Nov 2004
Location: Stockholm, Sweden
Status: Offline
Reply With Quote
Sep 17, 2006, 10:35 AM
 
Look into Zope & Plone.
     
nonhuman  (op)
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status: Offline
Reply With Quote
Sep 17, 2006, 01:03 PM
 
Originally Posted by Phil Sherry
Look into Zope & Plone.
I like to do things from scratch, at least at first so I can understand how it's working. Also I use Dreamhost for my hosting and they don't allow Zope and therefore Plone (which uses Zope).
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Sep 18, 2006, 12:37 PM
 
If you really want to get bare-bones, start with Python's built-in cgi module. You can also take a look at WSGI, which is a low-level Web server interface. Slightly higher-level than that would be web.py, and TurboGears is higher still. Django has a very good reputation, but it's probably higher-level than what you're looking for.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
nonhuman  (op)
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status: Offline
Reply With Quote
Sep 18, 2006, 02:11 PM
 
Thanks, I'll check it out.
     
nica
Dedicated MacNNer
Join Date: Aug 2002
Location: Chicago
Status: Offline
Reply With Quote
Sep 25, 2006, 08:31 PM
 
You might be interested in Django, it's a highlevel Python Framework

Django | The Web framework for perfectionists with deadlines
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Sep 26, 2006, 09:42 AM
 
Originally Posted by nica
You might be interested in Django, it's a highlevel Python Framework

Django | The Web framework for perfectionists with deadlines
I mentioned it, but the OP wanted something low-level; Django probably won't suit his tastes all that well.

There is another interesting option, by the way: Java servlets programmed in Jython. Although the interest in Jython itself is relatively low at the moment (mostly due to Jython's embarrassingly-slow development process: it's three years behind) the interest in Jython servlets is high within the community.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:47 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,