Does having the layout ready facilitate development with MVC?

Asked

Viewed 117 times

4

I’m learning to program and study dozens of things at the same time because programming is my job.

What I’d like to know is about MVC.

I imagined that in relation to the MVC, the V of view should have your HTML ready at the start of the project, which would allow you to have a better understanding of what is being done.

Is my conclusion correct and have the layout ready facilitates development with MVC?

1 answer

5


I believe so. The idea of MVC is precisely separate responsibilities of the various components and even the tasks to be performed in the project.

But if you consider layout is never ready doesn’t make so much difference. Each can find their best project management model. This may vary with the specific quantity and qualification of your members.

Some may say that the whole backend (model and controller) should be done before and with the proper specification of this the responsible for mounting the HTML should build the layout as you wish. Others will prefer to build HTML and from there begin to specify what the controller should do and define how the model. The two approaches can produce better and more productive results under different circumstances.

Try both and see which is best for your case, when you have experience, you will know to choose beforehand in each case. Obviously a hybrid solution is possible.

What is certain is that you need the requirements first, even if obtained informally. It just can’t be in the achometer, Amazingly enough, a lot of software is done without it. It can be dangerous to do the layout to find the specification, but there are cases that, done carefully, may be a valid option.

Browser other questions tagged

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