NYCPHP Meetup

[nycphp-talk] Being notified when something changes in the database

Matt Juszczak matt at atopia.net
Fri Aug 20 17:27:42 EDT 2010


> I get the use of triggers but can you explain the queue concept? Let's say I want to be notified every time the count of
> an item is increased. How would a queue play into that?

Have a trigger create a record in the event queue, and then have a process 
that runs to process the queue (could be a cron, or a daemon) and send out 
emails, etc.

-Matt



More information about the talk mailing list