On 7/18/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Sun, July 15, 2007 2:25 pm, Wesley Acheson wrote:
1. Does the answer below mean no global persistant objects?
(Application scope) I guess that it does.
Pretty much, yes.
PHP is more Unix-like in quickly spitting out an answer, rather than
On Sun, July 15, 2007 2:25 pm, Wesley Acheson wrote:
1. Does the answer below mean no global persistant objects?
(Application scope) I guess that it does.
Pretty much, yes.
PHP is more Unix-like in quickly spitting out an answer, rather than
MS-like in having some monolithic answer object
Hi,
At work we use Java so one thing is annoying me. Is there really no
way to create a persistent object in PHP? As far as my understanding
goes each object will be recreated on each and every request.
The reason I was asking is I wanted to create a form object that would
be used as follows.
Wesley,
I too have come from a Java [ and c++ ] background to PHP. fear not; you
can create persistent objects PHP.
although there is no JVM to handle this automatically
object can be persisted by storing their references. the
most natural place to store them is in the session. and if i
Thanks Nathan,
I guess that your answer raises a couple of questions.
1. Does the answer below mean no global persistant objects?
(Application scope) I guess that it does.
2. Is this an un-PHP way of doing things?
3. Is what I'm trying to do even worthwhile or should I just create
each form
Wesley,
1. Does the answer below mean no global persistant objects?
(Application scope) I guess that it does.
No. Files, a database or memory (memcached) can be used to facilitate
application variables.
However, I've been told this is taboo in PHP. Coming from Java I'm sure
youve heard as I
On Sunday 15 July 2007 19:58:09 Wesley Acheson wrote:
Hi,
At work we use Java so one thing is annoying me. Is there really no
way to create a persistent object in PHP? As far as my understanding
goes each object will be recreated on each and every request.
The reason I was asking is I
7 matches
Mail list logo