Re: Design patterns: MVC, MVP, Passive View... where is Apple heading???
Re: Design patterns: MVC, MVP, Passive View... where is Apple heading???
- Subject: Re: Design patterns: MVC, MVP, Passive View... where is Apple heading???
- From: Nathan Day <email@hidden>
- Date: Wed, 10 Dec 2008 18:17:43 +1100
I have seen that version of the MVC pattern a lot where the View and
Model are directly connected sometimes only one way, never really
understood how it was supposed to work, my understanding is that with
cocoa the model and view where never directly connected to each and it
was the purpose of the controller classes act as an interface between
the two, I guess the controller acts as a presenter and a controller.
On 10/12/2008, at 00:36 , Karan, Cem (Civ, ARL/CISD) wrote:
To lay the groundwork for this question, I'm going to state that I'm
getting my definitions for MVC, MVP, and Passive View from the
following:
http://en.wikipedia.org/wiki/Model-view-controller
http://en.wikipedia.org/wiki/Model_View_Presenter
http://www.martinfowler.com/eaaDev/PassiveScreen.html
Apple has always stated that it uses the MVC design pattern, but I
noticed in OS X 10.5 we've gotten NSViewController, KVO, bindings,
etc., objects that seem to behave more like the Passive View design
pattern. Is this where Apple wants us to head? I want to plan out
my code in a manner that plays as well as possible with Apple's
chosen design patterns, which is why I want to know where Apple is
headed.
Thanks,
Cem Karan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden