[Zope3-dev] service names

Marius Gedminas mgedmin@codeworks.lt
Tue, 11 Feb 2003 20:54:38 +0200


On Tue, Feb 11, 2003 at 08:05:33AM -0500, Gary Poster wrote:
> 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.

Hm, I've performed a grep through the sources -- there's a class called
Resources (in zope.app.publisher.browser.resources), but it is never
imported in Python code (except its unit tests).

> 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.

AFAIR he prefered Resources to ResourceService, but I guess that was in
a discussion about service names in general, and not about variable
names in particular.

Marius Gedminas
-- 
Codeworks is available for Zope consulting -- http://www.codeworks.lt/