[mod_python] Persistent variable again...

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Apr 17 23:24:45 EST 2001


In my (humble) opinion, things like this are outside the scope of
mod_python, since the goal of mod_python is apache/python integration -
not building web application frameworks. In other words, mod_python is
something that makes Apache internals available in Python to give the
developer more power and speed, it's not something to make web application
development necessarily easier.

There are a few of application frameworks out there that support
mod_python - webware is one of them. I don't know much about those things,
but I think they have features like state keeping, etc.

(To that extent, even the mod_python.publisher handler is outside the
scope of mod_python, but I am willing to pursue it since it is immediately
usable, it serves as good test for advanced mod_python capabilities and
it's a pretty a good mod_python example program.)

Ultimately, there should be an area on the website that lists mod_python
modules that do various things that aren't part of mod_python
distribution. Right now there aren't enough of them out there to justify
it, but eventually there will be I'm sure.

So if you develop something that serves a particular need, please post it
to the list, and eventually we will have a collection of mod_python
modules/examples/whatever that people can use.

Grisha

On Wed, 18 Apr 2001, Damjan wrote:

> > I'm trying to implement session like mechanism using mod_python. If
> > interpreter is created in each processes, is there a way to make a
> > variable really persistent? I think I should make some daemon that
> > connects thru named pipe to get/pass session information. Is there
> > any other way?
>
> I've been thinking about session managment for mod_python too, and it seems
> like an important issue. I'd sugest we develop a common interface to session
> managment, and then write specific modules that handle the job, by ways of
> cookies, databases, special daemons etc...
>
> Any ideas?
>
> --
> Damjan Georgievski		|           п■п╟п╪я≤п╟п╫ п⌠п╣п╬я─пЁп╦п╣п╡я│п╨п╦
> Skopje, Macedonia		|           п║п╨п╬п©я≤п╣, п°п╟п╨п╣п╢п╬п╫п╦я≤п╟
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list