A base Singleton IFacade
implementation.
In PureMVC, the Facade
class assumes these
responsibilities:
Model
, View
and Controller
Singletons.IModel, IView, & IController
interfaces.Model
, View
and Controller
Singletons created.Commands
and notifying Observers
Command
is registered for a given Notification
Mediator
is registered or not
Proxy
is registered
Observer
s.
ICommand
with the Controller
by Notification
name.
IMediator
with the View
.
IProxy
with the Model
by name.
ICommand
to INotification
mapping from the Controller
.
IMediator
from the View
.
IProxy
from the Model
by name.
IMediator
from the View
.
IProxy
from the Model
by name.
Create and send an INotification
.
Keeps us from having to construct new notification instances in our implementation code.