Yeah i tried to read and go through best practices, but frankly,
right now, it's a bit hard for me to understand many of the
terminologies there. However i have grasped some of it and still
By freely means, I don't need to use anything like [Inject] in
those framework ( talking about puremvc actually).
btw, Which are the classes that i need to prefix with [Inject]
All classes ?
Particular Classes only ? What are they ?
Or only those classes that need [Inject].
actually you should use [Inject] for those things which are
mapped for injection. In your context (normally) you are saying to
RobotLegs what you want to inject/use inside your classes, i.e. you
are defining rules. Then by placing [Inject] in front of the
variable definition you saying to RobotLegs to check your rules and
to populate that variable with data (usually an instance of the
Is this a MUST for whatever classes (ie. not just framework
actors ) i need to use inside my "xyzMediator".
ie, any type of class instance i need to use , i MUST do this :
1) map for injection inside context
2) use [Inject] and then define the class
Is their any example of class, that might not use [Inject]
before it ?
I realise that I have a vested interest, but it would be worth buying the "Actionscript Developer's Guide to Robotlegs" - you can get it as an ebook from O'Reilly. It's intended to be a guide for developers at all levels, that takes you through everything you need to know to get up and running with Robotlegs properly.
Do. I do not have a vested interest, but it taught me all I
needed to know, quickly. And I'm not super-smart either. If you can
figure out PureMVC without a degree in CS, you'll be all over this
in no time.