Jump to content

recent activity architecture


jonniejoejonson

Recommended Posts

I am creating a social network.

Like is common in many social networks I want a page that lists a users recent activity.

 

To do this Would you.

1. Create a table called recentActivity, and every time a user does anything add this action to the table.

or

2. Join all your relevant tables and select the most recent things the user has done based on the date.

 

I am leaning towards 2... what are your thoughts.. regards J

Link to comment
https://forums.phpfreaks.com/topic/245750-recent-activity-architecture/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.