I want to ask a design opinion about how to build a functionality.
I have a model with Requirements, this is meant to gather software requirements in a structured way.
I also have many other entities.
Among them I have a Comment model. Each comment may be associated to a Requirement, or not.
Now I want to add this functionality:
- When someone adds a comment on a requirement, send an email to the requirement owner (user_id).
I managed to solve this using events, but somehow I think that this is not intended to be this way. How would you people integrate this? In a Model to Model fashion? Or Controller to Controller fashion?