background preloader

Coding101

Facebook Twitter

Sublime Text: The text editor you'll fall in love with. Inversion of control. In software engineering, inversion of control (IoC) describes a design in which custom-written portions of a computer program receive the flow of control from a generic, reusable library. A software architecture with this design inverts control as compared to traditional procedural programming: in traditional programming, the custom code that expresses the purpose of the program calls into reusable libraries to take care of generic tasks, but with inversion of control, it is the reusable code that calls into the custom, or task-specific, code. Overview[edit] With inversion of control, on the other hand, the program would be written using a software framework that knows common behavioral and graphical elements, such as windowing systems, menus, controlling the mouse, and so on.

Inversion of control serves the following design purposes: Inversion of control is sometimes facetiously referred to as the "Hollywood Principle: Don't call us, we'll call you". Background[edit] Description[edit] Heroku | Cloud Application Platform. Git. Processing.org.