D
D
De YURII2015-11-16 17:31:33
PHP
De YURII, 2015-11-16 17:31:33

How to organize notifications on the site?

I implement comments for the site on posts in php / mysql (I write it myself because I like to create a new bike, but that’s not the point ...)
You need to implement a notification about a response or a new comment
How sensible to do it:
- notify immediately when added to the table
- create cron job
or your version...?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Latyshev, 2015-11-16
@magalex

Implement the observer pattern or use the already built-in implementation of SplObserver

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question