Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85926 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60952 invoked from network); 23 Apr 2015 13:45:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Apr 2015 13:45:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:33221] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/DE-35080-087F8355 for ; Thu, 23 Apr 2015 09:45:37 -0400 Received: by lbbzk7 with SMTP id zk7so13576984lbb.0 for ; Thu, 23 Apr 2015 06:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=zlNps8oQKBXSsgStwhdYZH9/ZkRe7kkgRkrdnuHp3hg=; b=vjNdVnTz2SeooMJszSZ8opC19alTfx8tDVTyZBfF/DprIkXLs686jGj8IxicIXZJOs HWBd2/eU414QiSw796l1GVkrU/Z9k6d/Y8H8hJMvi9d+WUTpQZIkzAXSMYUi28TnEPhC 9mtQxjDE1OFOrHM3uwPhLPYsLlnYWx/Zqz2k1Q02yLsZLkFsvILl/dsK9mtAAqJzgoC/ VUPv+e0ZWJjQzqRjn0kPLt028Ae1+pc4LhOjj8n41RsuErTRQLWcGi3xtajHyUzGrGKC 3tgHbIgoAx2hBIEMYVyuyL2SBvJNkXLnQyLVsxzBrfDlikI92XELFYfbIGanJnC7rMEd OX0w== X-Received: by 10.152.179.39 with SMTP id dd7mr2457183lac.118.1429796733367; Thu, 23 Apr 2015 06:45:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.32.74 with HTTP; Thu, 23 Apr 2015 06:45:12 -0700 (PDT) In-Reply-To: <5538D9B0.5020507@lsces.co.uk> References: <5537826A.9010209@gmx.de> <5538881C.8010502@oracle.com> <5538C2A7.4050600@lsces.co.uk> <5538CF4B.5090401@beccati.com> <5538D9B0.5020507@lsces.co.uk> Date: Thu, 23 Apr 2015 16:45:12 +0300 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a11342e0a64babd0514647ef9 Subject: Re: [PHP-DEV] Re: PDO Oracle driver From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a11342e0a64babd0514647ef9 Content-Type: text/plain; charset=UTF-8 My view is that this really needs a good discussion and regardless of the desicions made - resource allocation to move it forward. Whatever the intent was originally for the PDO and and regardless of what the docs say about it, as Christoph has linked and quoted, the reality is PDO is everywhere. Doctrine? Based on PDO. Yii 1/2 ActiveRecord? PDO. Laravel's Eloquent ? PDO again. You get the picture. It's all ponies and rainbows untill you start doing something besides the basic typical website (wich I tend to get more and more nowdays, as my experience growed to a certain level and projects started to get big and serious). At that point you just start to hit those annoyances with the PDO. Thank god I didn't hit a really big snag yet, but it caused me a few headaces and ugly workarounds. I just can't write a standalone script with a different driver (mysqli) in a big application - chances are I need that applications AR models, it's bussiness logic and so on. I even once had to do a major server upgrade just because of the bug in PDO - well, I have to confess it was due anyway in a year's time frame, but works great as illustration to it's problems and how much attention it gets. A lack of basic ping function: I had to emulate it by sending a "SELECT NOW()" request every 30 seconds and make sure my MySQL server has a connection timeout of atleast 60 seconds, so a long running CLI script can do it's job. I do not remember why, but I was unable to reconnect after loosing the connection - it was a while ago and may have changed since then. Still, left a certain impression. Anyway, not to dwell on my ramblings, the situation needs a long overdue discussion. A dealogue with the respective database developers would be helpfull, if not instrumental, in changing things around. Answering to Matteo Beccati's email: Not everyone has C knowlage (nor leared it at any point in their career). On top of that it's databases we are talking about - how many people are able to develop proper drivers for DB's? And not everyone has the funding to sponsor things like these. I certanly nor have the money, nor I know of anyone who I could give the task to do it. I'm from small Baltic country - I do not think we have any brains here that are up to the challenge, atleast I have no idea of anyone even remotly in this country despite my over 10 years in webdev. My thinking is that things like these have to be spearheaded by the respective database developers with the help of the PHP core team and the community. --001a11342e0a64babd0514647ef9--