Write web apps in Python?

Adam Tauno Williams awilliam at whitemice.org
Wed Apr 21 05:33:39 EDT 2010


On Wed, 2010-04-21 at 10:28 +0200, Bruno Desthuilliers wrote:
> Bryan a écrit :
> > 
> > I think I see what you mean
> 
> Err...
> 
> > -- correct me if I'm wrong: 
> 
> You are, sorry !-)
> 
> > You want to
> > keep complex application data structures around between requests.
> 
> Nope. I want to keep all my settings parsed, 

Store them in the session.
> my librairies loaded, 

Enable APC

> all my connections opened etc.

If you are talking about RDBMS connections, use persistent connections.

Then you have everything you've asked for.

> Now I'm sorry to say that for quite a few "sophisticated" PHP apps I've 
> seen (and eventually had to work on), the "startup" part - parsing the 
> include files, configuration, establishing connections etc - took a good 
> part of the total processing time.





More information about the Python-list mailing list