droidus Posted August 17, 2011 Share Posted August 17, 2011 how would i set up database for a site such as facebook? no details needed. just wondering how you do messages, friends, and so on? would you have a column for friends, have them listed with commas after each, then just pull from those names? Quote Link to comment https://forums.phpfreaks.com/topic/245070-setting-up-a-database/ Share on other sites More sharing options...
trq Posted August 18, 2011 Share Posted August 18, 2011 would you have a column for friends, have them listed with commas after each, then just pull from those names No, you would use good design and database normalization. Quote Link to comment https://forums.phpfreaks.com/topic/245070-setting-up-a-database/#findComment-1258869 Share on other sites More sharing options...
ManiacDan Posted August 19, 2011 Share Posted August 19, 2011 Facebook uses a graph database, not a traditional relational database. You have to think about your data differently. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/245070-setting-up-a-database/#findComment-1259407 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.