|
Posted by "Daevid Vincent" on 10/20/38 11:28
Sadly I thought of doing the same thing only to have my face crapped on by
this extreme lameness:
http://www.php.net/manual/en/ref.session.php
"Some types of data can not be serialized thus stored in sessions. It
includes resource variables or objects with circular references (i.e.
objects which passes a reference to itself to another object). "
If you figure out a way, please let me/us know... *sigh*
> -----Original Message-----
> From: Petr Smith [mailto:pesmail2003@seznam.cz]
> Sent: Wednesday, October 05, 2005 6:11 AM
> To: php-general@lists.php.net
> Subject: [PHP] caching parsed XML files as DOM objects in memory
>
> Hi,
>
> is it possible to cache parsed XML files somehow? I'm writing
> template
> library based on XML. But it's not very efficient to create new
> DomDocument, load XML template, process it and show on every
> page hit.
> XML parsing is not very fast, and because I'm parsing XHTML with
> entities, all DTD's are parsed too. I thought about something
> similar to
> java - there I can have servlet which lives all the time the server
> lives. It can load XML and parse it only for the first time
> and send DOM
> objects to another servlets.
> I need something similar with PHP, can it be done?
>
> Thanks for any ideas,
>
> Petr
>
> ps. I found this project http://www.vl-srm.net/ which maybe can do
> something I need, but it looks dead.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
[Back to original message]
|