|
Posted by Steve JORDI on 11/30/06 10:57
Kimmo,
Thanks for your prompt reply,
>PHP4 is not the best platform for OOP. PHP5 has much more sophisticated
>object handling.
Yes I know but for now I have no choice but to use the existing PHP 4
in the company.
>I'm guessing you have a C++
Correct :-)
>The request/response architecture is quite different from a desktop
>application. A variable will not be available thru two different
>page calls unless it's stored as a session variable.
Mhhh... Interresting.
>Otherwise, each page call should be concidered as restarting an
>application and at the end of the page all variables are
>destroyed except for session variables.
OK.
>First I encourage you to go for php version 5, you'll get much more out of
>the classes and objects. Next thing you should do is learn how sessions
>work.
Ok I will check session matters. Thanks for the hint.
>And then finally, check out the singleton example at php.net:
>http://www.php.net/manual/en/language.oop5.patterns.php
Yes, I've seen it, but it's for PHP 5 which I can't use right now.
Thanks for your help.
Sincerely,
Steve JORDI
(Remove the K_I_L_LSPAM from my email address)
------------------------------------------------
1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com
Switzerland WWW: www.sjordi.com
------------------------------------------------
Volcanoes at www.sjordi.com/volcanoes
MovieDB at www.sjmoviedb.com
------------------------------------------------
Navigation:
[Reply to this message]
|