You are here: Re: [PHP] Persistance objects + importing « PHP « IT news, forums, messages
Re: [PHP] Persistance objects + importing

Posted by Jochem Maas on 01/17/05 17:45

daniel@electroteque.org wrote:
> Hi list, I am needing some advise on the best way of importing classes and
> persistance, I am goingto supply some code, and would like to know if sessions or share memory is
> the best way for it.It currently serializes and unserializes the class from a session , i

speed depends partly on which mechanism you use to store serialized
data. one technique I sometimes use is to just uses files as the
serialization storage mechanism and mount the php tmp dir in RAM (which
means you need a fair ammount of RAM otherwise you'll be cutting into
your processing capabilities causes major slowdown).

> parse the directory and classusing pear naming standards, i can also send args to it. Let me know if
> there is a better way ofdoing this, as from the talk serializing is also slow. I wonder if this
> bit of code could ever becomea php extension ?? That would rock.
>

....

 

Navigation:

[Reply to this 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

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