v1.11.4
Dependencies may be reduced by
the principles of dependency inversion
design patterns such as mediator, proxy, broker and facade
removing interface dependencies by using e.g. Null objects
exploiting messages and events
Caller gets temporary control by exploiting
proxies
facades
callbacks
interfaces
Event notification is a synonym of
internal state switch
callback
message-based communication
information push
Select true statements:
Messages are more restricted than interfaces
Interface comprises information about e.g. parameters
Message constitutes such information as who is a caller and what is an input. (The caller is an original sender of a message)
When using interfaces, ServiceProvider must call a right interface with appropriate data
When using messages, ServiceProvider gets requester's messages through a broker
Adapters:
disconnect a requester of provider’s interface
are units between broker and provider
enable interface modifications
implement mediator interface
A+ presents the exercise submission form here.