Re: Serialization v. Database Write/Read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Markwaitling,
I think serialization and unserialization
is better when you compare resource
mgt and time. 
Using the database first you have to
consider read/write, secondly resource
consumption on to/fro database, ideally
whatever you have in your database
that has already been validated should
not be sent back to the db except
for comparison.

Hope this helps.

Osagie Samuel E
ICT, University of Abuja,
FCT - Abuja 
Nigeria.
+234 7032880195
+234 7025415009
skype : osagiesammy
--- In php-objects@xxxxxxxxxxxxxxx, "markwatling@..." <markwatling@...> wrote:
>
> Hi All
> 
> Looking at moving object data between pages within a session, does anyone know which is more efficient, in resource management and time, serializing & unserializing the object to/from a session variable or writing the object to the database and reading back on the new page.
> 
> Thanks
> 
> Mark
>


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux