I agree with you Vincent, just to mention I usually use the Configure tag only for the main application / modules mxml file, FastInject for the rest.
Robotleg is also a fantastic option, I've been using Parsley for a while, it is built to be extended quiet easily and I wanted the best for the large company applications I've been developed, now if I would reconsider my choice, I would opt for Robotleg, it does everything you need 99% of the time, is much lighter and also open source, well tested and constructed. My 2 cents. Frédéric THOMAS > Date: Wed, 9 Sep 2015 04:32:25 -0700 > From: [email protected] > To: [email protected] > Subject: Re: Parseley and [MessageHandler] > > Hi Christofer, > > You picked the right zombie, Parsley is a fantastic ioc framework, > especially since version 3.0 which added the new command framework. > > I don't think that you can use the [MessageHandler] tag in a class that > hasn't been added the context, except by using the messaging API like you > do. > > But it’s not a limitation the way I use Parsley (which is definitely not the > only way but it has proven to work great with large projects) : > > Views are never added to the context because reflection costs a lot > especially with complex UI. So instead of using the <Configure> tag, I’m > just injecting the view mediator (which is added to the context) directly in > the view using the <FastInject> tag. This way, messages can be be directly > handled in the view mediator which update the view when needed. > > Hope it helps. > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/Parseley-and-MessageHandler-tp11158p11159.html > Sent from the Apache Flex Users mailing list archive at Nabble.com.
