Suppose I have a class Calculator that perform some basic operation like sums or divisions. where should I put it in the MVC pattern? Is this business logic ?
I've find nothing that explain clearly what kind of logic is this.
Sorry for mistakes but I'm not English.
Yes, this is business logic. It should be in the model. Let's say you have an advanced calculator with factorial, square or cube functions. When they stay in the model, this allows you to use them in different GUI applications.
A common confusion is model is just data; it is not. It contains business logic as well.