Reply to caching parsed XML files as DOM objects in memory

Your name:

Reply:


Posted by Petr Smith on 10/19/78 11:28

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация