On 10/09/2006, at 12:28 PM, Sébastien Arnaud wrote:
I love the wiki you put together, lots of great stuff in there! I
am going to go back to the drawing board here due to all the new
things you presented available in mod_python 3.3 which I did not
know about. It looks like a fixuphandler w
Hi Dan,
I use the Queue class to perform DB pooling, and use 3 different
types of templating system in various mod_python applications. So
yes, mod_python makes all those customization very easy and it is why
I love it as well. The only downside I have found is that after
developing sever
Hi Graham,
Thank you for all the detailed info! Hope you are feeling better. I
did not mean to get you all worked up with a foggy brain ;)
I love the wiki you put together, lots of great stuff in there! I am
going to go back to the drawing board here due to all the new things
you presente
On 08/09/2006, at 5:15 PM, Graham Dumpleton wrote:
Now I am well and truly confused and not sure if I have broken
mod_python 3.3
or not. Short of it is, that I cannot get something like:
AddHandler mod_python .xxx
PythonHandler /Users/grahamd/Projects/testing/xxx.py
FWIW, you can
Dan Eloff wrote:
* DB connection pooling
Got that. It's actually very simple. Just derive from the Queue class,
it's already synchronized. Override pop with the logic for handing out
connections. Simply use put to return it when you're done. I recommend
putting the db information in a config fi
On 08/09/2006, at 3:42 PM, Graham Dumpleton wrote:
In regards to:
path,module_name = os.path.split(req.filename)
# Trimming the front part of req.uri
if module_name=='':
req_url = ''
else:
req_url = req.uri[req.uri.index(module_name):]
It is bringing a question I
On 08/09/2006, at 2:53 PM, Sébastien Arnaud wrote:
In short, Nicolas did read my mind correctly in regards to what I
am attempting to do here. I have searched and searched like many
python developers for a proper web framework and I have settled for
mod_python about 2 years ago. I tried af
Thank you all for taking the time to read my code, I apologize for
not including a better description of what I intended to do, but I
was reluctant to post a very very long message to the list to start
with, so I am going to blame my poor editing skills and the late hour
I sent this email a
Note that Routes can be integrated to mod_python, and provides a very useful feature (that can be find in Rails as well) : URL generation, which is the inverse of dispatching. Given parameter names, the URL generator build a full URL that can be inserted into an HTML page, for example.
I'm dreaming