Live Feed

Discussion in 'PHP' started by oo7ml, Sep 26, 2012.

  1. #1
    Hi, i want to add a live feed to the home page of my website, that captures the following activities for all people who use my site:

    - $username has just joined
    - $username has just updated their email address
    - $username has just changed their photo
    - etc...

    How should i go about capturing all of these? I have created a spreadsheet listing all of the activities that i want to capture... so should i just add an activity to a live-feed table in the database, each time one of these activites occure

    ========
    LIVE-FEED
    ========
    - id
    - timestamp
    - activity_desc


    Do you think this is the best way to set up / run the live feed, thanks in advance
     
    oo7ml, Sep 26, 2012 IP
  2. plussy

    plussy Peon

    Messages:
    152
    Likes Received:
    5
    Best Answers:
    9
    Trophy Points:
    0
    #2
    I think your approach is ok. I would do it the same way.
     
    plussy, Sep 26, 2012 IP