Yeah, same here.  But for little functions, like filterGrid(), are
you binding this to the model as well?  I'm doing this in a
viewHelper.  It just seemed like a little overkill to create an
event, command and model definition for such a small function.  I
know that state and model are synonymous, but where do you draw the
line?  There is exists flexibility to do it however you want.  But,
I'm really interested in doing the right way.

Thanks,
Tim


--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas"
<[EMAIL PROTECTED]> wrote:
>
> Basically I am using data binding to show/hide, enabled/disable
> different components on my view where I need to. Also in Flex2 the
view
> states are really nice as well, but you have to be careful of a few
> caveats (still in the middle of figuring out some details).

> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.

>
> ________________________________
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Tim Hoff
> Sent: Monday, May 15, 2006 11:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Are ViewHelper and ViewLocator
deprecated in
> Cairngorm 2?
>
>
> Dimitrios,
>
> What are you using instead of ViewLocators to handle view specific
> logic.  I know that Jesse Warden swears-by still using a common
> ViewLocator (a good topic for debate), but what does the committee
> recommend as best practice?
>
> Tim Hoff
>
>
> --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas"
> <dimitrios.gianninas@> wrote:
> >
> > No better way, you go it.
> > 
> > ViewLocators and ViewHelpers are still in Cairngorm for backward
> > compatibility, but you can basically do what you need without
using
> > these two components. I used both these components alot
initially
> in my
> > first Flex projects but used them less and less as I went along
> (not at
> > all in my first Flex2 project).
> > 
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> > 
> >
> > ________________________________
> >
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Larry Liang
> > Sent: Monday, May 15, 2006 7:53 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Are ViewHelper and ViewLocator deprecated
in
> > Cairngorm 2?
> >
> >
> > Hi all,
> >
> > I just donwloaded the latest cairngorm framework for fb2 beta 3.
I
> > found that the viewhelper and viewlocator are still included in
> the
> > package. I remeber (please correct me if I'm wrong) that these
two
> > classes are deprecated for flex 2.
> >
> > If this is the case, then suppose a command class needs to
update
> a
> > view, should it only do that throuhg ModelLocator class. It
seems
> > that the command class has no idea where the view is. For
example,
> if
> > a command class need to set a label on a view to
> say "downloading..."
> > before start a webservice call and after the rpc call comes
back,
> the
> > command class sets the label text to be empty. How should the
> command
> > class handle this situation if it does not know where the view
is.
> >
> > The only way that I can think of is to have a string variable in
> > ModelLocator class which is bound to the label text property.
and
> > then command class can update the label text through this string
> > variable. I'm sure there is a better (best practice) way to
update
> a
> > view in a command class. Please give me some hints.
> >
> > Thanks
> > Larry  
> >
> >
> >
> >
> >
> >
> > --
> > 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
> > <http://groups.yahoo.com/gads?
> t=ms&k=Web+site+design+development&w1=Web+
> >
>
site+design+development&w2=Computer+software+development&w3=Software+
> des
> >
>
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+p
> rac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>        Computer
software
> > development
> > <http://groups.yahoo.com/gads?
> t=ms&k=Computer+software+development&w1=We
> >
>
b+site+design+development&w2=Computer+software+development&w3=Softwar
> e+d
> >
>
esign+and+development&w4=Macromedia+flex&w5=Software+development+best
> +pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>        Software
> design and
> > development
> > <http://groups.yahoo.com/gads?
> t=ms&k=Software+design+and+development&w1=
> >
>
Web+site+design+development&w2=Computer+software+development&w3=Softw
> are
> >
>
+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> st+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>       
> > Macromedia flex
> > <http://groups.yahoo.com/gads?
> t=ms&k=Macromedia+flex&w1=Web+site+design+
> >
>
development&w2=Computer+software+development&w3=Software+design+and+d
> eve
> >
>
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&
> s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>        Software development best
> > practice
> > <http://groups.yahoo.com/gads?
> t=ms&k=Software+development+best+practice&
> >
>
w1=Web+site+design+development&w2=Computer+software+development&w3=So
> ftw
> >
>
are+design+and+development&w4=Macromedia+flex&w5=Software+development
> +be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>       
> >
> > ________________________________
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >      
> > *      Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >        
> > *      To unsubscribe from this group, send an email to:
> >       [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]
> subject=Unsubscribe>
> >        
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> > Service <http://docs.yahoo.com/info/terms/> .
> >
> >
> > ________________________________
> >
>
>
>
>
>
>
> --
> 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
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+
>
site+design+development&w2=Computer+software+development&w3=Software+
des
>
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+p
rac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>        Computer software
> development
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=We
>
b+site+design+development&w2=Computer+software+development&w3=Softwar
e+d
>
esign+and+development&w4=Macromedia+flex&w5=Software+development+best
+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>        Software
design and
> development
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=
>
Web+site+design+development&w2=Computer+software+development&w3=Softw
are
>
+design+and+development&w4=Macromedia+flex&w5=Software+development+be
st+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>       
> Macromedia flex
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+
>
development&w2=Computer+software+development&w3=Software+design+and+d
eve
>
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&
s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>        Software development best
> practice
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&
>
w1=Web+site+design+development&w2=Computer+software+development&w3=So
ftw
>
are+design+and+development&w4=Macromedia+flex&w5=Software+development
+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>       
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>      
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>        
> *      To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>        
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
> ________________________________
>







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