[Grok-dev] Re: grok.Permission and grok.Role

Martijn Faassen faassen at startifact.com
Tue Aug 28 05:59:16 EDT 2007


Darryl Cousins wrote:
]snip]
> Just as another thought. In mars.template the components are named as
> factories (TemplateFactory etc) to make it clear that the component is
> *not* the template itself. As I read it the new Permission and Role
> components are in effect factories, they `create` and `register` a
> permission and a role respectively - in the same manner as the
> mars.template factory-style components.
> 
> The current grok Permission and Role could be renamed as
> PermissionFactory and RoleFactory without changing the functionality.

I'd like to stay away from using the word 'Factory' in grok if we can 
get away with it as long as possible. I don't think it helps 
understanding here.

Regards,

Martijn



More information about the Grok-dev mailing list