What is a framework abstraction?

5

In another question I've made here in the Stack Overflow over the organization of folders in a given project, I received a comment saying:

  

Folder structure ends up being a more "personal" footprint, the point is you respect the paradigms, such as design patterns , which is another move, another question. I particularly recommend a structure like repositories and MVC.

     

For what reason are you not using an framework abstraction?

Although I'm interested in the link proposed in the comment, and continue to research the topic and even find a question , I was still in doubt: What is abstraction of a framework ?

    
asked by anonymous 27.04.2017 / 19:41

1 answer

6

Abstraction is hiding the complexity of a problem. It is to create a layer that is something simple to understand and use to do more complex tasks.

The spoken abstraction is just a nice way to say to use a framework , to use something that is already ready and indicates how to use it and not need to think about it.

Of course the framework is meant to deliver you some complex things, so it ends up acting as an abstraction.

There are several ways to deal with complexity. Framework is not unique and is often not the best.

One of the problems is that if you do not know what you're doing, the framework does not help much and you get the illusion that the person is doing right.

I do not like to use an abstraction if I do not know the concreteness it hides, although eventually I do it.

    
27.04.2017 / 19:59