Tag Info

New answers tagged

1

First and foremeost, you seriously need to isolate business logic from Views. You don't need to do it all at once, but with new feature requests, you really need to workout a better distribution of roles in your application. Secondly, Strategy Design Pattern is exactly what you need in your application: The idea of the pattern is to eliminate hard ...


0

You have a domain model that encapsulates validation and business logic, and that is no bad thing. Consider what 'hexagonal' architecture would imply for your design. Specifically, it would recommend that you design an interface to your persistence layer, allowing different persistence mechanisms to be plugged in as adapters. When performing the business ...



Top 50 recent answers are included