[PHP] Re: Extra (persistant) tier

2005-06-22 Thread Manuel Lemos
Hello, on 06/20/2005 03:44 PM Evert | Rooftop said the following: Hi, I'm writing a big web application, and trying really hard to seperate business logic and presentation, which been no problem up to now. Because I abstracted the business logic so much the framework became heavier, sometimes

Re: [PHP] Re: Extra (persistant) tier

2005-06-22 Thread Catalin Trifu
Yes, but putting objects into sessions is pretty inefficient and makes no sense for database connection and such, since any resources associated with that object are discarded at script end. Catalin david forums wrote: > > To make persistant object with php use serialize > > and include the

Re: [PHP] Re: Extra (persistant) tier

2005-06-22 Thread Jochem Maas
david forums wrote: To make persistant object with php use serialize and include the object into session. it's the only way with php tell it to Mr. Rethans: http://talks.php.net/show/srm-ffm2004 and also read here to get a better understanding of the possibilities/ limitations: http://ph

Re: [PHP] Re: Extra (persistant) tier

2005-06-22 Thread david forums
To make persistant object with php use serialize and include the object into session. it's the only way with php regards david Le Wed, 22 Jun 2005 14:43:51 +0200, Catalin Trifu <[EMAIL PROTECTED]> a écrit: Hi, Basically you can take your mind off object persistance in PHP

[PHP] Re: Extra (persistant) tier

2005-06-22 Thread Catalin Trifu
Hi, Basically you can take your mind off object persistance in PHP unless you code a C extension yourself which would do such a thing. Besides code accelerators and caching techniques there isn't much to play with; at least none that I know of. Catalin Evert | Rooftop wrote: > H