Working with rsl.

nickt's Avatar

nickt

Apr 23, 2012 @ 08:09 AM

Hello again. I was wondering today if there is anything that might go wrong while working with rsl.
The project I'm working on has a core library and different projects for specific platforms. Robotlegs is used in both but since the library does not contain anything visual, I only keep there some important mappings so I don't have to do them in all of my projects.
For example, I have a CoreCommandsConfig class which takes the commandmap and uses it map all the events and commands in the library.

So I was thinking about calling this class from each of my platform projects (in each context startup) but I don't know if this is the proper way to do it.

Any ideas? Does this sound ok to you?

  1. Support Staff 1 Posted by Ondina D.F. on Apr 24, 2012 @ 07:41 AM

    Ondina D.F.'s Avatar

    Hi Nick,

    The project I'm working on has a core library and different projects for specific platforms. Robotlegs is used in both but since the library does not contain anything visual, I only keep there some important mappings so I don't have to do them in all of my projects.

    Yes, it’s a good practice to use shared libraries across platforms.

    To see how it works with Robotlegs you can take a look at Jonathan Campos article:
    http://www.adobe.com/newsletters/inspire/march2011/articles/article...

    and his examples – see the links in this thread:
    http://knowledge.robotlegs.org/discussions/questions/864-rl-and-mob...
    (RottenTomatoesLibrary-Chap11/src)

    Hope this helps.
    Ondina

  2. Ondina D.F. closed this discussion on May 05, 2012 @ 01:21 PM.

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