Magic Pushbutton

The magic pushbutton is a common anti-pattern in graphical user interfaces.

At its core, the anti-pattern consists of a system partitioned into two parts: user interface and business logic, that are coupled through a single point, clicking the "magic pushbutton" or submitting a form of data. As it is a single point interface, this interface becomes over-complicated to implement. The temporal coupling of these units is a major problem: every interaction in the user interface must happen before the pushbutton is pressed, business logic can only be applied after the button was pressed. Cohesion of each unit also tends to be poor: features are bundled together whether they warrant this or not, simply because there is no other structured place in which to put them.

Read more about Magic Pushbutton:  Alternatives, Example

Famous quotes containing the word magic:

    The middle years of parenthood are characterized by ambiguity. Our kids are no longer helpless, but neither are they independent. We are still active parents but we have more time now to concentrate on our personal needs. Our children’s world has expanded. It is not enclosed within a kind of magic dotted line drawn by us. Although we are still the most important adults in their lives, we are no longer the only significant adults.
    —Ruth Davidson Bell. Ourselves and Our Children, by Boston Women’s Health Book Collective, ch. 3 (1978)