Update README.md
This commit is contained in:
parent
f970a7646d
commit
47907cb91b
@ -189,6 +189,15 @@
|
||||
* a snapshot of an object's state must be saved so that it can be restored to that state later, and
|
||||
* a direct interface to obtaining the state would expose implementation details and break the object's encapsulation
|
||||
|
||||
##Model-View-Presenter
|
||||
**Intent:** Apply a "Separation of Concerns" principle in a way that allows developers to build and test user interfaces.
|
||||
|
||||

|
||||
|
||||
**Applicability:** Use the Model-View-Presenter in any of the following situations
|
||||
* when you want to improve the "Separation of Concerns" principle in presentation logic
|
||||
* when a user interface development and testing is necessary.
|
||||
|
||||
##Observer
|
||||
**Intent:** Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user