NYCPHP Meetup

NYPHP.org

[nycphp-talk] More questions about working with forms

Kenneth Downs ken at secdat.com
Fri Dec 14 14:10:06 EST 2007


I have actually seen it in several cases, and it took me by surprise.  I 
have been meaning to do some tests one of these days....

David Krings wrote:
> John Campbell wrote:
>>> Is there anything drastically flawed with my approach?
>>>
>>
>> Since you understand the pitfalls of your approach and choose to do it
>> that way it is not a problem.  You are also using sessions to prevent
>> repeated hits to the database for "performance reasons".  Don't do
>> that. It typically makes performance worse because session data must
>> be serialized and written to disk on every request even if the data
>> doesn't change.
>
> So you are saying that a database access is faster than a file access? 
> I find that hard to believe, but do not have any evidence of the 
> contrary.
>
> David
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php


-- 
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com    www.andromeda-project.org
631-689-7200   Fax: 631-689-0527
cell: 631-379-0010




More information about the talk mailing list