Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] [RFC] Extended String Types For PDO

Posted by Adam Baratz 
Lester Caine
Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO
March 20, 2017 01:00AM
On 19/03/17 23:11, Rowan Collins wrote:
>> Sorry but I just don't agree with that. We are talking about a feature
>> for PDO that not many voters is interested in. That's completely
>> different than a language change. The interest in other core
>> extensions is often the same.
>
> Fair points. I'm not sure the RFC process as a whole works well for
> specialist decisions - the same has come up with very technical Engine
> changes.

While PDO has gained some traction and some projects have switched over
to it, it would be useful to see what percentage of users do actually
take the PDO route and and those that still stay with other abstraction
options or remain with the generic drivers. My own preference is still
to ignore it as a base and stick with ADOdb, which does seem to be
growing again in support, but many projects have their own abstraction
layers which don't rely on PDO or for the likes of things like wordpress
only support MySQL anyway so don't need a cross database layer.

None of the 'improvements' added to PDO recently do anything to improve
it's standing, it still lacks a real reason for existing ...

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Marco Pivetta
Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO
March 20, 2017 01:30AM
On Mon, Mar 20, 2017 at 12:57 AM, Lester Caine <[email protected]> wrote:

> On 19/03/17 23:11, Rowan Collins wrote:
> >> Sorry but I just don't agree with that. We are talking about a feature
> >> for PDO that not many voters is interested in. That's completely
> >> different than a language change. The interest in other core
> >> extensions is often the same.
> >
> > Fair points. I'm not sure the RFC process as a whole works well for
> > specialist decisions - the same has come up with very technical Engine
> > changes.
>
> While PDO has gained some traction and some projects have switched over
> to it, it would be useful to see what percentage of users do actually
> take the PDO route and and those that still stay with other abstraction
> options or remain with the generic drivers. My own preference is still
> to ignore it as a base and stick with ADOdb, which does seem to be
> growing again in support, but many projects have their own abstraction
> layers which don't rely on PDO or for the likes of things like wordpress
> only support MySQL anyway so don't need a cross database layer.
>
> None of the 'improvements' added to PDO recently do anything to improve
> it's standing, it still lacks a real reason for existing ...
>

Given that most installs of Doctrine DBAL (80%+) rely on PDO MySQL, that's
quite a lot of users: https://packagist.org/packages/doctrine/dbal/stats

PDO is currently the leading DB abstraction in PHP projects, regardless of
how horrible its API is.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/
Lester Caine
Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO
March 20, 2017 02:40AM
On 20/03/17 00:25, Marco Pivetta wrote:
> Given that most installs of Doctrine DBAL (80%+) rely on PDO MySQL, that's
> quite a lot of users: https://packagist.org/packages/doctrine/dbal/stats
>
> PDO is currently the leading DB abstraction in PHP projects, regardless of
> how horrible its API is.

https://w3techs.com/technologies/overview/content_management/all
Where does Doctrine fit into that picture?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Matteo Beccati
Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO
March 20, 2017 01:50PM
On 18/03/2017 12:29, Marco Pivetta wrote:
> Wait, when was the vote opened? I didn't receive any notification of that
> (and therefore didn't vote yet), and we were still telling you in this
> thread that there are fundamental conceptual issues with the backing
> reasoning.

Ha! I was wondering why you didn't vote just yet and here's the answer.


Cheers
--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login