Re: [PHP-DEV] PDO subclass names

2024-05-23 Thread Matteo Beccati
Hi, Il 23/05/2024 04:45, Saki Takamachi ha scritto: Hi all, If there are no other comments, I'll update this to master. +1 Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/

Re: [PHP-DEV] PDO subclass names

2024-05-22 Thread Saki Takamachi
Hi all, If there are no other comments, I'll update this to master. (There seems to be a discussion going on about class names at the moment, but that goes against the Namespaces RFC and is therefore off-topic for this discussion. If you want to change this, you need to have a separate

RE: External Message: Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Jeffrey Dafoe
> > This would allow people to use MariaDB and MySQL-specific functionality by > using the respective driver namespace and remove any confusion about if this > works with both or only one of them. > > > > I know it seems to be out of scope, but this deals with PDO subclass names > and this seems

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Calvin Buckley
On Apr 30, 2024, at 8:07 AM, Arvids Godjuks wrote: > On Tue, 30 Apr 2024 at 12:07, Matteo Beccati wrote: > Hi, > > > > If MariaDB wants to maintain a specific PDO Driver they can do so > > themselves and publish it on PECL, same as how CUBRID (and others) does > > currently. > > That is

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Saki Takamachi
Hi Arvīds, > I wasn't proposing rolling a separate driver or anything like that, just an > alias that would reserve a namespace for MariaDB and if there's ever a need > to actually roll the driver, that alias be replaced with actual driver. > The thing is at this point MySQL and MariaDB have a

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Arvids Godjuks
On Tue, 30 Apr 2024 at 12:07, Matteo Beccati wrote: > Hi, > > > > If MariaDB wants to maintain a specific PDO Driver they can do so > > themselves and publish it on PECL, same as how CUBRID (and others) does > > currently. > > That is true, however it's mysqlnd the part that deals with the

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Matteo Beccati
Hi, Il 29/04/2024 15:10, Gina P. Banyard ha scritto: On Tuesday, 23 April 2024 at 15:59, Arvids Godjuks wrote: A thought crossed my mind, considering that MariaDB and MySQL are drifting more and more apart with features and nuances of how they work, would it be a good idea to create an

Re: [PHP-DEV] PDO subclass names

2024-04-29 Thread Gina P. Banyard
On Tuesday, 23 April 2024 at 15:59, Arvids Godjuks wrote: > A thought crossed my mind, considering that MariaDB and MySQL are drifting > more and more apart with features and nuances of how they work, would it be a > good idea to create an alias to MySQL PDO driver under MariaDB name so we

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Robert Landers
On Tue, Apr 23, 2024 at 3:22 PM Stephen Reay wrote: > > > Sent from my iPhone > > > On 23 Apr 2024, at 22:35, Bilge wrote: > > On 23/04/2024 10:25, Stephen Reay wrote: > >> The argument that "Client" is meaningless becomes pretty moot when you > >> realise that you can import a *namespace* and

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Arvids Godjuks
A thought crossed my mind, considering that MariaDB and MySQL are drifting more and more apart with features and nuances of how they work, would it be a good idea to create an alias to MySQL PDO driver under MariaDB name so we can create a MariaDB specific implementation down the road and so

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Stephen Reay
 Sent from my iPhone > On 23 Apr 2024, at 22:35, Bilge wrote: > On 23/04/2024 10:25, Stephen Reay wrote: >> The argument that "Client" is meaningless becomes pretty moot when you >> realise that you can import a *namespace* and use it relatively, if you so >> wish: >> ``` >> import

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Stephen Reay
Sent from my iPhone > On 23 Apr 2024, at 22:35, Bilge wrote: > On 23/04/2024 10:25, Stephen Reay wrote: >> The argument that "Client" is meaningless becomes pretty moot when you >> realise that you can import a *namespace* and use it relatively, if you so >> wish: >> >> ``` >> import

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Bilge
On 23/04/2024 10:25, Stephen Reay wrote: The argument that "Client" is meaningless becomes pretty moot when you realise that you can import a *namespace* and use it relatively, if you so wish: ``` import MyLib\HTTP; $a = new HTTP\Client(...); ``` Hi Stephen, Granted, but I also believe

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Stephen Reay
Sent from my iPhoneOn 23 Apr 2024, at 19:26, Lynn wrote:On Tue, Apr 23, 2024 at 11:26 AM Stephen Reay wrote:Sent from my iPhoneOn 23 Apr 2024, at 18:21, Lynn wrote:On Tue, Apr 23, 2024 at 10:21 AM Bilge wrote:On 21/04/2024

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Saki Takamachi
Hi all,On Tue, Apr 23, 2024 at 11:26 AM Stephen Reay wrote:Sent from my iPhoneOn 23 Apr 2024, at 18:21, Lynn wrote:On Tue, Apr 23, 2024 at 10:21 AM Bilge wrote:On 21/04/2024 14:00, Saki Takamachi wrote: > Hi internals, > >

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Lynn
On Tue, Apr 23, 2024 at 11:26 AM Stephen Reay wrote: > > Sent from my iPhone > > On 23 Apr 2024, at 18:21, Lynn wrote: > >  > > > On Tue, Apr 23, 2024 at 10:21 AM Bilge wrote: > >> On 21/04/2024 14:00, Saki Takamachi wrote: >> > Hi internals, >> > >> > Recently I've been working on an RFC

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Stephen Reay
Sent from my iPhoneOn 23 Apr 2024, at 18:21, Lynn wrote:On Tue, Apr 23, 2024 at 10:21 AM Bilge wrote:On 21/04/2024 14:00, Saki Takamachi wrote: > Hi internals, > > Recently I've been working on an RFC regarding object support for BCMath. While working on that, I learned

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Lynn
On Tue, Apr 23, 2024 at 10:21 AM Bilge wrote: > On 21/04/2024 14:00, Saki Takamachi wrote: > > Hi internals, > > > > Recently I've been working on an RFC regarding object support for > BCMath. While working on that, I learned of the following RFC: > >

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Bilge
On 21/04/2024 14:00, Saki Takamachi wrote: Hi internals, Recently I've been working on an RFC regarding object support for BCMath. While working on that, I learned of the following RFC: https://wiki.php.net/rfc/namespaces_in_bundled_extensions If we follow this RFC, is it reasonable to place

Re: [PHP-DEV] PDO subclass names

2024-04-23 Thread Matteo Beccati
Hi Saki, Il 21/04/2024 15:00, Saki Takamachi ha scritto: Hi internals, Recently I've been working on an RFC regarding object support for BCMath. While working on that, I learned of the following RFC: https://wiki.php.net/rfc/namespaces_in_bundled_extensions If we follow this RFC, is it

[PHP-DEV] PDO subclass names

2024-04-21 Thread Saki Takamachi
Hi internals, Recently I've been working on an RFC regarding object support for BCMath. While working on that, I learned of the following RFC: https://wiki.php.net/rfc/namespaces_in_bundled_extensions If we follow this RFC, is it reasonable to place subclasses of PDO under the namespace "PDO”?