Re: program organization question for web development with python

2010-09-27 Thread Hans
On Sep 17, 2:36 am, Bruno Desthuilliers bruno. 42.desthuilli...@websiteburo.invalid wrote: Hans a écrit : (snip) Maybe I did not make my question clear. I never tried python web programing before, so I want to start from CGI. You can indeed learn quite a few things doing raw CGI - the

Re: program organization question for web development with python

2010-09-19 Thread Lawrence D'Oliveiro
In message 6102316a-d6e6-4cf2-8a1b-ecc5d3247...@w15g2000pro.googlegroups.com, Hans wrote: print a href=display_tb.py?id=%stable=%scursor=%s%s/a % (record[0],table_name,cursor_name,record1) I would recommend avoiding filename extensions in your URLs wherever possible. For executables, in

Re: program organization question for web development with python

2010-09-17 Thread Bruno Desthuilliers
Hans a écrit : (snip) Maybe I did not make my question clear. I never tried python web programing before, so I want to start from CGI. You can indeed learn quite a few things doing raw CGI - the most important one being why frameworks are a good idea !-) I read something about web

Re: program organization question for web development with python

2010-09-16 Thread Hans
On Sep 15, 5:33 pm, James Mills prolo...@shortcircuit.net.au wrote: On Thu, Sep 16, 2010 at 10:14 AM, Hans hans...@gmail.com wrote: I'm new to this area. Please allow me to ask some (maybe stupid) questions. Without reading the rest of your post too much. Designs are up to you, I can't

Re: program organization question for web development with python

2010-09-16 Thread MRAB
On 16/09/2010 18:19, Hans wrote: On Sep 15, 5:33 pm, James Millsprolo...@shortcircuit.net.au wrote: On Thu, Sep 16, 2010 at 10:14 AM, Hanshans...@gmail.com wrote: I'm new to this area. Please allow me to ask some (maybe stupid) questions. Without reading the rest of your post too much.

Re: program organization question for web development with python

2010-09-16 Thread Iuri
Another pretty web framework is Bottle (http://bottle.paws.de). It is very easy to setup and use. I use it to tasks like this one you want. []s iuri On Thu, Sep 16, 2010 at 3:01 PM, MRAB pyt...@mrabarnett.plus.com wrote: On 16/09/2010 18:19, Hans wrote: On Sep 15, 5:33 pm, James

program organization question for web development with python

2010-09-15 Thread Hans
Hi, I'm new to this area. Please allow me to ask some (maybe stupid) questions. I'm planning to write a web application which used for searching my mysql database. 1. files organization I have this in my main.py: print a href=display_tb.py?id=%stable=%scursor=%s%s/a %

Re: program organization question for web development with python

2010-09-15 Thread James Mills
On Thu, Sep 16, 2010 at 10:14 AM, Hans hans...@gmail.com wrote: I'm new to this area. Please allow me to ask some (maybe stupid) questions. Without reading the rest of your post too much. Designs are up to you, I can't comment. I can only share in a fairly common view, and that is, we'd