Live data from Hacker News

Will Rails be the new PHP?

roy.io

31–40 of 50 posts

Re: Will Rails be the new PHP?

#32
post #23
post #6

um no? PHP "has a relatively small community, with the majority of people working under the radar and on their own?" ? Where is he getting these stats? relative to what? For instance http://www.tiobe.com/index.php/content/paperinfo/tpci/index.... Says PHP the language is more popular than Ruby the language (let alone the subset of Ruby programmers who use Rails). I don't get where that perceived smallness comes from.…

Sort of a tangent here but I've been trying to decide if our organization needs to move away from using Drupal for custom application development. You see to have some experience, what are your thoughts on it for highly customized web applications?

eh, I've only lightly dabbled in Rails and Django, nothing serious, where as for work I use a lot of Drupal, so I don't have the most balanced or informed view.

Drupal is kind of a framework and a CMS in one, it's somewhat unique. It also seems that in PHP land a lot of the frameworks are converging on a standard, it seems like Symphony 2 will be used as a base for other projects (like Drupal 8). The point is, Druapl gives you a lot more out of the gate than any other framework in PHP or any other language.

The "con" would be that you have to work in PHP and work with their relatively straightforward imperative API instead of cooler OO APIs with ORM (Though Drupal 7's revamped DB API offers some new interesting options). If those barely register as cons with you then the only reason to change and abandon already built infrastructure would be something those languages have PHP/Druapl doesn't like some binding for some cool feature.

Ah, one other con for Drupal, it does have a lot of over head and can at times be slow. But then again, easily if not more so can Rails have overhead and be slow. They like to brag about their > 1000 lines of pluralization code, others cringe. Smaller frameworks might be faster. Django possibly, but I really have no idea.

So it comes down to what you are doing and the requirements. I want to learn them all so I can better evaluate them all and in the future more knowledgeably pick the best tool for each new job

Re: Will Rails be the new PHP?

#33
post #23
post #6

um no? PHP "has a relatively small community, with the majority of people working under the radar and on their own?" ? Where is he getting these stats? relative to what? For instance http://www.tiobe.com/index.php/content/paperinfo/tpci/index.... Says PHP the language is more popular than Ruby the language (let alone the subset of Ruby programmers who use Rails). I don't get where that perceived smallness comes from.…

Sort of a tangent here but I've been trying to decide if our organization needs to move away from using Drupal for custom application development. You see to have some experience, what are your thoughts on it for highly customized web applications?

I've used Rails and I've used Drupal for custom applications (not just out-of-the-box cms sites). It would be a cold day in hell, where I picked Drupal over Rails.

Re: Will Rails be the new PHP?

#34

Usage of server-side programming languages for websites (30 September 2012): PHP 78.1% ASP.NET 21.0% Java 4.0% ColdFusion 1.1% Perl 0.9% Ruby 0.5% Python 0.2% http://w3techs.com/technologies/overview/programming_languag...

I'm not sure what your point is to begin with, but I am highly skeptical of the scientific nature of this report.

Re: Will Rails be the new PHP?

#35

Earlier quoted context omitted.

You can program messy Ruby as easily as messy PHP. Rails is an MVC framework. PHP has plenty of those as well.

Right, but Rails will always have some sort of organization. That being said it is possible to go against the grain and not use Rails' default directory structure - but that's difficult. I'm comparing Rails to vanilla PHP - just as the author is. People are exposed to PHP's low barrier of entry (again, vanilla here) because you can write an application with PHP/Apache/mySQL very quickly. However, because of this, mos…

Please don't compare a framework with a language, even someone before did it.

Re: Will Rails be the new PHP?

#37
post #23
post #6

um no? PHP "has a relatively small community, with the majority of people working under the radar and on their own?" ? Where is he getting these stats? relative to what? For instance http://www.tiobe.com/index.php/content/paperinfo/tpci/index.... Says PHP the language is more popular than Ruby the language (let alone the subset of Ruby programmers who use Rails). I don't get where that perceived smallness comes from.…

Sort of a tangent here but I've been trying to decide if our organization needs to move away from using Drupal for custom application development. You see to have some experience, what are your thoughts on it for highly customized web applications?

Personally, I've been doing Drupal for a few years now and found the knowledge and skills to be a lot harder-won than the knowledge and skills that I've picked up with Rails in the last few months. The knowledge and skills that I've picked up working with Drupal (HTTP, Databases, etc) more or less translate into general app development, so that surely has something to do with it.

I said this to my wife this morning - "you know what, building stuff in Rails just feels like it accesses my creative brain more than anything I've done before." Having been exposed to some of what Acquia is doing with their cloud hosting stuff I can say with a fair amount of certainty that almost anything under the sun can be accomplished with Drupal, but that's (the creative bit) probably why I'm on a Rails kick lately. It's just more fun (to me). The overhead does feel lower, too.

Sorry if that didn't lend any insight to your actual question.

Re: Will Rails be the new PHP?

#38
post #23
post #6

um no? PHP "has a relatively small community, with the majority of people working under the radar and on their own?" ? Where is he getting these stats? relative to what? For instance http://www.tiobe.com/index.php/content/paperinfo/tpci/index.... Says PHP the language is more popular than Ruby the language (let alone the subset of Ruby programmers who use Rails). I don't get where that perceived smallness comes from.…

Sort of a tangent here but I've been trying to decide if our organization needs to move away from using Drupal for custom application development. You see to have some experience, what are your thoughts on it for highly customized web applications?

You always need to move away from using Drupal for "highly customized web applications". Drupal is a CMS with something vaguely resembling a framework bolted on.

Re: Will Rails be the new PHP?

#39
Taking just the title, not likely. The lesson of PHP is that it is easy to get something running for a beginning programmer, and (probably more importantly) it is very simple for a system administrator to setup. I get the feeling that the first web framework that spends and equal amount of time figuring out how to make system installs and administration easy will take over for PHP.

Re: Will Rails be the new PHP?

#40
post #34

Usage of server-side programming languages for websites (30 September 2012): PHP 78.1% ASP.NET 21.0% Java 4.0% ColdFusion 1.1% Perl 0.9% Ruby 0.5% Python 0.2% http://w3techs.com/technologies/overview/programming_languag...

I'm not sure what your point is to begin with, but I am highly skeptical of the scientific nature of this report.

"See technologies overview for explanations on the methodologies used in the surveys."
Post reply on HN