Creating Facebook

Status
Not open for further replies.

§outh§tar

is feeling caustic
Registered Senior Member
What programming languages would one need to know to create Facebook from the ground up (obviously there are various so list in terms of benefits, if you can)? Are there any good books on the subject you know of?
 
i suppose you can do EVERYTHING with php and html/flash/... sky´s the limit :cool:

edit: books won´t help you that much ... learn the languages from the scratch (for example at http://php.net/ ...).
to code something similar like facebook will take quite some years, to make it work at a large scale even more!
 
Last edited:
You probably want to learn SQL for the database stuff as well.
Plus im reasonably sure that various Facebook features are made with Javascript.
 
i suppose you can do EVERYTHING with php and html/flash/... sky´s the limit :cool:

edit: books won´t help you that much ... learn the languages from the scratch (for example at http://php.net/ ...).
to code something similar like facebook will take quite some years, to make it work at a large scale even more!

I figured php would be central but there's other sweet stuff like python. Also I imagine there's at least one book out there on the optics of building a social networking site, such as common features and functions, optimal layouts, etc. Wouldn't want to reinvent the wheel now..
 
i think the most difficult thing about creating something like facebook is to keep it running with some million users ... server management, fast database access, security issues, .... problems you can´t imagine in your worst nightmares !
In case you don´t want to waste your time, you should try community systems like "jomsocial" for joomla and change it for your needs.
 
Well, if I were to create a social network site I wouldn't be starting off with a million users :p so those issues could be delayed while I improve the functionalities that make a site draw a million users.
 
You could make facebook with php, MySQL and AJAX knowledge - but to make something that can actually support 10's of millions of users requires a bit more.

I read an article once about how Facebook delivers image content. They have a custom Linux-based operating system with a simplified filesystem that houses the images in various resolutions. These are then cached all over the world - with a special cache for profile pictures. It's serious business - the number of submitted photographs per day is absolutely astonishing and somehow they can dish them out incredibly quickly.

To answer the OP - I would guess:
C and C++ for the operating system stuff
Ruby on Rails or PHP with AJAX/Javascript for the UI
SQL (obviously) for DB work
 
Facebook is about getting a big fat pipe and a massive farm (as opposed to pure coding skills).

Shit man -- just hire a team. develop a wish-list of features, Look up scrum. make it happen.
 
The simplest way to look into something like that is to actually look towards working on plugins within the FB dev community. It gives a run down of the sites roots, but as Blue mentioned it's not something that you would build "Huge" from day one. It's an evolution, changes occur slowly and are obviously documented well for the team of developers that are required.

By all means you can build an Alpha branch of some new networking site, but I'd really suggest if you did that not to try and do everything all at once, or you'll just over complicate your project.
 
Stryder, i think you need a dedicated server for facebook programs.

If you are on about their plugins, then take a look at the site.

Personally I've not toyed with it myself, although obviously a lot of people have since there are a lot of plugins available. Some of them obviously require a dedicated host like those multiplayer games, but some of the simple questionnaire ones are just data stored on the FB database.
 
I figured php would be central but there's other sweet stuff like python.

Actually Python would probably be the best language to use since it can both be used for compiled binaries as well as CGI, otherwise the only other languages of real use would be C++ or Perl.
 
Status
Not open for further replies.
Back
Top