Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:modul:m291:learningunits:lu04:theorie:01 [2025/01/22 13:36] – vdemir | en:modul:m291:learningunits:lu04:theorie:01 [2025/03/07 07:57] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== LU04a - Framework | + | ====== LU04a - Framework |
===== Learning objectives ===== | ===== Learning objectives ===== | ||
- | - Definition | + | - Explaining |
- | - Definition what a framework is | + | - Definingwhat |
- | - Names the differences of both | + | - Naming |
+ | - Explaining the Who-Calls-Who Principle | ||
===== Introduction ===== | ===== Introduction ===== | ||
Zeile 13: | Zeile 14: | ||
===== Library ===== | ===== Library ===== | ||
A software library is a collection of pre-written, | A software library is a collection of pre-written, | ||
+ | |||
===== Framework ===== | ===== Framework ===== | ||
A framework is a structured platform or foundation for developing applications, | A framework is a structured platform or foundation for developing applications, | ||
+ | {{ : | ||
===== Summary ===== | ===== Summary ===== | ||
{{: | {{: | ||
+ | {{: | ||
Libraries and frameworks are tools that simplify software development by providing pre-written code. Libraries offer reusable functions for specific tasks, giving developers control over when and how to use them. Frameworks, on the other hand, define a structured architecture, | Libraries and frameworks are tools that simplify software development by providing pre-written code. Libraries offer reusable functions for specific tasks, giving developers control over when and how to use them. Frameworks, on the other hand, define a structured architecture, | ||
===== Who-Calls-Who Principle ===== | ===== Who-Calls-Who Principle ===== | ||
- | There is also another aspect, which claims to explain the difference between frameworks and libraries: The Who-Calls-Who | + | There is also another aspect, which claims to explain the difference between frameworks and libraries: The Who-Calls-Who-principle. |
{{ : | {{ : | ||
Zeile 37: | Zeile 41: | ||
===== Frameworks vs. Library ===== | ===== Frameworks vs. Library ===== | ||
- | ^Library ^Framewor | + | ^Library ^Framework |
| Library is a set of reusable functions used by computer programs. | Framework is a piece of code that dictates the architecture of your project and aids in programs. | | | Library is a set of reusable functions used by computer programs. | Framework is a piece of code that dictates the architecture of your project and aids in programs. | | ||
| You are in full control when you call a method from a library, and the control is then returned. | The code never calls into a framework; instead, the framework calls you. | | | You are in full control when you call a method from a library, and the control is then returned. | The code never calls into a framework; instead, the framework calls you. | | ||
Zeile 47: | Zeile 51: | ||
You will find a list with JavaScript-Libraries und Frameworks including an explaination and a rathing as follows: [[https:// | You will find a list with JavaScript-Libraries und Frameworks including an explaination and a rathing as follows: [[https:// | ||
+ | ---- | ||
+ | [[https:// | ||