Class has 
a hard coded dictionary with registered resource factories for matching 
filename extensions.

Its easy to register an own type into the registry i.e. by

from import DirectoryResource
DirectoryResource.resource_factories['.css'] = CSSResourceFactory

Is this the intended way to do this? Or should no additional registration 
happen? Or should DirectoryResource better use a different way to 
implement this (i.e. name utilities or subscription adapters)?

I started with a flavor of css variable expansion, if this is of interest 
have a look at

regards Jens
Jens W. Klein - Klein & Partner KEG - BlueDynamics Alliance

Zope3-users mailing list

Reply via email to