Re: cvs: php-src /ext/xmldbx CREDITS config.m4 php_xmldbx.h sessionxml.php xmldbx.c xmldbx.h xmldbx.php

From: Date: Mon, 30 Jan 2006 17:24:58 +0000
Subject: Re: cvs: php-src /ext/xmldbx CREDITS config.m4 php_xmldbx.h sessionxml.php xmldbx.c xmldbx.h xmldbx.php
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36678@lists.php.net to get a copy of this message
> On Sat, 28 Jan 2006, Ilia Alshanetsky wrote: > >> Why was this committed to core and not to pecl, as is the procedure for >> all >> new extensions? > > Yes, indeed... why is was this suddenly committed to core?! > Sorry about that but I tried a few weeks ago to as ask a question of php-dev and noone responded. Anyway, what is the procedure for future reference? Why I think this warrents core? OK, for a long time I have been trying to use PHP session data in something other than PHP, like a database or other application. I have have similar conversations with a lot of people on this very subject. The responses were "that would be sweet" and "cool" and so on. I tried to use wddx, but it didn't work with all PHP applications. I tried to work on it, but I would have had to alter it so much that it probably wouldn't work for the original authors purposes, so I decided to rewrite the whole damn thing, and have done so in xmldbx. Now, the reasons I see: (1) I have seen a great deal of desire (not just from me) to have a working XML session format for PHP. (2) Wddx, while obviously a great deal of work, it falls short of providing a workable solution. (3) XMLDBX fully supports PHP data serialization, including references. (4) XMLDBX exports two functions xmldbx_serialize and xmldbx_deserialize, similar to the PHP serializer, that can be used to cache class and array information to your database of choice. (5) A serialize extension is closely tied to the internals of PHP, more so than less directly related extensions.

« previous php.cvs (#36678) next »