PDA

View Full Version : What programming language for a Twitter style clone?



Darren Sparrow
February 23rd, 2011, 02:08 PM
Hello all, I was wondering what the most preferred language would be for programming a twitter style clone would be?
Languages I'm considering to do the work in either, PHP, Ruby, Python, Java.
Have been reading up on all the different clones out there, and have now suffered from info overload. So it would be great to hear from those in the know about the most straightforward way of implementing the clone.

I suspect the answers will echo my language choice, but it always helps to get anothers views on these things before I start digging into the code.

Many thanks.

http://forums.fedoraforum.org//forum/images/smilies/biggrin.gif

trivialpackets
February 23rd, 2011, 03:02 PM
http://ruby.railstutorial.org/

This has a free online version of the book, or you can buy the book as well. Walks through creating Twitter clone in Ruby and Rails.

Jacks0n
February 23rd, 2011, 06:55 PM
Also keep in mind it'll have to work in with whatever database you use (I hear MongoDB's pretty good). You may also check out some of the open source micro blogging platforms and modify it, might save some time depending on what the use is.

LoneWolfJack
February 24th, 2011, 02:08 AM
all of them will work.

java is the most difficult to learn.

usage of ruby appears to have peaked a year or two ago and seems to be in decline already (it never found widespread adoption anyway).

you can't go wrong with PHP or python.

I'd go with PHP simply for the reason that the quality of PHP documentation is yet unmatched and because it's easier to find a hosting company for PHP.

but seriously, unless this is a just for fun project, a twitter clone is something for an experienced programmer, not a newbie.

ve4cib
February 24th, 2011, 05:37 AM
You can use pretty much anything you want, so long as it can talk to a database and output the appropriate HTTP pages.

Personally I'd opt for PHP, with occasional Python and/or Perl CGI scripts if necessary.

Queue29
February 24th, 2011, 05:55 AM
Check out this twitter clone in C:

http://blerg.dominionofawesome.com/