What Makes a Social Networking Application Tick?
Social networking applications usually take the form of websites that allow people to share information with other people. To really wrap our minds around the concept of a social networking application, we have to look at it’s purpose. As suggested by the name, the purpose of these applications for the user is to socialize. So process this in your mind: people of a community or network of communities come together in one place (a website) to socialize by: visiting the site, registering, logging in, sharing information with others—How does this work? What does it look like to the programmers behind it? What makes this website tick?
Let’s make up a name. We’ll call our social network, MyParenthood.com—a social network for parents. Great, we have a concept and we have a domain name (in our example we assume we have demand for such a website.) Next step is to enlist the help of some crazy-cool programmers to make our dreams a reality.
Personally, I would start with a screen design. Then I would throw it to the programmers to make the design come alive. The reason I do this is so the programmers have a good picture of the concept. The screen design shows them things like current features and potential future features.
Here’s what our site will hopefully look like:

For obvious simplicity sake, our application will only have 2 features:
- MyParenthood.com will allow members that are stored in a database to login.
- Once logged in, the following message will display: “Welcome, Devin Castro!”
while my name will be replaced with the user’s name as stored inside a database.
The programmer will first choose a database technology suitable for your application. In our example, I will use MySQL. l then create a table to store users inside of. Databases use tables to store information, similar to an excel spredsheet that contains rows and columns.
This represents the data in our table:

Alrighty, the application’s coding will take the form of 1.) HTML (this controls what people see when they visit your site) and 2.) Dynamic Language (this processes information your users pass to your website e.g. username and password in order to login)
We’ll assume we have the HTML part done. It will look something similar to this:
(Note: this HTML does not represent the styling shown in our first figure.)

Now, the part that people don’t see include things such as:
- Database interaction.
- Form processing.
- Output of HTML.
Here’s a simple snippet of code that will accomplish our goals mentioned earlier:

This code will take the username and password that the user entered on our HTML page, then it will attempt to look for a matching user in our user table. Finally, if there is a match the script will output a welcome message that contains the user’s first name and last name as taken from the database table.
Albeit, this code is very crude, may be buggy, and has some serious security holes. Also, websites that have similar functionality may contain more than only 30 lines… more like hundreds or even thousands of lines if the site does more than a simple login. Professional programming requires consideration to factors such as security, reliability, and scalability.
So there we have it… a somewhat crude, but functional login area for our MyParenthood.com Social Networking website. Of course, no other functionality has been developed as we have not gone through how a social networking application actually allows users to share information with other users. That task involves a bit more complex coding and while this was only a mere example, you can see what the pre- “guts” of a social networking application might look like.
Tell Us What You Think
Search The Blog
Recent Entries
Archive
- March 2010
- February 2010
- October 2009
- September 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
Categories
Make $100. refer a friend or business | find out more Non-Profit. get the help you need | apply now
What Others Are Saying (4)
I look forward to additional posts.
——-
This is going to make an excellent series. As someone with ZERO programming knowledge, this helps me get a handle on it.
Correct me if I’m wrong but I think you missed to mysql_select_db()
Yes, I am missing the db select function, among other things. This was some code scraped together for this blog post.. Didn’t (and wouldn’t) expect anyone to use this script. lol.
Thanks for pointing that out anyway.