Mars

I's Avatar

I

25 Jul, 2013 04:33 PM

Hello! Just sorry awkward spelling - is Google translator.
I'd like to use your creation, but between me and a masterpiece by the name of Robotlegs 2 extends boundless abyss created by the lack of information. I have the impression that the second version is designed for users familiar with the first version.
 unfortunately I was not one of them.
More specifically what I have here is the question - what is meant by methods in the implementation of the card?
1)super.injector.map(Class).asSingleton
2)super.injector.map(Class).getProvider
3)super.injector.map(Class).hasProvider
4)super.injector.map(Class).locally
5)super.injector.map(Class).seal
6)super.injector.map(Class).setInjector
7)super.injector.map(Class).softly
8)super.injector.map(Class).toProvider
9)super.injector.map(Class).toSingleton
10)super.injector.map(Class).toType
11)super.injector.map(Class).toValue
12)super.injector.map(Class).unseal
I could not find the detailed clarifications.

And a little off topic ...
I read your post about the books on the second version will not be as demand fell.
This is not true! There's where I'm from, programmers hired to work only with experience of working with framework based MVS. A choice of two PureMVC and RobotLegs2.
Adds the advantage of knowing your candidate.
But people who know how to work with your child is very small.
No information available.
Thank you!

  1. Support Staff 1 Posted by Ondina D.F. on 26 Jul, 2013 10:50 AM

    Ondina D.F.'s Avatar

    Hello,

    Your post got stuck into the spam filter for some reason. Maybe you should create an account to avoid that.

    I have the impression that the second version is designed for users familiar with the first version. unfortunately I was not one of them.

    You are right, the Robotlegs 2 documentation is not ideal for someone completely new to Robotlegs and Swiftsuspenders. So, you can't avoid reading the Robotlegs 1 documentation first:

    https://github.com/robotlegs/robotlegs-framework/wiki/Best-Practices

    After reading that, read the 3 articles written by Joel Hooks:

    http://www.developria.com/2010/06/an-introduction-to-robotlegs-a.html
    http://www.developria.com/2010/06/an-introduction-to-robotlegs-a-1....
    http://www.developria.com/2010/06/an-introduction-to-robotlegs-a-2....

    After that you'll have a general idea how Robotlegs and Swifsuspender work.
    The Swiftsuspenders documentation is available only for an older version:
    https://github.com/tschneidereit/SwiftSuspenders/blob/the-past/READ...

    If you can afford it, read the ActionScript Developer's Guide to Robotlegs
    Building Flexible Rich Internet Applications :
    http://shop.oreilly.com/product/0636920021216.do

    Now, it's time for Robotlegs 2.
    Start with an example:
    https://github.com/darscan/robotlegs-demos-HelloFlex
    https://github.com/darscan/robotlegs-demos-HelloFlash

    The documentation for Robotlegs 2 is here:
    https://github.com/robotlegs/robotlegs-framework/tree/master/src/ro...
    Go through all the folders and read the readmes.

    For the new version of Swiftsuspenders you could read the comments inside of the Injector.as and InjectionMapping.as to get an idea about what every method is doing.

    https://github.com/tschneidereit/SwiftSuspenders/blob/master/src/or...

    https://github.com/tschneidereit/SwiftSuspenders/blob/master/src/or...

    (For example in InjectionMapping.as line 51 - injector.map(Class).asSingleton )

    I know, it's a long journey, but worth the effort:)
    After reading all of the above you can come back to our forum, and we will do our best to help you and to answer your questions.

    Cheers,
    Ondina

  2. 2 Posted by I on 26 Jul, 2013 12:21 PM

    I's Avatar

    Thanks for the help, went to read, and then come back:)

  3. Support Staff 3 Posted by Ondina D.F. on 28 Jul, 2013 08:38 AM

    Ondina D.F.'s Avatar

    Glad I could help :)

  4. Ondina D.F. closed this discussion on 28 Jul, 2013 08:38 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac