Question concerning the organization.

For programming and general questions on Zend Framework
Post Reply
Posts: 1
Joined: Mon Nov 04, 2013 11:18 am

Question concerning the organization.

Post by flo395 » Mon Nov 04, 2013 11:24 am

Hi hi!
I have a question concerning the organization.
Already, the explanation ...
Let's say I have an object "$subject" on which the objects "$member" could subscribe.
If I turn off the $subject ($subject->disable()) in question, members are expected to receive an email ...

My question is, where should I do the manipulation (find members subscribers, send them an email, notifications, ...).
For now I do it in disable() function in my class Subject, you see. And I do not think this is really the right way to do (although this may work) ...

Would you have ideas, answer ... ?

Thank you in advance :)

Post Reply