[Zope3-dev] service names

Gary Poster gary@modernsongs.com
Tue, 11 Feb 2003 08:05:33 -0500


I definitely don't see an issue to making the "ErrorReports" string be 
"ErrorReports"

I think Steve had a concern about simply using "Resources" for the 
variable name, which would seem to be the obvious choice in parallel 
with the rest of the names.  Maybe I'm off base about that.  In any 
case, on the face of it, that seems ok to me too.  We can always use 
"from ... import Resources as ResourceService" if we need to in a 
particular instance.

I think there are also some Events changes coming.  It would be nice 
ifthey could all happen at once, I'd think.

So...

(src/zope/component/servicenames.py)

 >>Adapters = 'Adapters'
 >>Interfaces = 'Interfaces'
 >>Utilities = 'Utilities'
 >>Skins = 'Skins'
 >>Views = 'Views'
 >>Resources = 'Resources'
 >>Factories = 'Factories'

(src/zope/app/services/servicenames.py)

(import component names, and...)
 >>HubIds = 'HubIds'
 >>EventPublication = 'EventPublication'
 >>EventSubscription = 'EventSubscription'
 >>ErrorReports = 'ErrorReports'
 >>Roles = 'Roles'
 >>Permissions = 'Permissions'
 >>Authentication = 'Authentication'

?

...and then someone actually has to *do* this. :-)  This will take an 
hour or two, I'd guess.  I can do it, but I won't have time until 
possibly next weekend (Feb 22).  Can anyone step up to bat?

Marius, are you familiar with Steve's opinion's on the "Resources" name? 
  Am I imagining this?  I think he's on vacation right now so can't 
respond for himself.

Gary