Re: [PHP] PHP vs. ColdFusion

2005-07-04 Thread Stéphane Bruno
On Fri, 2005-07-01 at 19:01, Mark Charette wrote: > It is always funny to read that one needs OO approches to do anything > useful. What one needs is a modular approach, re-factoring, and knowing I never said that you NEED OO approach to do anything. I found some problems where an OO approach he

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Stéphane Bruno
Hello, I followed the discussions closely. I wanted to reply to some questions I saw in the discussions. I am using both PHP and Coldfusion, but both on Linux platforms. So, I am not bound to Microsoft technologies, and CF runs faster on Linux/Unix than on Windows. Like PHP, there is no need for

Re: [PHP] _construct() problem

2005-06-09 Thread Stéphane Bruno
Thanks, Richard It now works. It was not obvious in the book I was using. The author should have put a side note stating it is two underscores instead of one. Stéphane On Thu, 2005-06-09 at 08:42, Richard Davey wrote: > Hello Stéphane, > > Wednesday, June 8, 2005, 10:23:22 PM, you wrote: > > S

[PHP] _construct() problem

2005-06-09 Thread Stéphane Bruno
Hello, I designed a "player" class with the following properties and constructor: class player { private $properties = array('firstname' => NULL, 'lastname' => NULL); function _construct($first, $last) { $this->properties['firstname'] = $first; $this->properties['lastname'] = $last;

[PHP] _construct() problem

2005-06-09 Thread Stéphane Bruno
Hello, I designed a player class with the following properties and constructor: class player { private $properties = array('firstname' => NULL, 'lastname' => NULL); function _construct($first, $last) { $this->properties['firstname'] = $first; $this->properties['lastname'] = $last; }