in Programming by (14.2k points)
0 like 0 dislike

Question about right architecture application created on MVC (model, view, controller) development pattern. Where I should define function for receive localization messages in MVC pattern, in model or in view?

mvc pattern get localization message function

1 Answer

0 like 0 dislike
by (14.2k points)
From point of view MVC pattern most correct do it at view. But because the many messages will assemble in model, much easier define get localization messages function exactly at model.

In general, you can do whatever you like. Ultimately, the choice is yours. Do what is more convenient for you.

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.