PHP vs RoR

  • Thread starter Thread starter D
  • Start date Start date

D

Madly Diligent
Joined
Oct 29, 2010
Messages
6,862
Reaction score
145
FP$
1,418
Which do you think is better for building web applications? PHP or Ruby?

Currently I use PHP but I want to set some time aside to learn Ruby. From what I have seen, Ruby is slightly slower than PHP but is cleaner and easier to work with.
 
I've been meaning to get into writing with Hack, the Facebook version of PHP. That seems to be a wicked nice alternative.

But yeah, I've used a lot of stuff that is based on Rails conventions and have always really liked it. Never have touched Rails directly though.
 
The biggest problem with Rails is that it's really really slow.
That's the main turn-off for me.

PHP7 seems to have some massive speed boosts, and if the core team stops bickering for an hour or two then, they might even get the scalar type hints (strings, integers, etc.) in too.
 
PHP is faster and much more stable although it does really depend on many factors like the environment.
 
I like PHP because it is A: A decent programming language, and B: universally supported. While Ruby has a more modern design and more syntactic sugar, it doesn't surpass PHP enough, in my opinion, to warrant abandoning the possibilities which PHP offers in terms of libraries, online resources, and the ability to install your app universally. I've probably written as much or more Java code than PHP, and would love to use it in a web enviornment, but J2EE (the java web adaption) isn't quite there yet, and also not as universal as PHP.
 
I prefer PHP, cause i think is more easy to learn and to develop,
and also have the biggest community!!!
🙂
 
Back
Top Bottom