Reply to cache xml objects in php5

Your name:

Reply:


Posted by Kevin Wang on 09/27/05 04:21

Hi All,

My php5 web application needs to parse/marshall a bunch of large xml files into
php5 objects at the beginning of handling each request. These xml files are
static across all the requests and it is really time consuming to
parse/marshall them into php5 objects.

I am wondering if there is any means to cache these xml objects so that each
request will not go through the same time consuming xml parsing/building
operation. Serialization doesn't work in my case as deserialization is also
very expensive.

I am using Apache as the web server. What I am thinking is that if php5 allows
us to keep certain objects (and their references) around across all the
requests in a child process instead of cleaning all the object memory every
time after a script/request is finished.

I guess this problem is quite common for any large and complicated php
applications.

Thanks.

-- Kevin




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

[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

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