I've this forum sort of website which is already in place, now the client wants to implement notification system onto it. What's the optimum way out.
My table typically looks like this at the moment:
Id | to | from | Message | is_read | Time | Link
Now the real question is ... is there any alternate way to push data onto this table than going to each relevant controller and fire a subsequent insert once the main insert is successful. I was thinking of using hooks but I couldn't find how to hook a function after a model function is successful or a controller function.