Re: Cocoa patterns?
Re: Cocoa patterns?
- Subject: Re: Cocoa patterns?
- From: "Mike Davis" <email@hidden>
- Date: Mon, 27 Aug 2001 11:19:21 -0400
>
Date: Mon, 27 Aug 2001 00:59:18 +0200
>
From: Georg Tuparev <email@hidden>
>
Subject: Re: Cocoa patterns?
>
Cc: email@hidden
>
To: brian hook <email@hidden>
>
>
Brian,
>
[snip!]
>
- In parallel of the writing of the bundle start working on your
>
"monster" application. Make it very simple, let even bundles configure
>
their own menu items.Do not make any explicit references between the
>
application classes, and between the bundle classes. If you need to let
>
them talk to each other, do it using notifications (but do not misuse
>
them -- they could be a major performance killer). In that way you will
>
achieve maximum orthogonality between the modules.
How come notifications are so slow? It's just a subject/observer pattern.
Is it doing something else in there?
[snip!]
>
Not that I know of. But the Design patterns book by the Gang of Four is
>
very strongly influenced by the predecessor of Cocoa, called NeXTSTEP.
>
And if you wait for a month or two, I will publish parts of my book (in
>
preparation) on my website. It will include some useful patters.
I assume you're including some Anti-Patterns too? Blob for instance?
[snip!]
>
Georg Tuparev
>
Tuparev Technologies
>
Klipper 13
>
1186 VR Amstelveen
>
The Netherlands
>
Mobile: +31-6-55798196
Goedemiddag! Ik werkte bij de Gouden Gids :-)