|
|
|
|
|
by encoderer
5369 days ago
|
|
I've come to expect hackery from this guys blog. The truth is that for professional, skilled developers, mastering their Nth language is an increasingly smaller investment compared to their first. But for people north of HTML coders and south of professionals, they have a lot invested in the scripting skills they've developed and nobody is interested in seeing the value of their investment diminish for a reason like this. People here always tout PHP's installed-base as a big "plus" for the language. But I think more than that is the mindshare. |
|
Now in this article there's a telling clue to why he thinks writing SQL by hand is better than using any ORM:
> I can knock out a good website in an hour in PHP, and an excellent one in a day or two.
This suggests that he's working primarily on tiny projects. Of course if you are working on tiny projects than an ORM doesn't buy you much. Also, there is perhaps no language suited better to tiny web projects than PHP and I don't see that changing. If you want to make something measurably better than PHP for general purpose web programming you start having to make decisions that developers don't want taken away from them. Rails does what it does by being opinionated, but it works because if the opinions are ill-suited to your project you can still use Sinatra or whatever. If you move too high up the abstraction layer while trying to still serve a wide audience you end up with the kind of morass that is Drupal, where the system can do almost anything adequately, but it doesn't do a great job of anything because of the creaking weight of the infrastructure that attempts to be everything to everyone.