Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What pattern is this refactoring?

I have an example with a bunch of logic in my GUI class (winforms). I am going to refactor that so that there is no logic in the gui and a separate class holds all the logic.

What is that pattern? Say I had a form class called AddAddressForm, what would you call the associated file that holds the logic? AddAddressMediator (doesn't quite fit that pattern), if I was doing WPF I would call it the ViewModel (but I am not).

like image 342
Vaccano Avatar asked Feb 15 '26 05:02

Vaccano


1 Answers

Sounds something like model-view-controller without the model part.

like image 67
Richard Cook Avatar answered Feb 16 '26 19:02

Richard Cook



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!