Re: wddx class mapping and pretty print
| From: | Dan Kalowsky | Date: | Wed, 23 Apr 2003 16:13:54 +0000 |
| Subject: | Re: wddx class mapping and pretty print | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1017@lists.php.net to get a copy of this message | ||
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