According to Apple's documentation, the standard pattern for Cocoa applications is called Model-View-Controller. Despite the name, this pattern is quite unlike the original definition of Model-View-Controller in Smalltalk-80. Cocoa's application design pattern actually shares more in common with ideas developed at Taligent (an Apple co-developed project from the 1990s) than with the original Smalltalk origin of the term. In this article, I'll look at a little theory and history behind the primary application design pattern used in Cocoa. I'll discuss the key shortcoming of Cocoa's Model-View-Controller approach, Apple's aborted efforts to address this shortcoming and wonder from where the next major improvements will come. Smalltalk-80 Probably the widest quoted pattern in UI development is Model View Controller (MVC) - it's also the most misquoted. I've lost count of the times I've seen something described as MVC which turned out to be nothing like it. - Martin Fowler, GUI Architectures I want to quickly address what Martin Fowler means in the above quote since, by the definition Fowler uses – the definition originally used by Smalltalk-80 – the approach commonly used to develop Cocoa apps is not Model-View-Controller.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
No comments:
Post a Comment