RE: Design patterns: MVC, MVP, Passive View... where is Apple heading???
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 Because this is not directly Cocoa related, I moved the question to stackoverflow: http://stackoverflow.com/questions/353646/design-patterns-for-apples-coc oa-frameworks-mvc-mvp-passive-view-where-is-apple If anyone wants to comment, that appears to be the best place. Thanks, Cem Karan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
[Moderator] Re: Design patterns: MVC, MVP, Passive View... where is Apple heading???
On 9-Dec-08, at 8:36 AM, 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. this is a much more fundamental argument than a cocoa technical one. Please don't clutter the Cocoa list with this type of contennt. Consider obj-c-language or other forums [closed] thanks scott [moderatr] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Design patterns: MVC, MVP, Passive View... where is Apple heading???
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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Design patterns: MVC, MVP, Passive View... where is Apple heading???
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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com This email sent to [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]