Thus the comparison is held at that level (web), comparing php with a web framework. If that wouldn't make any sense, then it does make sense to compare php with C++ or Java (which it doesn't). After all, you can write a website in C++.
Putting that aside, your viewpoint is hilarious as well. I find it amusing how you call the issue you linked at, a core rails bug when your knowledge of rails doesn't qualify for such a statement.
It wasn't a bug. If you are a rails developer, have indeed read the issue and replies or at least read the title well enough, you would have concluded that it was a bad coding practice.
The security measure to prevent such mass attribute assignment "was" present for developer's to utilize. It's a single line of code, but some lazy asses wanted that auto-generated/forced/opt-out instead of opt-in.
It's a good practice, an advised practice, a recommended practice to write that single line of code. The fact that a mass majority of rails developers didn't write it, or ignored this warning doesn't mean it's a "core rails bug".
No, the ruby/rails community is not as large as Php.
Yes, the php community has an awkward tendency to write "below" the par software while charging for it.
Any experienced php developer will confirm this sad fact and will probably blame the language for it
(Php "is" flawed on so many levels: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de...)
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.
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
2) the sub-par php code thing? go post on place like craig's list, where the uninformed who need developers might post things, and see what kind of developers respond. go look at wordpress plugins. go look at tutorials and examples on blogs. while yes, there are certainly well qualified php programmers, you're going to see a lot of horrifying code.
there's a lot going on there. however i think most of what the post is talking about is how as a community grows it's cohesiveness wanes.
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. In all my experience and every way I've seen the PHP community is vastly larger than the Ruby community. Also comparing a language to a Framework seems... weird. It might make more sense to compare Rails to Drupal at least, which again, in the enterprise world, I have seen waaay more Drupal installs than Rails ones. There are a few high profile Rails sites but it quickly seems to drop off into hobby and startup. Meanwhile Drupal is just everywhere. It's surprising.
Also, accusing the PHP community of "writing below par software while charging their clients for it?" is hilarious coming from the Rails camp. Generally lowering the bar for entrance while making it easier for good devs to get good work done faster also allows more "bad" devs to enter as well. Anyone remember earlier this year that core Rails bug that allowed people to overwrite almost all data that most big Rails sites were affected by (including github)
https://github.com/rails/rails/issues/5228
I cannot understand where this viewpoint is coming from, it seems hilarious (and at best, the criticisms seem like the pot calling the kettle black).