OOP to run sequential SQL queries?

From: Date: Sun, 17 Feb 2013 16:00:08 +0000
Subject: OOP to run sequential SQL queries?
Groups: php.general 
Request: Send a blank email to php-general+get-320230@lists.php.net to get a copy of this message
Dear list, We have a bunch of SQL-queries, they should be executed in a sequential order, with a defensive programming style in mind. We were thinking to implement the solution as "Stored Procedures" instead of a PHP solution that runs SQL queries, but an article in Coding Horro recommendeds to avoid SP for good reasons: http://www.codinghorror.com/blog/2004/10/who-needs-stored-procedures-anyways.html Now we're going to carry on in PHP, and my experience says that we should write the solution in a procedural-style, instead of OOP. Is there any benefit to use OOP in these situations? Please share your thoughts. Thanks, -behzad

« previous php.general (#320230) next »