Hi,
Some links that may be useful for you: http://www.dgrigg.com/post.cfm/04/12/2007/Cairngorm-Commands-Views-and-Harik iri http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/view/Vie wHelper.html http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/view/Vie wLocator.html Basically, your commands will retrieve a ViewHelper, which acts as a presentation model / mediator for a particular view, and then can call methods on it or update its properties. You'll have to structure your ViewHelper so it has a reference to your view (and vice versa if you are using the PM pattern). If you are familiar with PureMVC, you are kind of mimicking their Mediator structure, except all the work is still centralized in commands. Hope that helps! Cheers, Karthik Karthik Kailash | Product SocialVision, Online Television Becomes a Social Experience CELL . 408.768.7704 | WEB . www.socialvisioninc.com | FACEBOOK . <http://www.facebook.com/socialvision> facebook.com/socialvision | TWITTER . <http://twitter.com/socialvision> twitter.com/socialvision From: [email protected] [mailto:[email protected]] On Behalf Of vikram Sent: Monday, December 14, 2009 5:01 AM To: [email protected] Subject: [flexcoders] About using Presentation Model Pattern with Cairngorm Hello all I am trying to implement presentation model using Cairngorm for my flex application. I have some views where I have some components binded to some of modelLocator. I read somewhere that the properties that need to be updated should reside in presentation model. Is this true? If yes, then how can I do so? Suppose I create a currentUser property in modelLocator. and it is bound to a label on user info screen which displays the concatenated lastname and firstname. Now if I create a presentation model for user info screen, I will have to create a fullname property for the view. But then when and how will I update this property? * Should I update it when I do login - which means I should do it in responder. * Should I create in presentation model and call it in responder. If yes, will the view get updated properly. Can somebody please throw some light on these issues? Thanks ans Regards ShiVik

