> Hi,
>
> am Wednesday 23 July 2003 11:48 schrieb Joel Rees:
>
> > (You know that $accesses->count and $accesses->resetCounter() are at
> > least declared in the same class declaration. $accesses_count and
> > accesses_resetCounter() could be declared in entirely unrelated include
> > files for e
Hi,
MM> troll. :)
MM> Execution speed is most definitely /not/ all that matters, though it
MM> really depends on the situation. It is often cheaper to throw
MM> CPU/storage/RAM at a problem than it is to spend more developer time,
MM> especially when one of the considerations is future maintenanc
>> Execution speed isn't all that matters. In fact, speed is not the point
>> at all.
>
>Then you must be an PHPNuke or Typo3-programmer, beeing lucky to get at
>least 1 request per second ;). Don't take it hard, but If you had ever
>been in computer-science [school|college|...] you would know tha
Hi,
am Wednesday 23 July 2003 11:48 schrieb Joel Rees:
> (You know that $accesses->count and $accesses->resetCounter() are at
> least declared in the same class declaration. $accesses_count and
> accesses_resetCounter() could be declared in entirely unrelated include
> files for entirely differen
> Say I have a database class with all kinds of functions for connection,
> data manipulation, errors, etc:
>
> $db = new db_sql;
> $db->connect();
> $db->do_this();
> $db->do_that();
>
> How would that be different from an include file with a bunch of functions
> doing the same thing?
As far
Whether it's the right move or not, I've put off my learning of PHP
classes and OOP methods until PHP5.x, so I guess the time in near :)
However, *especially* if you're the only programmer on a project, you
can take the ideas & benefits behind OOP (for me, having clear, clean
code that can be r
Thanks to all for your input.
Regards, Andu Novac
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Saturday, July 19, 2003, 7:08:55 AM, you wrote:
A> This may show my ignorance or my refusal to take for granted something I
A> don't fully understand but I have a hard time figuring out the advantage of
A> using classes as opposed to just functions. I am certainly new to php and
A> at first
Andu <[EMAIL PROTECTED]> wrote:
>
>
> --On Friday, July 18, 2003 14:28:02 -0700 Chris Shiflett <[EMAIL PROTECTED]>
> wrote:
>
> >--- Andu <[EMAIL PROTECTED]> wrote:
> >>This may show my ignorance or my refusal to take for granted
> >>something I don't fully understand but I have a hard time
> >
On Fri, 2003-07-18 at 18:19, Andu wrote:
>
> Say I have a database class with all kinds of functions for connection,
> data manipulation, errors, etc:
>
> $db = new db_sql;
> $db->connect();
> $db->do_this();
> $db->do_that();
>
> How would that be different from an include file with a bunch of
--On Friday, July 18, 2003 14:28:02 -0700 Chris Shiflett <[EMAIL PROTECTED]>
wrote:
--- Andu <[EMAIL PROTECTED]> wrote:
This may show my ignorance or my refusal to take for granted
something I don't fully understand but I have a hard time
figuring out the advantage of using classes as opposed t
Chris Shiflett wrote:
> --- Andu <[EMAIL PROTECTED]> wrote:
> > This may show my ignorance or my refusal to take for granted
> > something I don't fully understand but I have a hard time
> > figuring out the advantage of using classes as opposed to just
> > functions.
>
> They are entirely diffe
--- Andu <[EMAIL PROTECTED]> wrote:
> This may show my ignorance or my refusal to take for granted
> something I don't fully understand but I have a hard time
> figuring out the advantage of using classes as opposed to just
> functions.
They are entirely different. While OO fans will find my over-
This may show my ignorance or my refusal to take for granted something I
don't fully understand but I have a hard time figuring out the advantage of
using classes as opposed to just functions. I am certainly new to php and
at first sight classes seemed to cut a lot of corners but so do functions
14 matches
Mail list logo