Looking for some advice \ improvements on the structure of my application
user logs in and is presented with a welcome message and a menu of options each option points to the same controller e.g OptionController but with different actions
/option/abc
/option/def
OptionController.php
{
abcAction()
defAction()
}
the reason why I have different actions is because each option will require a different form
when the form is rendered and the user enters input the request is submitted to a validate controller again with a different action per option. i need basic form validation + custom business logic
I have it "working" but don't think it's a good way to do it. Thoughts?