• 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: MVC Paradigm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MVC Paradigm


  • Subject: Re: MVC Paradigm
  • From: James Bucanek <email@hidden>
  • Date: Sat, 25 Sep 2004 15:41:55 -0700

James Stroud wrote on Saturday, September 25, 2004:
>(B) View: A bunch of buttons and text fields that display data and send
>command requests to the Controller. I only have one view right now to
>make things simple. Such commands include
>   (1) Add record
>   (2) Remove record
>   (3) Set record

"A bunch of buttons" would be part of your control objects.

The text fields would be your view.

Model objects "hold".  View objects "show".  Control objects "do".

Note that in my experience, model and view objects are often easy to define and encapsulate.  While the "control" part of your application will tend to be fuzzy and scattered around in various event handlers and what-not.  Don't worry about it, it's just the nature of the beast.

James

--
James Bucanek <mailto:email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: MVC Paradigm
      • From: Ondra Cada <email@hidden>
References: 
 >MVC Paradigm (From: James Stroud <email@hidden>)

  • Prev by Date: MVC Paradigm
  • Next by Date: Re: MVC Paradigm
  • Previous by thread: MVC Paradigm
  • Next by thread: Re: MVC Paradigm
  • Index(es):
    • Date
    • Thread