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 most refined skills of color printing, the intricate techniques of wide-angle photography, provide us pictures of trivia bigger and more real than life. We forget that we see trivia and notice only that the reproduction is so good. Man fulfils his dream and by photographic magic produces a precise image of the Grand Canyon. The result is not that he adores nature or beauty the more. Instead he adores his cameraand himself.”
—Daniel J. Boorstin (b. 1914)