I was wondering what is the best way to represent an edit form in the context of domain model and I ended up with the command design pattern.
According to this: Using Command Design pattern commands should be immutable which is not what I need - I need stateful command with editable parameters (the whole command will be edited in ui/form)
Why is it considered to be bad to have stateful command?
EDIT: After some time it is now clear I was looking for the ViewModel pattern. That is the appropriate way to model any webapp screen. Basically it is stateful (per view instance) controller.