hellodanylo / key2gym

The Key2Gym's mission is to create an open, excellent user experience providing, scalable, modern, platform-independent application for running small to medium-sized gyms.
1 stars 0 forks source link

No messages in business tier #27

Closed hellodanylo closed 12 years ago

hellodanylo commented 12 years ago

Description

The business tier should not have the messages strings. Instead it should send objects containing the results information to the presentation, which in turn should understand those results and pick appropriates messages from its local resources.

Advantages

The same business tier can be used with presentations of different locales.

Disadvantages

The need to come up with a system of result objects.

Implementation Draft

None so far.

hellodanylo commented 12 years ago

It's been decided that such change would require lots of refactoring and writting lots of new and complicated code. So the issue does not pass the Cost-Benefit analysis.