[squeak-dev] Re: Some question regarding portability
Henrik Sperre Johansen
henrik.s.johansen at veloxit.no
Tue May 10 13:13:57 UTC 2011
Teleplacer wrote:
>
> On 5/10/2011 12:21, Sven Van Caekenberghe wrote:
>>
>> On 10 May 2011, at 11:48, Levente Uzonyi wrote:
>>
>>> On Tue, 10 May 2011, Sven Van Caekenberghe wrote:
>>>
>>>> Hi All,
>>>>
>>>> I would like to improve the portability of Zinc HTTP Components (
>>>> http://zn.stfx.eu ) to Squeak. During the development of Zn I have
>>>> regulary tested on Squeak (currently 4.2 #10977), and most of the code
>>>> works unmodified. Recently, I had another look, and I would like to fix
>>>> some issues, if possible.
>>>>
>>>> - Are announcements available ? Can this framework be loaded ? What is
>>>> the official way to do this ?
>>>
>>> There are at least four different implementations of the announcements
>>> framework. They are not (fully) compatible with each other. The question
>>> is: which one is required by Zinc?
>>
>> I am not aware of that many versions.
>> I subclass Announcement, instanciate an Announcer, send #announce: and
>> #on:send:do to it, that's all.
>
> Then how about adding ZnAnnouncement, ZnAnnouncer with the two or three
> methods that you actually need? Announcements always struck me as more
> of a pattern than a framework.
>
> Cheers,
> - Andreas
>
They really are not, though on the surface they look deceptively simple.
The amount of nuances and quirks in implementing subscribing/unsubscribing,
weak versions, delivery guarantees etc. are large enough that you really
only want to implement/document/learn them once.
My 2c at least :)
Cheers,
Henry
--
View this message in context: http://forum.world.st/Some-question-regarding-portability-tp3511392p3511809.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|