473,721 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Database for Social Networking Site

Hello,
I am in need of advice or examples of how I should build my database
for a small non-profit youth computer gaming organization. I am a
beginner at database design and I know this project will take some
fairly complex database structure. Here is what I have planned:

The site will function a lot like the hit social networking website
Facebook.com... . each user will log in and have his/her own "wall"
where friends can leave messages, view a profile, and see pictures,
and other stats from that user. I plan on adding a PM system where
they can also send private messages to one another.

I hope to do this using PHP, MySQL, XHTML, CSS, Flash, and some XML.

Please offer any advice or examples you can.

Thank You,
Andrew

Jul 12 '07 #1
10 6327
On Thu, 12 Jul 2007 17:02:35 +0000, Fenix [Youth Director] wrote:
Hello,
I am in need of advice or examples of how I should build my database
for a small non-profit youth computer gaming organization. I am a
beginner at database design and I know this project will take some
fairly complex database structure. Here is what I have planned:

The site will function a lot like the hit social networking website
Facebook.com... . each user will log in and have his/her own "wall"
where friends can leave messages, view a profile, and see pictures,
and other stats from that user. I plan on adding a PM system where
they can also send private messages to one another.

I hope to do this using PHP, MySQL, XHTML, CSS, Flash, and some XML.

Please offer any advice or examples you can.
Unless you're doing this as a programming project download one of the many
that already exist, install it and customize it to your liking.

Jul 12 '07 #2
Unless you're doing this as a programming project download one of the many
that already exist, install it and customize it to your liking.
I prefer to attempt it on my own so I can know the application inside
and out. I just need a bit of advice on the database design.

Jul 12 '07 #3
On Thu, 12 Jul 2007 20:42:22 +0000, Fenix [Youth Director] wrote:
>Unless you're doing this as a programming project download one of the many
that already exist, install it and customize it to your liking.

I prefer to attempt it on my own so I can know the application inside
and out. I just need a bit of advice on the database design.
Cool. The best advice I can give anyone about database creation is to get
a decent grasp of database normalization and indexing.
Jul 12 '07 #4
Cool. The best advice I can give anyone about database creation is to get
a decent grasp of database normalization and indexing.
Can you explain that a bit?

Jul 12 '07 #5
Message-ID: <11************ **********@o61g 2000hsh.googleg roups.comfrom
Fenix [Youth Director] contained the following:
>Cool. The best advice I can give anyone about database creation is to get
a decent grasp of database normalization and indexing.

Can you explain that a bit?
Not in a way that would help. But this may illustrate the problem
www.ckdog.co.uk/normalisation.ppt

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 12 '07 #6
Ivan Marsh wrote:
Unless you're doing this as a programming project download one of the many
that already exist, install it and customize it to your liking.
BEWARE: the existing one will soon release a new version. If it's just
adding features you can ignore it and go on with your own customized
version, or you can decide that those new features are worth the effort
of re-applying all the changes you made to the new version. But sooner
or later there will be a security update that you really have to
installe otherwise hackers will get at you sooner or later. Probably
sooner as those hackers nowadays have already automated searches for
older, vurnerable versions. So basically you need to install the patch ASAP.

But the patch does not patch your obsolete version, it patches the now
10 version numbers newer version. As you look into the code it is not at
all clear of what changes the patch exact consists of, as it is shipped
wiht an hundred or so other changes. The code you venture into is at
some places qoute different from your old version and you have no idea
what these differences actually do in terms of how the software works.

IOW, sooner or later you need to update, and the longer you wait the
harder it gets. In the best case you have preparerd for this, use CVS or
some other version control system to reapply your changes and have unit
tests so you can quickly veryfy wheather everything still works as
expected. But we don't live in an ideal world, your updating effort can
easily become your updating nightmare.

Greetings,

Henk Verhoeven,
www.phpPeanuts.org

PhpPeanuts is an application framework you can use to boost your
productivity. It has a specialization layer that allows you to keep your
own code separated from framework code. Changes are usually specified
upto individual methods. If an error occurs in development it outputs a
walkback so you can at least see where it comes from. Building unit
tests for your own code is nevertheless highly recommended, just like it
would be if you had built everything from scratch.
Jul 17 '07 #7
On Tue, 17 Jul 2007 23:35:55 +0200, Henk verhoeven wrote:
Ivan Marsh wrote:
>Unless you're doing this as a programming project download one of the
many that already exist, install it and customize it to your liking.

BEWARE: the existing one will soon release a new version.
<snip bullshit>
IOW, sooner or later you need to update, and the longer you wait the
harder it gets. In the best case you have preparerd for this, use CVS or
some other version control system to reapply your changes and have unit
tests so you can quickly veryfy wheather everything still works as
expected. But we don't live in an ideal world, your updating effort can
easily become your updating nightmare.

Greetings,

Henk Verhoeven,
www.phpPeanuts.org

PhpPeanuts is an application framework you can use to boost your
productivity. It has a specialization layer that allows you to keep your
own code separated from framework code. Changes are usually specified
upto individual methods. If an error occurs in development it outputs a
walkback so you can at least see where it comes from. Building unit
tests for your own code is nevertheless highly recommended, just like it
would be if you had built everything from scratch.
So you're telling people not to use other people's software at moment and
promoting your own the next?

Sorry... but I try not to use software written by hypocritical morons.
Jul 17 '07 #8
Ivan Marsh wrote:
So you're telling people not to use other people's software at moment and
promoting your own the next?

Sorry... but I try not to use software written by hypocritical morons.
Gosh - that rules out an *awful* lot of software. :)
Jul 17 '07 #9
On Tue, 17 Jul 2007 22:26:59 +0000, Sanders Kaufman wrote:
Ivan Marsh wrote:
>So you're telling people not to use other people's software at moment and
promoting your own the next?

Sorry... but I try not to use software written by hypocritical morons.

Gosh - that rules out an *awful* lot of software. :)
Believe it or not I thought of that while I wrote it... that's why it says
"try".

I'm currently in the middle of a Windows Group Policy Object problem that
I can't seem to fix.

Jul 17 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3395
by: harlow.28 | last post by:
Looking to build a Social Networking site and i've heard of Drupal and Joomla and a few others and i was wondering if anyone had experience building a social networking site (i.e. myspace, friendster, linkedin, yelp... ) with one of these PHP CMS tools? ???? any suggestions ? pros / cons of any of them? thanks! - dan
2
1450
by: sebhastian | last post by:
I’m interested in creating our own social networking site. Can anyone recommend a company or tech firm that does this?
1
4368
by: Shalini Bhalla | last post by:
hi , i want to use Yogurt Social networking CMS software .... Pls tell me how exacly i will do it ? in site it is specified that : Upload the yogurt directory to XOOPS_ROOT_URL/modules/ (i m not getting this where exacly i need to put files , om my server or where ?) 2. Log in to your site as administrator. 3. Install the module using the XOOPS module administration panel at 'System Admin -> Modules'.
2
1637
by: kevinhugh | last post by:
Hello, I am looking to develop a social networking site, but need advice on how to approach this in terms of development? Can you help? kevin
4
1720
by: Shalini Bhalla | last post by:
Which is the best social networking site CMS
9
15099
bilibytes
by: bilibytes | last post by:
Hi, i am wondering how did a website like facebook, myspace or whatever social networking site store their images? do they store them in a DB or roughly like files? thankyou in advance and cya!
3
2505
by: mfaisalwarraich | last post by:
hi everybody, what is the best solution to develop a social networking website like, myspace or orkut? What framework should be used? Which is the easiest and fastest way to build a social networking website with a databse. thank you.
1
4851
by: deepucando | last post by:
Hi i am trying to design a social networking site for my project. i have to design the database for the social networking with user profile and friends contact list as like facebook and orkut. can anyone help me to implement the database design with fast and accuracy retrieval of data from the database using the Index and Hash table techniques regards ~Deepu~
0
8840
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8007
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5981
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4484
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.