I have assigned a code refactoring task of a screen. My app written in spring mvc. Screen consists of 5 sections my goals, group goals, department goals, organization goals and peer goals. Each section has own data table and dropdowns to render data table on different condition. Few of them bind from 1 controller where as few have other controllers to render data.
I need suggestion how to clean code will all section has its own controller or there should b onee controller to entertain all request. And which design pattern is most appropriate to solve this problem.
Aucun commentaire:
Enregistrer un commentaire