Language best for a Photo-sharing site: PHP, Python, Ruby or something else? [closed]?

Any. The language doesn't matter. Ruby-fanatics (especially the RubyOnRails sort) will try and tell you that their language will do everything in only 10 lines and it'll make you dinner and pick the kids up from school.

Others will tell you that their language is the most secure, fastest, quickest to develop in, etc. Ignore them. I love Python and I'd love to recommend it - but seriously, it won't make a difference. Just pick the language you know the best and get writing.

So if that's Java, start writing Java. If that's C++, hell, start writing C++. I don't believe the people who say that insert language here is fastest to develop in.

It's all about what you find comfortable. Some langauges provide extra functionality but you can always write a library that provides that if you need it - it shouldn't take too long and, chances are, someone has already done it. Remember: Facebook is written in PHP (though they compile a lot of that PHP to C++ now for speed), MySpace was written in C#/Cold Fusion (I believe), Twitter uses Ruby On Rails (though they plan to abandon it apparently), Google uses Java/Go (I think) and LinkedIn uses ASP.

Net or something I think. My point is - tonnes of services, tonnes of languages and they're all doing ok. Right now, any language will do.

My favourite little phrase is "just build it". Whilst it's a good idea to have a nice architecture and think about performance and scalability - if those things will make you abandon the project half way through, what's the point in bothering? Besides, chances are you'll need to recode a large part of it anyway later on, assuming the project grows.

Really think that Facebook are using the same code they were at the start? So, in summary, pick whichever language you want.It'll be fine.

I don't know of many sites written in C++ The only site I know of is OkCupid. – Flukey Nov 8 at 13:30 Here's the most popular one, I think: webtoolkit.Eu/wt Not used it but I've heard it's meant to be quite good. – user542603 Nov 8 at 13:32 but just to be honest don't you think that a low-level language like C++ has more performance than a a memory managed on like C# – Qchmqs Nov 8 at 13:33 1 @BadLearner: personally I'd pick either PHP or Python as those are the languages I'm most comfortable with.

– user542603 Nov 8 at 13:34 3 @BadLearner: it depends. Personally, I'd pick a language and code everything in that. Then, look for performance problems.

Say you're resizing images in PHP and it's taking a while, perhaps you could start doing that in C++ using a cronjob. But don't optimise prematurely! Just get writing code.

Keep an eye on performance, sure, but don't worry about shaving off every millisecond you can until you're at least put a release out. – user542603 Nov 8 at 13:46.

PHP can do it well. Python also can do it using web frameworks like Django or turbogears. That being said, language is not an issue as long as it has web capabilities which your post seems to dictate.

I've done Web applications in PHP, ColdFusion, Java, and Ruby, with various frameworks. I find Rails to be the most powerful Web framework I've ever used. Nothing can really equal it, because the power comes from the Ruby language, and no other language (except maybe Smalltalk) can really equal that.

That said, as long as you use proper development practice, you should be able to get it done in almost any language. However, you do not want to use MySQL as a database. PostgreSQL is far more powerful and scalable, and doesn't have MySQL's silly limitations and gotchas.

– badlearner Nov 8 at 14:53 1 Because Twitter screwed up their initial design and wound up with something horribly inefficient. (They were one of the first big sites hosted on Rails, so at the time no one knew a lot of things we know now. But I understand that their database design was just stoopid.

) Instead of improving their Rails site to get the performance they needed (which would have been possible), they decided to replace a lot of the Rails stuff with Scala. Ravelry, OTOH, has built a big, high-traffic site with Rails and done it right. – Marnen Laibow-Koser Nov 8 at 14:56 Also, remember this: you're probably not going to have the performance demands that Twitter has.

Particularly if you're doing photo sharing: why would anyone use your site when Twitpic and Flickr already do it well? – Marnen Laibow-Koser Nov 8 at 14:57 If that's the thinking of a developer, there would be no Google when Yahoo was doing great back then, and no Facebook today, when Orkut and MySpace were ruling the social networking world.IMHO. And thanks for the clarification about Twitter.

– badlearner Nov 8 at 15:03 1 AFAIK, Postgres is best of all. It's certainly the best open-source SQL DB. If you want fast, you might also look at MongoDB (which has a different set of limitations from SQL databases).

– Marnen Laibow-Koser Nov 8 at 15:36.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions