Creating Facebook

Discussion in 'Computer Science & Culture' started by §outh§tar, Jan 22, 2010.

Thread Status:
Not open for further replies.
  1. §outh§tar is feeling caustic Registered Senior Member

    Messages:
    4,832
    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?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. sweet Pentax Registered Senior Member

    Messages:
    920
    i suppose you can do EVERYTHING with php and html/flash/... sky´s the limit

    Please Register or Log in to view the hidden image!



    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: Jan 22, 2010
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. EntropyAlwaysWins TANSTAAFL. Registered Senior Member

    Messages:
    1,123
    You probably want to learn SQL for the database stuff as well.
    Plus im reasonably sure that various Facebook features are made with Javascript.
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. §outh§tar is feeling caustic Registered Senior Member

    Messages:
    4,832
    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..
     
  8. sweet Pentax Registered Senior Member

    Messages:
    920
    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.
     
  9. §outh§tar is feeling caustic Registered Senior Member

    Messages:
    4,832
    Well, if I were to create a social network site I wouldn't be starting off with a million users

    Please Register or Log in to view the hidden image!

    so those issues could be delayed while I improve the functionalities that make a site draw a million users.
     
  10. Blue_UK Drifting Mind Valued Senior Member

    Messages:
    1,449
    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
     
  11. domesticated om Stickler for details Valued Senior Member

    Messages:
    3,277
    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.
     
  12. Blue_UK Drifting Mind Valued Senior Member

    Messages:
    1,449
    The art of moving postit notes

    Please Register or Log in to view the hidden image!

     
  13. domesticated om Stickler for details Valued Senior Member

    Messages:
    3,277
    lol
     
  14. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    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.
     
  15. John99 Banned Banned

    Messages:
    22,046
    Stryder, i think you need a dedicated server for facebook programs.
     
  16. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    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.
     
  17. dsdsds Valued Senior Member

    Messages:
    1,678
    Why no mention of ASP.NET?
     
  18. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    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.
     
  19. Blue_UK Drifting Mind Valued Senior Member

    Messages:
    1,449
    ASP.NET MVC is a really awesome platform. It's what we use to make web consoles where I work.

    I wonder how it scales?
     
Thread Status:
Not open for further replies.

Share This Page