Re: Re: PDO Oracle driver
| From: | Arvids Godjuks | Date: | Thu, 23 Apr 2015 14:14:17 +0000 |
| Subject: | Re: Re: PDO Oracle driver | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85929@lists.php.net to get a copy of this message | ||
2015-04-23 17:02 GMT+03:00 Pierre Joye <pierre.php@gmail.com>:
>
> On Apr 23, 2015 8:45 PM, "Arvids Godjuks" <arvids.godjuks@gmail.com>
> wrote:
> >
> > 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.
>
> Not being in core is an issue with PDO. Sqlsrv is in pecl, maintained, and
> support both "native" and PDO.
>
I do not think it's a "in core" vs "in pecl" issue at all. It's the
fact
that that it is data objects and it was new back in the day - the adoption
of it was lightning fast. It was easy to make an abstraction over it, it
fit to major patterns, like AR, like a glove.
Besides, installing DB modules for PHP under ubuntu is done by hand - it's
not built into the "php5" package.