1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use ;
use ;
/// The definition for a PureMVC Facade.
///
/// 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.
///
/// Also Facade should implement IModel trait with Model
/// for different data types and IView
///
/// [Model]: crate::prelude::Model
/// [View]: crate::prelude::View
/// [Controller]: crate::prelude::Controller