简体   繁体   English

PHP / SQL活动/新闻提要aka最近活动提要

[英]PHP/SQL Activity/News Feed a.k.a Recent Activity Feed

I need to learn how to create a well-designed PHP "recent activity" feed which displays the recent activity of users on the site along with their username, activity, and how long ago they performed that action/activity. 我需要学习如何创建一个设计良好的PHP“最近活动”提要,该提要显示用户在网站上的近期活动以及他们的用户名,活动以及他们执行该操作/活动的时间。 I have no progress so far, any help is appreciated. 到目前为止,我没有任何进展,不胜感激。

This is not just a PHP specific problem. 这不仅是特定于PHP的问题。 Take a look at this to understand about the architecture of Activity Feeds. 看看这个 ,了解有关活动的架构供稿。

Also, my suggestion is that activity feeds can be better implemented in PHP using NoSQL based database solutions (like MongoDB, CouchDB) rather than using MySQL. 另外,我的建议是,使用基于NoSQL的数据库解决方案(如MongoDB,CouchDB),而不是使用MySQL,可以在PHP中更好地实现活动供稿。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM