NYCPHP Meetup

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

Anthony Papillion papillion at gmail.com
Fri Aug 20 17:28:46 EDT 2010


Ahh I get it! Cool. That's easy. Thank you!

On Fri, Aug 20, 2010 at 4:27 PM, Matt Juszczak <matt at atopia.net> wrote:

>  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
>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20100820/73d9562e/attachment.html>


More information about the talk mailing list