facade.rb

Path: src/org/puremvc/ruby/patterns/facade/facade.rb
Last Update: Mon Dec 29 19:47:23 -0600 2008

In PureMVC, the Facade class assumes these responsibilities:

  • Initializing the Model, View and Controller Singletons.
  • Providing all the methods defined by the Model, View, & Controller.
  • Providing the ability to override the specific Model, View and Controller Singletons created.
  • Providing a single point of contact to the application for registering Commands and notifying Observers

[Validate]