Re: MVC Paradigm
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
References: | |
| >MVC Paradigm (From: James Stroud <email@hidden>) |