I hate to say "It depends", but sometimes it really does.
Ask HN: PHP or Ruby?
21–30 of 32 posts
Re: Ask HN: PHP or Ruby?
#22Neither
Do some research and find which one works best for the product you envision building. If they both sound like a good fit, go with whatever one you can get help with more easily, since you mention (in the comments) you're not a programmer.
Re: Ask HN: PHP or Ruby?
#23And read this - http://www.ruby-forum.com/topic/1119702
Re: Ask HN: PHP or Ruby?
#24If you're outsourcing the development then you shouldn't be concerned about which language is used. You should be looking for a team of developers who know what they're doing and have experience building systems similar to yours.
Performance and scalability shouldn't be factors when choosing a language, either. Good caching and a delivery network like Akamai or CloudFlare will be more than enough for most large websites. I work on several large (100k+ visitors/day) websites that run on PHP - we get by just fine by caching the hell out of everything on multiple levels (web server, traffic manager, Akamai).
My advice is to focus on the end product, not the implementation. Don't get caught up in which technologies to use, or you will lose sight of what you want to create.
Re: Ask HN: PHP or Ruby?
#25If you know neither, try both of them for a short while and see which one you like better. It's really a 'what do you like better: apples or oranges' kind of question.
Re: Ask HN: PHP or Ruby?
#26Re: Ask HN: PHP or Ruby?
#27Re: Ask HN: PHP or Ruby?
#28Am considering Ruby at the moment. But reminded of Twitter dropping Ruby due to certain reliability issues. Hence having second thoughts. Or am I a little ahead of myself here worrying about something that may never affect me?
Hmm... Do you have plans of building something at Twitter scale? If you can foresee that, then I guess you are right when you are considering Twitter's case of dropping Ruby. I am no Ruby-ist but I am sure Ruby is not that bad that you will have troubles scaling. You just have to understand how to scale and you can use either PHP or Ruby to apply the general concepts of scalability.
Example: see what they have to offer as open source. Still quite a bit of Ruby: http://twitter.github.com
Re: Ask HN: PHP or Ruby?
#29On the PHP bit, I've done a fair amount of PHP work, but am trying to avoid it for the following reasons: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de...
Re: Ask HN: PHP or Ruby?
#30For me in Russia answer is definitely PHP, Ruby guys are rare and expensive here :)