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:
“A full bosom is actually a millstone around a womans neck: it endears her to the men who want to make their mammet of her, but she is never allowed to think that their popping eyes actually see her. Her breasts ... are not parts of a person but lures slung around her neck, to be kneaded and twisted like magic putty, or mumbled and mouthed like lolly ices.”
—Germaine Greer (b. 1939)