The Foundry implements it for example:
http://www.servebox.org/actionscript-foundry/actionscript-foundry-documentation/a-mvc-framework/

You may find some litterature here:
http://blogs.adobe.com/paulw/archives/2007/10/presentation_pa_3.html#more
http://elromdesign.com/blog/2008/12/13/cairngorm-and-the-presentation-model-using-ant-scripts/

Have fun !

2009/12/14 Karthik Kailash <[email protected]>

>
>
>  Hi,
>
>
>
> Some links that may be useful for you:
>
>
>
>
> http://www.dgrigg.com/post.cfm/04/12/2007/Cairngorm-Commands-Views-and-Harikiri
>
>
> http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/view/ViewHelper.html
>
>
> http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/view/ViewLocator.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** *• facebook.com/socialvision<http://www.facebook.com/socialvision>
> * *| *TWITTER** *• 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
>
>   
>

Reply via email to