3 ms·
"Best" is subjective, though, isn't it? What do you regard as being better? Personally I hate frameworks like Zend which abstract database operations into multi
by wackget 6y ago
"Best" is subjective, though, isn't it? What do you regard as being better? Personally I hate frameworks like Zend which abstract database operations into multi-parameter functions. It serves very little purpose when you can just write actual SQL, in my opinion.
- nemothekid 6y agoI'm sure that a lot of other people have great experiences with other database interfaces such as C#'s Linq or Ruby's ActiveRecord, but that really isn't the point of my comment. The PHP snippet in the article is pretty much the bare minimum for SQL integration in other languages. As another reply to my comment points out, the PHP snippet posted is nearly identical to Perl's DBI (which I believe PDO is based on), which came out 1995! For an article that purports "PHP is good now", I wouldn't expect one of the selling points to be something that could be done in (and is routinely done), in Python/Perl/Ruby for over 25 years now.