📜 ⬆️ ⬇️

What is the cost of changing the interface?

The customer wants to change the design. Suppose even the layout is ready. How much is it to pull? Well, for so many hours on the page, and let us throw on even so much in mind for risks ...

- What to do there? Everything is already done! Just then, the layout of the pull - Familiar words?
And here is another phrase that is fashionable among some “theoretical leaders”:
- Change of design, this is not more than 30% of the time of the entire project!

But why practice disagrees with theory?
')
And what do you usually answer? I usually say:
- Um ... Well ... After all, it is not known what exactly has changed, perhaps it will affect not only the templates.

Just something tired of making excuses. And let's try to figure it out.

First, you need to call a spade a spade. If a new information appears on the page, or the elements change their behavior, or the old elements now assume a new reaction, then you have to change not the design, but the interface.

Now take the classic MVC model. Model, viewer, controller - 3 parts of the project. We assume that each part is 33% of the time of the entire project. Where are our templates? That's right - the viewer. Changing patterns means changing a third of the project. This is already 33% of the project.

But we remember that we are not changing the design, but the interface. New data on the page themselves will not occur.
For example, in order for small numbers to appear near the inscription “personal messages”, meaning the number of new messages, you need
  1. request this data in the controller and transfer it to the viewer;
  2. implement in the model the calculation of this number;
  3. change the preservation of private messages, so that unread messages are marked with a special flag.

And these are just the little inconspicuous numbers in the corner of the screen.

So, changing the interface pulls in addition changes in the controller, and changes in the model. Each change may require a chain of additional modifications.
I do not presume to say how much is the percentage of the entire project, but if we estimate the lower and upper bound? Suppose from 10 to 90% of the controller and from 10 to 60% of the model. Total, interface change pulls for 40 - 80% of time from all project.
image
And what do you think is worth changing the interface?

Source: https://habr.com/ru/post/76849/


All Articles