Hi Tim,
 
I used to use ViewHelpers and ViewLocators a lot in the beginning before the advent of the ModelLocator. I found that using ViewHelpers and ViewLocators did not allow things to be as decoupled as much as they should be. Ever since the inclusion of the ModelLocator I have not used a ViewLocator or ViewHelper and found this to be the best way to go. Command does something, updates the model once everything is done, and via data-binding, the view gets updated.
 
If you search the forum I think you will find some posts from Alistair and Steven in this regard. So perhaps you might at look at going in this direction as well.
 
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: Monday, July 03, 2006 6:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper

I've recently been toying with the concepts of ViewHelper vs.
ViewLocator. Alex Ulmann posted, "the ViewHelper adds and removes
itself from the ViewLocator", in his Cairngorm 2 (for Flex 2) -
Overview and Migration Path. I haven't seen any examples yet that
illustrate this method. Understandably, the example pool and
documentation for this kind of thing is small but growing. So, I was
wondering if the authors of Cairngorm had any advise/guidance for this
topic. Of course it's a matter of scale, but in an enterprise
application, what is recommended as best practice for the use of
ViewLocator and/or ViewHelpers? I'm sure that there are forthcoming
books that cover this area, but feedback here might promote better
understanding.

Best regards,
Tim Hoff

AVIS IMPORTANT

WARNING

Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.

This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender.

__._,_.___

--
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