Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

11. Power-ups > Modular and multiple-context Robotlegs

Modular and multiple-context Robotlegs

‘Modular’ Robotlegs can refer to a number of different setups—you might have a Robotlegs shell which loads Robotlegs Flex Modules, or a non-Robotlegs shell which loads Robotlegs swfs that aren’t Flex Modules, or you might compile multiple Robotlegs contexts into a single swf. The good news is that developers have had great success using all of these approaches.

Communicating between contexts in Robotlegs can be as simple as sharing an event dispatcher. But if you want to share injections and instances between contexts then you need the Robotlegs Modular Utilities: https://github.com/joelhooks/robotlegs-utilities-Modular

Deep exploration of the Modular approach to Robotlegs is out of scope for this book, but you’ll find a link to an example in the repository and several people have done excellent tutorials covering modular Robotlegs on their blogs. The following is only a brief outline to help you decide whether Modular Robotlegs is of use to you.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint