PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Jul 08, 2020 8:58 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Aug 08, 2010 6:09 am 
Offline
Forum Newbie

Joined: Sun Aug 08, 2010 6:03 am
Posts: 1
Hi, I am wondering how Facebook store their "Like" and "Comment" function on every post that posted by user..? XML? or Database? Do anyone know here?
I felt they used something like pointer in order to link them up.. but i have still no idea with it..
p/s: I mean some nice algorithm which won't eat up too much server's memory.. instead of just add bridge entity in the database for each post..

Is just like the example below:
http://www.fmylife.com/

They allow each IP click once "agree or disagree" for each post only.. normally how they structure for dis kind of data? it's about thousands+ for each topic..
I think it's similar to how to store a rating.. but i m not sure how the algorithm goes to in order to allow them to store that much of data without using up lots of memory/capacity..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group