ViewHelpers == spawn of satan.  Nothing here but bloated code.  "Seperation 
of concerns" doesn't count here; it's just something they say to make 
themselves feel better by using them.

ViewLocators, to me are only justified in extreme use cases.  Having other 
View's, or even Commands specifically telling other views to do certain 
things are bad practice, but I have seen times where there is just no other 
way.  The rest of the time, databinding and combinations of getter / setters 
should accomplish what you want.  While their use should be discouraged, 
I'll be the first to admit they are useful and lifesavers when you need 
them.


----- Original Message ----- 
From: "Tim Hoff" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 03, 2006 6:05 AM
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






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








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to