What is abstraction from a framework?

Asked

Viewed 110 times

5

In another question I asked here on Stack Overflow about organizing folders in a particular project, I received a comment saying:

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

Why are you not using abstraction from a framework?

Although I’m interested in link proposed in the comment, and continue researching on the subject and until finding a question related, still left me the doubt of: What is the abstraction of a framework?

  • 4

    I think he wanted to ask you "why aren’t you using a framework". That is, why not use the abstractions and patterns of the most known and consolidated projects, and already implemented in some framework.

1 answer

6


Abstraction is to hide the complexity of a problem in a generalized way. 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 of saying to use a framework, to use something that is already ready and indicates how to use and not need to keep thinking about it.

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

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

One of the problems is that if you don’t know what you’re doing framework does not help much and passes the illusion that the person is doing right.

I don’t like to use an abstraction if I don’t know the concreteness it hides, although eventually I do it by virtue of momentary necessity.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.