[Grok-dev] Re: Grok nomenclature

Martijn Faassen faassen at startifact.com
Wed Apr 30 14:21:26 EDT 2008


Brandon Craig Rhodes wrote:
> Martijn Faassen <faassen at startifact.com> writes:
> 
>> I think we should investigate a way to signal that we want
>> auto-registration for existing classes (that you now register using
>> ZCML).
> 
> It can't just register everything for which it can't find a ZCML
> directive? :-) I suppose that would create chaos.

Yes, that'd be chaos. :)

The set of problems we have to do deal with when updating a legacy Zope 
2 or Zope 3 application where we *do* want grokkers is quite different 
than the typical Grok problem.

>> If you say...
>>
>> class MyPortletAssignment(base.Assignment):
>>     grok.grokked()
>>
>> It'll be grokked...
> 
> But that's ugly!  Surely we want:  :-)
> 
>  class MyPortletAssignment(base.Assignment):
>      grok.me()

Heh, cute. :)

Regards,

Martijn



More information about the Grok-dev mailing list