List Info

Thread: Strategies for Using config file




Strategies for Using config file
user name
2006-04-08 18:24:10

Rob Cowie wrote:
> I currently use the configfile.conf to store not
> only cherrypy settings, but several application
> specific parameters as well.
>; ...
> Would you parse it once, then allow cherrypy to
> parse it again as required? or would you parse
>; it, store the values and pass them to cherrypy
> as a dict at startup?

I do the latter (purely for "elegance" motives ;).


Robert Brewer
System Architect
Amor Ministries
fumanchuamor.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )