Am 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?
Yes, you are.
Ask HN: PHP or Ruby?
11–20 of 32 posts
Re: Ask HN: PHP or Ruby?
#12The one you are more comfortable in developing. Choice of framework is more important. If you are good in PHP choose a framework like codeigniter or symfony. If you are good in Ruby choose a framework like Rails. I have developed in all php, ruby, python and my personal favorite is Python/Django or Python/Flask. If you want to use any 3rd party api e.g., Facebook API make sure it has official SDK for language you cho…
Though, the crypto packages on CI could definitely use an upgrade.
Re: Ask HN: PHP or Ruby?
#13Am 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?
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.
Re: Ask HN: PHP or Ruby?
#14If Ruby, RoR should be the first choice I guess. You may also want to consider Sinatra.
Re: Ask HN: PHP or Ruby?
#15Also I would recommend that you take a serious look at python. My personal preferences puts java at the bottom of the list and PHP above that but below python and ruby (I'm a ROR developer by the way).
Re: Ask HN: PHP or Ruby?
#16Re: Ask HN: PHP or Ruby?
#17Scalability doesn't have anything to do with the programming language but rather with the architecture. The same goes for performance unless you're talking about pure number-crunching. The ease of development depends on your experience with either toolset. I'm sorry if this sounds harsh, but by asking this question you sound like you aren't a programmer but rather somebody that wants to go to rent-a-coder and have so…
Re: Ask HN: PHP or Ruby?
#18- familiarity with the language - wide support and hosted everywhere - not restricted by Rails 'norms' - easier to get up and running on a live server, even if it's your own virtual box - proven scalability - personally not mad on ActiveRecord (Rails way of interacting with DB). Would rather have greater control over my DB interactions, which I know is possible in Rails but it's very non-standard
Ruby IMHO is a far superior language to PHP, but you will have to learn a framework to get it up and running on the web, whether it's Rails, Sinatra or something else. Same with Python. PHP doesn't require a framework, although plenty exist, so it'll be easier to get an initial prototype up and running.
Re: Ask HN: PHP or Ruby?
#19Shameless Plug: We are developing a PHP Platform ourselves: http://fortrabbit.com