Re: Re: Re: [PECL-DEV] New PHP extension for Win32

From: Date: Tue, 19 Oct 2004 21:32:29 +0000
Subject: Re: Re: Re: [PECL-DEV] New PHP extension for Win32
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1486@lists.php.net to get a copy of this message
On Tue, 19 Oct 2004 14:20:47 +0200, Tomas Pavlicek <tomas.pavlicek@atlas.cz> wrote: > For these resons I would like to leave the design of the Winreg module > unmodified. We could solve the problem by incorporating whole Winreg > module into Win32std and (because it is a superset of Win32std > registry functions) either leave the existing functions untouched, > just marking them superceded, or map their functionality to Winreg > counterparts to avoid the duplicities in the code. This option feels nicer to me for BC purposes; we can mark the old API as deprecated and keep it around for a little while, and then transition to your third option and drop them out in the next major release for that extension (2.0), as per the versioning rules (thou shalt not break BC in the API of a package unless you also change the major version number). > In future I would really like to include some kind > of registry support directly in the standard Win32 PHP distribution. > The access to registry is very important on Windows platform and can be > compared with files access on *nix systems. Yes, it is important, but I don't think it should be in the core. If the win32std extension gets to be extremely popular we can include the DLL in the download, but to be honest, there is not much difference between putting it there and putting it in the pecl download .zip file that is available alongside it. Don't forget that you can use the COM extension to gain access to the registry; this has the added advantage (some might disagree :-) of being something that commercial anti-virus products can hook into and use to protect the end-users system from malicious scripts. --Wez.

« previous php.pecl.dev (#1486) next »