Notify Observers.
This method is left public mostly for backward compatibility, and to allow you to send custom notification classes using the facade.
Usually you should just call sendNotification
and pass the parameters, never having to
construct the notification yourself.
the INotification
to have the View
notify Observers
of.
Register an IMediator
instance with the View
.
a reference to the IMediator
instance
Register an IProxy
with the Model
by name.
the IProxy to be registered with the Model.
Send a INotification
.
Convenience method to prevent having to construct new notification instances in our implementation code.
The name of the notification to send.
Optional
body: anyOptional data associated with the notification.
Optional
type: stringOptional type of the notification.
IFacade
The interface definition for a PureMVCFacade
.The
Facade
Pattern suggests providing a single class to act as a central point of communication for a subsystem.In PureMVC, the
Facade
acts as an interface between the core MVC actors (Model
,View
,Controller
) and the rest of your application.IFacade