Framework vs Toolkit vs Library vs Components vs Classes

Framework is collection of toolkit with a programming model imposed on the developer. Framework provides pre-defined structure and dictates the flow of control in the application. It follows the "Inversion of Control" principle, where the control flow is inverted compared to traditional programming. They offer predefined structures and follow specific patterns and operate within the confines of those patterns.

Toolkit is set of related libraries as a subsystem.

A library is collection of related components and classes organised as a single entity.  Libraries are like collection of tools in a tool box that you can use over and over again in your computer programs. Each tool is a set of functions or pieces of code that can be used for specific tasks. They come with a clear set of instructions (API) that tells you how to use them. They don't care how and when you use them.

A component is class with more than one interface. A class is a type with default interface (Every public method is part of that default interface).

Comments

Popular posts from this blog

Transform values with a stream

Collections Framework

Inspect a collection