Multiple Context classes

Geirr Winnem's Avatar

Geirr Winnem

Jan 16, 2012 @ 12:18 AM

I am currently working on a eclipse plugin adding Robotlegs specific features to the FBToolkit suite i am working on and in this context i was reading through the api and i see there is possible to have more than one "ApplicationContext" Context class in one project.
My questions are:
1. What are the cons of having this possibillity
2. Is there any example where this is used for flex/flashbuilder ?

Rgds

Geirr

  1. Support Staff 1 Posted by Till Schneidere... on Jan 16, 2012 @ 08:34 AM

    Till Schneidereit's Avatar

    Hi Geirr,

    there aren't really any cons to this: It's required to make more than
    one instance of a module run at the same time or, if you're talking
    about the base class "Context" itself, even to make multiple
    Robotlegs-based modules or applications run side-by-side in the same
    runtime.

    Really, though, I'd recommend looking into the current development
    work going into Robotlegs 2 on github. That is a complete
    reimplementation of the framework with a focus on modularity. As it
    will be fully or largely backwards compatible, I except (or at least
    hope) that most Robotlegs projects will be using that pretty soon.

    hope that helps,
    till

  2. Ondina D.F. closed this discussion on Feb 23, 2012 @ 10:35 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