Framework: What it is, What it is for

What is a framework?

Framework It is an adaptable structure consisting of a set of elements that allow executing projects of various kinds in a more organized and efficient way, especially in the area of ​​programming.

Framework It is an English language term that is translated as “framework” or “working environment”.

In the development of software, a framework It consists of concepts, artifacts, or practices that help organize the resources that the programmer requires to do his job.

In other words, a framework is like a kind of scheme, template or guide that the programmer uses for those parts of the development that can be automated. This generates better time management, avoiding having to do repetitive tasks manually.

What is a framework?

A framework it serves both to write source code and to develop an entire application or software. It allows you to store and organize essential resources for development such as source code, configuration files or application libraries.

In this way, the programmer has all the resources in sight and in one place and the work environment becomes a structure that must be completed, instead of starting from scratch.

However, the use of a framework It is not a phase of development and there is no obligation to use it, it is only a common resource given the time savings involved in its use.

On the other hand, frameworks can be used to develop an entire project or just one aspect of it.

Architecture of a framework

A framework has 3 essential components:

Controller

It is part of framework which manages access to the application. It includes the software necessary for the application to work, the scripts (files for the execution of multiple tasks) and other types of files.

Model

It is part of framework It manages logical operations.

View

It is the interface, that is, the graphic or visible part with which the user interacts.