[mod_python] Multiple functions

Peter Sanchez petersanchez at gmail.com
Sat Feb 24 15:09:42 EST 2007


I am using apache-2.0.58, mod_python-3.2.8 and python-2.4.3.

Good point about the caching. I am still thinking of separating them  
if only for organization advantages.

Peter

BTW, nice last name ;)

On Feb 24, 2007, at 11:55 AM, Roberto C. Sanchez wrote:

> On Sat, Feb 24, 2007 at 11:50:22AM -0800, Peter Sanchez wrote:
>>
>> Currently I have 90% of the code in a single index.py file. All "web"
>> end functions reside there. I assume it would be faster to have a
>> browse.py instead of a browse() function in index.py. Is this
>> thinking correct? My logic is the engine will just need to read the
>> browse function instead of the entire index.py file, then use the
>> browse only function.
>>
> I would think that since Apache is capable of caching, this may not  
> help
> as much as you think.  What version of Apache is this using?
>
> Regards,
>
> -Roberto
>
> -- 
> Roberto C. Sanchez
> http://people.connexer.com/~roberto
> http://www.connexer.com
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list