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

3. Anatomy of a Robotlegs application > Getting to grips with Robotlegs archite...

Getting to grips with Robotlegs architecture

Remember the list of eight classes with their less-than-twenty key API methods? Those classes are the bones of your Robotlegs application, some of them may have sounded familiar, others might have sounded quite foreign. To build a Robotlegs application, you’ll need to get to know all of the following:

  • Context—used for configuration

  • Actor—extended by Models and Services

  • MediatorMap—used to wire Views to Mediators

  • Mediator—used to wire Views to the eventDispatcher

  • EventMap—used to manage event-listener relationships

  • CommandMap—used to wire Events to Commands

  • Commands—used to do work on Models and Services

  • Injector—a smart-factory for Dependency Injection

The ‘context’ is the heart of your Robotlegs application


  

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