In this episode, we’ll be talking about UI and component libraries that provide ready-to-use UI controls and program components, and software frameworks that provide a technical foundation for developing certain types of apps. Both libraries and frameworks speed-up software development and are used every day by millions of developers, so you as a developer, should understand these concepts very well.
In this session we will explain the main difference between a library and a framework, which in short is the following:
- Libraries extend your app by plugging a software component in it. They use the traditional program flow.
- Frameworks are foundations of functionality, which developers extend to build an app. They use the “inversion of control” program flow.
Finally, we will explain the concept of “inversion of control” (IoC) and its purpose in modern software development. Svetlin Nakov will give you an example of how UI frameworks take the program execution flow and call your code through events when the user interacts with the user interface. This is an “inverted” program flow – IoC.
- User Interface and Front-end Frameworks
- Libraries vs Frameworks
- Inversion of Control (IoC)