Poltergeist (computer programming): Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 7:
A poltergeist can often be identified by its name; they are often called "manager_", "controller_", "start_process", etc.
 
Sometimes, poltergeist classes are created because the programmer anticipated the need for a more complex architecture (e.g. For example, a poltergeist arises if the same method acts as both the ''client'' and ''invoker'' in a [[Command pattern]]), and the programmer anticipates separating the two phases. ThisHowever, this more complex architecture may actually never materialize.
 
Poltergeists should not be confused with long-lived, state-bearing objects of a [[pattern]] such as [[Model-view-controller]], or tier-separating patterns such as [[Business-Delegate]].