• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Acid Test For MVC Design?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Acid Test For MVC Design?


  • Subject: Re: Acid Test For MVC Design?
  • From: Marcel Weiher <email@hidden>
  • Date: Wed, 31 Jul 2002 20:36:37 +0200

On Tuesday, July 30, 2002, at 09:58 Uhr, Daniel Jalkut wrote:

The hardest part about Cocoa/ObjectiveC programming for me so far is the unsteady footing I have on the "MVC design" paradigm. I think I have a good notion of the approach, but sometimes I get stuck trying to classify a certain class into one of the categories. At times, I wish I had some kind of "key questions" to ask about the functionality to help determine what it is. Sometimes, I think I get stuck because the class I'm looking at inadvertently covers both model and controller, or both view and model, or perhaps all three.

Well, the reason we need engineers is that they can make judgement calls, because real-world situations are rarely ever as clear-cut as you'd like them to be.

One thing I do *religiously* is to keep my Foundation and my AppKit code separate.

Model code may only reference Foundation classes.

Only View/Controller code may refernce AppKit.

Exceptions make life interesting ;-)

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Acid Test For MVC Design? (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: finder
  • Next by Date: Re: Who is releasing my CFAllocator?
  • Previous by thread: Re: Acid Test For MVC Design?
  • Next by thread: finder
  • Index(es):
    • Date
    • Thread