thank you all very much for all your opinions. I'm going for the wrapper functions :)
Greetings Peter On 8/29/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:
Just to add to what has already been said here: The only thing that is genuinely useless are those behaviors/requirements that don't have a home. Adding a playlist feature is something that doesn't belong in the controller because it doesn't help model-view relations. Nor does it belong in the view as it doesn't any value there except maybe for visualizing the list itself. So what makes sense is to add your playlist functionality to the model as it makes sense the model application object(s) should be held responsible for that feature. As it has been said, there are no hard and fast rules for these types of decisions but there are certainly guidelines. Have a look into Responsibility Driven Design for a nice heuristic for making these types of decisions. It's not a moral dilema as in a case of ought or ought not to. It's a matter of rationalizing who is responsible. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Britton Sent: Tuesday, August 29, 2006 4:19 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] mvc dillema You could use EventDispatcher in the Model, View and Controller, and send the XML data to your Model through your Controller. When the Model changes, make it dispatch an event that updates the view, etc. Mike _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

