фреймворк
software that supports solution development via inversion of control
The name shown is in ru. The article below is in English and is not a translation.
≈ 10 min read
фреймворк. encyclopegia.org, snapshot software-framework-031764-05c3391cfa304f67. /a/software-framework
Names in other languages
- azproqram təminatı freymvorku
- mlസോഫ്റ്റ്വെയർ ഫ്രെയിംവർക്ക്
- Svenskaramverk (programmering)programvaruramverk, framework
- lvprogrammatūras satvarssatvars, programmatūras ietvars, programmatūras platforma
- Bahasa Melayurangka kerja perisianrangka kerja
- teసాఫ్టువేరు ఫ్రేంవర్కు
- glcontorna de traballo
- nbprogramvarerammeverkrammeverk
- nnprogramvarerammeverkrammeverk
- gacreatlach bhogearra
- हिन्दीसाॅफ़्टवेयर रूपरेखासाॅफ़्टवेयर फ़्रेमवर्क, साॅफ़्टवेयर ढाँचा
- ไทยซอฟต์แวร์เฟรมเวิร์กโครงร่างซอฟต์แวร์
- Englishsoftware frameworkframework, software platform, computational framework
- Românăsoftware frameworkframework, cadru software
- scosaftware framework
- slprogramsko ogrodje
- taமென்பொருள் சட்டகம்
- Tiếng Việtkhuôn khổ phần mềm
- caentorn de treball
- ettarkvararaamistik
- Magyarszoftverkörnyezetkeretrendszer
- Bahasa Melayuراڠک کرجا ڤرايسين
- swMfumo wa programu
- Українськапрограмний каркаспрограмний фреймворк, framework, каркас програмування, фреймворк
- bsSoftverski okvir
- فارسیچارچوب نرمافزارچهارچوب نرمافزاری, چارچوب نرم افزار
- mkпрограмска рамка
- TürkçeYazılım İskeleti
- اردوسافٹ ویئر ڈھانچہ
- bgСофтуерна рамкаФреймуърк
- fiohjelmistokehyssovelluskehys
- Bahasa IndonesiaKerangka kerjaFramework
- 日本語ソフトウェアフレームワークフレームワーク
- বাংলাফ্রেমওয়ার্ক
- eoprogramframo
- 한국어소프트웨어 프레임워크프레임워크
- astframeworkinfraestructura de software
- be-taraskфрэймворкфрэймўорк, праграмны каркас, каркас
- ceфреймворк
- Češtinaframeworksoftwarový framework, softwarová platforma
- daframeworkprogrammeringsplatform, software platform
- DeutschFrameworkProgrammiergerüst, Programmierrahmen
- Españolframeworkinfraestructura digital, marco de trabajo, entorno de trabajo
- Françaisframeworkcadriciel, frameworks, cadre d'applications, atelier de développement, structure logicielle
- עבריתשלד תוכנהמסגרת תוכנה
- hyֆրեյմվորք
- Italianoframework
- kaaFreymvork
- Nederlandsframeworkprogrammeringsplatform, software platform, raamwerk
- ocframework
- PolskiframeworkPlatforma software'owa, Platforma programistyczna
- PortuguêsframeworkFrameworks, Infra-estrutura, Arcabouço, Infraestrutura, Framwork, Meta-framework
- РусскийфреймворкКаркас, Программный каркас, Framework
- rueФреймворк
- skframework
- Српскифрејмворк
- Српскифрејмворк
- Српскиfrejmvork
- ttфреймворк
- tt-cyrlфреймворк
- uzFreymvork
- العربيةإطار عمل
- 中文軟體框架软件框架
- 中文软件框架
- 简体中文软件框架
- 繁體中文軟體框架
- 中文軟件框架
- 中文软体框架
- 中文軟體框架
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
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.[1] 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.
Comparison with libraries
edit edit sourceSoftware frameworks differ from standard libraries in key ways:
- Inversion of control: In a library, user code controls the program's flow and calls library functions as needed. In a framework, the framework controls the flow and calls user code at specific points, often via the Template Method Pattern.
- Default behaviour: Frameworks provide pre-implemented functionality (e.g., standard features or workflows) that can be used as-is or customized within a predefined structure. Libraries, by contrast, require user code to assemble and configure functionality.
- Structured extensibility: Frameworks enable new features or altered behaviour through structured mechanisms such as hooks, callbacks, or APIs. Libraries allow extensibility but without predefined integration points, relying on user code for integration.
- Open-closed principle: The framework's core logic is generally fixed, allowing extensions (e.g., plugins or subclasses) but not modification of the framework itself.
Pattern
edit edit sourceAccording to Pree,[2] 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."[3][4] 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
edit edit sourceOne 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.[5] 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.[6]
Examples
edit edit sourceA framework generally focuses on a specific problem domain, including:
- Artistic drawing, music composition, and mechanical CAD[7][8]
- Financial modeling applications[9]
- Earth system modeling applications[10]
- Decision support systems[11]
- Media playback and authoring
- Web framework
- Middleware
- Application framework – General GUI applications
- Enterprise Architecture framework
Some notable frameworks:
- Cactus Framework – High performance scientific computing
- Oracle Application Development Framework
- Laravel (PHP Framework)
- Pipedream
- Php4delphi
- Vue Native
- OpenSilver - enables legacy applications based on Microsoft Silverlight, WPF, and LightSwitch to be ported into WebAssembly applications
See also
edit edit source- Class (computer programming) – Computer programming structure used to create objectsPages displaying short descriptions of redirect targets
- Don't repeat yourself – Principle of software development
- Implicit invocation
- Software design pattern – Reusable solution template to a commonly-needed software behavior
- Software engine – Core component of a complex software system
- Software platform – Environment in which a piece of software is executedPages displaying short descriptions of redirect targets
References
edit edit source- ^ Riehle, Dirk (2000), Framework Design: A Role Modeling Approach (PDF), Swiss Federal Institute of Technology Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Pree, W (1994), "Meta Patterns: A Means for Capturing the Essentials of Reusable Object-Oriented Design", Proceedings of the 8th European Conference on Object-Oriented Programming, Lecture Notes in Computer Science, vol. 821, Springer-Verlag, pp. 150–162, CiteSeerX 10.1.1.74.7935, doi:10.1007/BFb0052181, ISBN 978-3-540-58202-1
{{citation}}: Cite uses deprecated parameter|citeseerx=(help) 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 Process (2nd ed.), Prentice Hall, ISBN 978-0-13-092569-5 Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ 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
- ^ Fayad, Mohamed; Schmidt, Douglas C. (1997). "Object-oriented application frameworks". Communications of the ACM. 40 (10): 32–38. doi:10.1145/262793.262798. ISSN 1557-7317. Retrieved 26 May 2026. Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Thompson, Emma (5 August 2026). "Microsoft Research releases Orchard framework for scalable AI agent training". EdTech Innovation Hub. Retrieved 16 September 2026. Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Vlissides, J M; Linton, M A (1990), "Unidraw: a framework for building domain-specific graphical editors", ACM Transactions on Information Systems, 8 (3): 237–268, doi:10.1145/98188.98197, S2CID 11248368 Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Johnson, R E (1992), "Documenting frameworks using patterns", Conference proceedings on Object-oriented programming systems, languages, and applications - OOPSLA '92, ACM Press, pp. 63–76, doi:10.1145/141936.141943, ISBN 0201533723, S2CID 604969 Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Birrer, A; Eggenschwiler, T (1993), "Proceedings of the European conference on object-oriented programming", Frameworks in the financial engineering domain: an experience report, Springer-Verlag, pp. 21–35 Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Hill, C; DeLuca, C; Balaji, V; Suarez, M; da Silva, A (2004), "Architecture of the Earth System Modeling Framework (ESMF)", Computing in Science and Engineering, 6: 18–28, doi:10.1109/MCISE.2004.1255817, S2CID 9311752 Wikipedia revision 1376975115, retrieved 2026-11-21
- ^ Gachet, A (2003), "Software Frameworks for Developing Decision Support Systems – A New Component in the Classification of DSS Development Tools", Journal of Decision Systems, 12 (3): 271–281, doi:10.3166/jds.12.271-280, S2CID 29690836 Wikipedia revision 1376975115, retrieved 2026-11-21
External links
edit edit source- The dictionary definition of software framework at Wiktionary
- Media related to Software frameworks at Wikimedia Commons
organization
organization
notations,
tools
development
computing
of computing
systems
centered
computing
intelligence
computing
- Quantum computing
- E-commerce
- Enterprise software
- Computational mathematics
- Computational physics
- Computational chemistry
- Computational biology
- Computational social science
- Computational engineering
- Differentiable computing
- Computational healthcare
- Digital art
- Electronic publishing
- Cyberwarfare
- Electronic voting
- Video games
- Word processing
- Operations research
- Educational technology
- Document management
Text derived from https://en.wikipedia.org/w/index.php?oldid=1376975115 under CC BY-SA 4.0; modifications have been made.