Yes, although i have heard of succesful implementations that use more than 1 controller and locator.
I think that, that is the idea until it doesn't satisfy your requirements anymore
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion
Sent: Tuesday, 22 August 2006 8:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm and MVC: Quickie

Hi all. Just wondering if I have figured this out correctly.

In an MVC/Cairngorm application, it is ok to have as many models as I
determine based on my data needs.

Then, I would have one ModelLocator class (which extends the core
Cairngorm one) mapping to each model and instantiating variables for them.

Then I reference the model locator in the views to which it is relavent.

But all apps only possess one Controller. Is that right?

So, simply, 1 Controller/1 Model Locator/1:N Models/1:N Views

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to