Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1017 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32432 invoked from network); 23 Apr 2003 16:13:42 -0000 Received: from unknown (HELO idoru.deadmime.org) (141.157.76.196) by pb1.pair.com with SMTP; 23 Apr 2003 16:13:42 -0000 Received: from deadmime.org (localhost [127.0.0.1]) by idoru.deadmime.org (8.12.9/8.12.2) with ESMTP id h3NGDtE3002184; Wed, 23 Apr 2003 12:13:58 -0400 (EDT) Date: Wed, 23 Apr 2003 12:13:54 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: internals@lists.php.net To: Alan Knowles In-Reply-To: <3EA68B4B.10209@akbkhome.com> Message-ID: <94135C80-75A6-11D7-83F3-000393121960@deadmime.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Subject: Re: [PHP-DEV] wddx class mapping and pretty print From: dank@deadmime.org (Dan Kalowsky) References: <3EA68B4B.10209@akbkhome.com> On Wednesday, April 23, 2003, at 08:47 AM, Alan Knowles wrote: > On one of those - xml is too difficult stints, I started thinking > about using wddx as a generic storage system - perhaps thinking about > things like MDB's data structure and the ability to load data.. > > I'm still thinking that it would be nice for wddx_deserialize to > accept a stream - hence allowing the processing of huge xml files with > minimal memory penalty.. > > This patch does 2 things. > > a) a deserialize class mapping - so you can map stored classes into > different instantation classes. (usefull when you dont have the > original - or just want to map it to something else. - eg use the data > with an extended class. While I can't see myself using this it could be useful... once or twice. > b) pretty printing of the xml so that it could be hand edited if > need.. - or just semi-human readable.. This I like. Patch didn't look too bad either. >---------------------------------------------------------------< Dan Kalowsky "Momma take this badge offa me, http://www.deadmime.org/~dank I can't use it anymore." dank-nom@aps-deadmime.org - "Knockin on Heavens Door", kalowsky@php.net Bob Dylan