Because they're hipsters that's why.
But seriously, why?
No but I've run ROR apps and they're all slow. I researched it and dev time is slightly quicker but takes a huge hit to performance/scalability.
Also, having the ability to compile PHP into C++ with one of the many available open source programs makes the scalability insane.
^^ realistically here Darrin, wouldn't that be more of a function of how good of a coder you are in X Language?
i.e., I can write a PHP app 30x faster then I can a Ruby/rails app because I have been coding in PHP for 10 years if not more and rails for like 3 months.
I also believe scale is a function of how good of a coder you are too.
I won't debate if you are equally good at both languages though, which one will win as we all know that question ( queue up Mattseh.. )
^^ realistically here Darrin, wouldn't that be more of a function of how good of a coder you are in X Language?
i.e., I can write a PHP app 30x faster then I can a Ruby/rails app because I have been coding in PHP for 10 years if not more and rails for like 3 months.
I also believe scale is a function of how good of a coder you are too.
I won't debate if you are equally good at both languages though, which one will win as we all know that question ( queue up Mattseh.. )
Please don't comment in this thread if you have manually written an sql statement in the past 6 months that wasn't performance critical.
$db = new DB();
$result = $db->select("col1,col2")->from($table)->where(array('col3' => '43'))->order('id')->limit(30);
$result = mysql_query("SELECT col1,col2 FROM $table WHERE col3 = '43' ORDER BY id LIMIT 0,30");
Huh?
Yes, because we all know:
Code:$db = new DB(); $result = $db->select("col1,col2")->from($table)->where(array('col3' => '43'))->order('id')->limit(30);
Is oh so much more efficient than:
Code:$result = mysql_query("SELECT col1,col2 FROM $table WHERE col3 = '43' ORDER BY id LIMIT 0,30");