[Seaside] Re: A general guide for method categories/protocols?
Tobias Pape
Das.Linux at gmx.de
Mon May 27 20:26:17 UTC 2013
Am 27.05.2013 um 18:37 schrieb intrader <intrader at aol.com>:
> Tobias Pape <Das.Linux <at> gmx.de> writes:
>
>> ...
>>> PS: For those methods that deal with rendering, I've created a category
>>> called "rendering".
>>
>> Yup, sounds good.
>>
>> Best
>> -Tobias
>>
>
> Tobias and Bahman, if I may interject, when you enter a new method without
> choosing a protocol beforehand, you will see in the protocol pane, 'as yet
> unclassified'. If the method is an accessor or initialize, depending on the
> browser you use, it may offer to categorize it automatically as 'rendering'
> or 'initialize'
If it is an accessor, it should rather be classified as "accessing".
You are right, when you first create a method (_without_ having a
protocol selected beforehand), it will not be classified (->
'as yet unclassified') as Smalltalk cannot know how you want it to
be classified.
Best
-Tobias
More information about the seaside
mailing list