Re: Serialization v. Database Write/Read
Hi Markwaitling,I think serialization and unserializationis better when you compare resourcemgt and time. Using the database first you have toconsider read/write, secondly resourceconsumption on to/fro database, ideallywhatever you have in your databasethat has already been validated shouldnot be sent back to the db exceptfor comparison.
Hope this helps.
Osagie Samuel E
ICT, University of Abuja,
FCT - Abuja
Nigeria.
+234 7032880195
+234 7025415009
skype : osagiesammy
--- On Sun, 6/10/12, markwatling@xxxxxxxxx <markwatling@xxxxxxxxx> wrote:
From: markwatling@xxxxxxxxx <markwatling@xxxxxxxxx>
Subject: Serialization v. Database Write/Read
To: php-objects@xxxxxxxxxxxxxxx
Date: Sunday, June 10, 2012, 12:05 AM
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
[Non-text portions of this message have been removed]
[PHP Home]
[PHP Users]
[PHP Soap]
[Kernel Newbies]
[Yosemite]
[Yosemite Campsites]