[Web-SIG] Standardising containment.

Phillip J. Eby pje at telecommunity.com
Tue Sep 7 21:12:04 CEST 2004


At 12:45 PM 9/7/04 +0200, Paul Boddie wrote:

>P.S. Although __file__ is supposedly Pythonic, it's quite possible that
>the
>resources associated with an application don't always reside in an
>easily
>discoverable location relative to the application's modules - ie. they
>get
>installed in some opaquely-named directory which might vary with the
>framework being used, even it is located relative to those modules in
>the
>filesystem. Perhaps an explicit resource path (or context path) needs
>defining somewhere.

Note that existing frameworks and applications already have lots of ways to 
handle this.  For example, applications like Roundup, MoinMoin, and 
Pyblosxom either have prescribed layouts or use configuration files that 
indicate where things are.

Thus, this is an area where adding a facility to WSGI is just creating 
"choice N+1" instead of actually reducing unnecessary choice.



More information about the Web-SIG mailing list