software framework
In computer programming, a software framework is an abstraction in which software, providing generic functionality, can be selectively changed by additional user-written code, thus providing application-specific software. It provides a standard way to build and deploy applications and is a universal, reusable software environment that provides particular functionality as part of a larger software platform to facilitate the development of software applications, products and solutions. Software frameworks may include support programs, compilers, code libraries, toolsets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or system. Frameworks have key distinguishing features that separate them from normal libraries: * inversion of control: In a framework, unlike in libraries or in standard user applications, the overall program's flow of control is not dictated by the caller, but by the framework. This is usually achieved with the Template Method Pattern. * default behaviour: This can be provided with the invariant methods of the Template Method Pattern in an abstract class which is provided by the framework. * extensibility: A user can extend the framework – usually by selective overriding – or programmers can add specialized user code to provide specific functionality.…
In computer programming, a software framework is an abstraction in which software, providing generic functionality, can be selectively changed by additional user-written code, thus providing application-specific software. It provides a standard way to build and deploy applications and is a universal, reusable software environment that provides particular functionality as part of a larger software platform to facilitate the development of software applications, products and solutions. Software frameworks may include support programs, compilers, code libraries, toolsets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or system. Frameworks have key distinguishing features that separate them from normal libraries: inversion of control: In a framework, unlike in libraries or in standard user applications, the overall program's flow of control is not dictated by the caller, but by the framework. This is usually achieved with the Template Method Pattern. default behaviour: This can be provided with the invariant methods of the Template Method Pattern in an abstract class which is provided by the framework. extensibility: A user can extend the framework – usually by selective overriding – or programmers can add specialized user code to provide specific functionality. This is usually achieved by a hook method in a subclass that overrides a template method in the superclass. non-modifiable framework code: The framework code, in general, is not supposed to be modified, while accepting user-implemented extensions. In other words, users can extend the framework, but cannot modify its code. ==Pattern== According to Pree, software frameworks consist of frozen spots and hot spots. Frozen spots define the overall architecture of a software system, that is to say its basic components and the relationships between them. These remain unchanged (frozen) in any instantiation of the application framework. Hot spots represent the parts where the programmers using the framework add their own code to add the functionality specific to their own project. The necessary functionality can be implemented by using the Template Method Pattern in which the frozen spots are known as invariant methods and the hot spots are known as variant or hook methods. The invariant methods in the superclass provide default behaviour while the hook methods in each subclass provide custom behaviour. When developing a concrete software system with a software framework, developers utilize the hot spots according to the specific needs and requirements of the system. Software frameworks rely on the Hollywood Principle: "Don't call us, we'll call you." This means that the user-defined classes (for example, new subclasses) receive messages from the predefined framework classes. Developers usually handle this by implementing superclass abstract methods. ==Tradeoffs== One potential downside of using a framework is that it adds to the size of a program, a phenomenon termed code bloat. This can be exacerbated by using multiple, sometimes competing, frameworks in the same codebase. Learning how to use a framework can be substantial. The intended efficiencies of using the framework may be outweighed by the cost to learn it, especially for a framework that is new to the development staff. However, once a framework is learned, development team speed may increase for future work. Learning how to use a framework can be substantial. The intended efficiencies of using the framework may be outweighed by the cost of learning it, especially for a framework that is new to the development staff.[5] However, once a framework is learned, development team speed may increase for future work. Some claim that the most effective frameworks evolve from re-factoring an existing solution, such as a generic one-size-fits-all framework developed by third parties for general purposes, rather than from green-field development. Recently, Microsoft Research launched an open-source project that covers software engineering, web navigation, and personal assistant tasks, with training data and evaluation methods available to researchers.
References
- Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia revision 1376975115, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia revision 1376975115, retrieved 2026-11-21." Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia. 2026-11-20. http://www.riehle.org/computer-science/research/dissertation/diss-a4.pdf. Accessed 24 November 2026.
Chicago "Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia revision 1376975115, retrieved 2026-11-21." Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia. 2026-11-20. http://www.riehle.org/computer-science/research/dissertation/diss-a4.pdf.
APA Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia. (2026). Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF) , Swiss Federal Institute of Technology Wikipedia revision 1376975115, retrieved 2026-11-21. Retrieved November 24, 2026, from http://www.riehle.org/computer-science/research/dissertation/diss-a4.pdf
- Architecture of the Earth System Modeling Framework (ESMF) · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Architecture of the Earth System Modeling Framework (ESMF)." Hill, C; DeLuca, C; Balaji, V; Suarez, M; da Silva, A (2004), "Architecture of the Earth System Modeling Framework (ESMF. 2026-11-20. https://en.wikipedia.org/wiki/ESMF. Accessed 24 November 2026.
Chicago "Architecture of the Earth System Modeling Framework (ESMF)." Hill, C; DeLuca, C; Balaji, V; Suarez, M; da Silva, A (2004), "Architecture of the Earth System Modeling Framework (ESMF. 2026-11-20. https://en.wikipedia.org/wiki/ESMF.
APA Hill, C; DeLuca, C; Balaji, V; Suarez, M; da Silva, A (2004), "Architecture of the Earth System Modeling Framework (ESMF. (2026). Architecture of the Earth System Modeling Framework (ESMF). Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ESMF
- Software Frameworks for Developing Decision Support Systems – A New Component in the Classification of DSS Development Tools · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Software Frameworks for Developing Decision Support Systems – A New Component in the Classification of DSS Development Tools." Gachet, A (2003), "Software Frameworks for Developing Decision Support Systems – A New Component in the Classification o. 2026-11-20. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Software Frameworks for Developing Decision Support Systems – A New Component in the Classification of DSS Development Tools." Gachet, A (2003), "Software Frameworks for Developing Decision Support Systems – A New Component in the Classification o. 2026-11-20. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Gachet, A (2003), "Software Frameworks for Developing Decision Support Systems – A New Component in the Classification o. (2026). Software Frameworks for Developing Decision Support Systems – A New Component in the Classification of DSS Development Tools. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design." Pree, W (1994), "Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design", Proceedings of. 2026-11-20. https://en.wikipedia.org/wiki/Springer-Verlag. Accessed 24 November 2026.
Chicago "Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design." Pree, W (1994), "Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design", Proceedings of. 2026-11-20. https://en.wikipedia.org/wiki/Springer-Verlag.
APA Pree, W (1994), "Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design", Proceedings of. (2026). Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Springer-Verlag
- Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (2nd ed.), Prentice Hall , ISBN 978-0-13-092569-5 Wikipedia revision 1376975115, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (2nd ed.), Prentice Hall , ISBN 978-0-13-092569-5 Wikipedia revision 1376975115, retrieved 2026-11-21." Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Proc. 2026-11-20. https://en.wikipedia.org/wiki/Prentice_Hall. Accessed 24 November 2026.
Chicago "Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (2nd ed.), Prentice Hall , ISBN 978-0-13-092569-5 Wikipedia revision 1376975115, retrieved 2026-11-21." Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Proc. 2026-11-20. https://en.wikipedia.org/wiki/Prentice_Hall.
APA Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Proc. (2026). Larman, C (2001), Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (2nd ed.), Prentice Hall , ISBN 978-0-13-092569-5 Wikipedia revision 1376975115, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Prentice_Hall
- Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). Design Patterns . Addison-Wesley. ISBN 0-201-63361-2 . Wikipedia revision 1376975115, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). Design Patterns . Addison-Wesley. ISBN 0-201-63361-2 . Wikipedia revision 1376975115, retrieved 2026-11-21." Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). 2026-11-20. https://en.wikipedia.org/wiki/Erich_Gamma. Accessed 24 November 2026.
Chicago "Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). Design Patterns . Addison-Wesley. ISBN 0-201-63361-2 . Wikipedia revision 1376975115, retrieved 2026-11-21." Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). 2026-11-20. https://en.wikipedia.org/wiki/Erich_Gamma.
APA Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). (2026). Gamma, Erich ; Helm, Richard ; Johnson, Ralph ; Vlissides, John (1994). Design Patterns . Addison-Wesley. ISBN 0-201-63361-2 . Wikipedia revision 1376975115, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Erich_Gamma
- Object-oriented application frameworks · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Object-oriented application frameworks." Fayad, Mohamed; Schmidt, Douglas C. 2026-11-20. https://dl.acm.org/doi/10.1145/262793.262798. Accessed 24 November 2026.
Chicago "Object-oriented application frameworks." Fayad, Mohamed; Schmidt, Douglas C. 2026-11-20. https://dl.acm.org/doi/10.1145/262793.262798.
APA Fayad, Mohamed; Schmidt, Douglas C. (2026). Object-oriented application frameworks. Retrieved November 24, 2026, from https://dl.acm.org/doi/10.1145/262793.262798
- Microsoft Research releases Orchard framework for scalable AI agent training · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Microsoft Research releases Orchard framework for scalable AI agent training." Thompson, Emma (5 August 2026). 2026-11-20. https://www.edtechinnovationhub.com/news/microsoft-research-releases-orchard-framework-for-scalable-ai-agent-training. Accessed 24 November 2026.
Chicago "Microsoft Research releases Orchard framework for scalable AI agent training." Thompson, Emma (5 August 2026). 2026-11-20. https://www.edtechinnovationhub.com/news/microsoft-research-releases-orchard-framework-for-scalable-ai-agent-training.
APA Thompson, Emma (5 August 2026). (2026). Microsoft Research releases Orchard framework for scalable AI agent training. Retrieved November 24, 2026, from https://www.edtechinnovationhub.com/news/microsoft-research-releases-orchard-framework-for-scalable-ai-agent-training
- Unidraw: a framework for building domain-specific graphical editors · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Unidraw: a framework for building domain-specific graphical editors." Vlissides, J M; Linton, M A (1990), "Unidraw: a framework for building domain-specific graphical editors", ACM Transacti. 2026-11-20. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Unidraw: a framework for building domain-specific graphical editors." Vlissides, J M; Linton, M A (1990), "Unidraw: a framework for building domain-specific graphical editors", ACM Transacti. 2026-11-20. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Vlissides, J M; Linton, M A (1990), "Unidraw: a framework for building domain-specific graphical editors", ACM Transacti. (2026). Unidraw: a framework for building domain-specific graphical editors. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Documenting frameworks using patterns · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Documenting frameworks using patterns." Johnson, R E (1992), "Documenting frameworks using patterns", Conference proceedings on Object-oriented programming syst. 2026-11-20. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Documenting frameworks using patterns." Johnson, R E (1992), "Documenting frameworks using patterns", Conference proceedings on Object-oriented programming syst. 2026-11-20. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Johnson, R E (1992), "Documenting frameworks using patterns", Conference proceedings on Object-oriented programming syst. (2026). Documenting frameworks using patterns. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Proceedings of the European conference on object-oriented programming · retrieved 2026-11-20 · rev 1376975115
Cite this reference
MLA "Proceedings of the European conference on object-oriented programming." Birrer, A; Eggenschwiler, T (1993), "Proceedings of the European conference on object-oriented programming", Frameworks. 2026-11-20. https://en.wikipedia.org/wiki/Springer-Verlag. Accessed 24 November 2026.
Chicago "Proceedings of the European conference on object-oriented programming." Birrer, A; Eggenschwiler, T (1993), "Proceedings of the European conference on object-oriented programming", Frameworks. 2026-11-20. https://en.wikipedia.org/wiki/Springer-Verlag.
APA Birrer, A; Eggenschwiler, T (1993), "Proceedings of the European conference on object-oriented programming", Frameworks. (2026). Proceedings of the European conference on object-oriented programming. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Springer-Verlag
- software framework · retrieved 2026-11-23 · rev 1376975115
Cite this reference
MLA "software framework." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1376975115. Accessed 24 November 2026.
Chicago "software framework." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1376975115.
APA encyclopegia.org. (2026). software framework. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376975115
Cite this article
MLA
"software framework." encyclopegia.org, 2026, https://encyclopegia.org/wiki/software-framework. Accessed 24 November 2026.
Chicago
"software framework." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/software-framework.
APA
encyclopegia.org. (2026). software framework. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/software-framework
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON