Classes/Objects

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jay Moore

    Classes/Objects

    I hope this isn't asking too much but here goes:

    Can someone explain to me in a simple way on how to use classes, and --
    more importantly -- WHY to use them?

    I'm not a complete rookie to PHP, but I've never really understood classes.

    Please help.

    TIA,
    Jay

  • Nikolai Chuvakhin

    #2
    Re: Classes/Objects

    Jay Moore <address@isp.tl d> wrote in message
    news:<Ld7bb.270 43$eF3.15109@tw ister.rdc-kc.rr.com>...[color=blue]
    >
    > Can someone explain to me in a simple way on how to use classes,[/color]

    Read the PHP Manual: http://www.php.net/oop
    [color=blue]
    > and -- more importantly -- WHY to use them?[/color]

    In short, because (or, actually, if) you believe in superior power of
    object-oriented approach to programming.

    Cheers,
    NC

    Comment

    • Phil Roberts

      #3
      Re: Classes/Objects

      With total disregard for any kind of safety measures Jay Moore
      <address@isp.tl d> leapt forth and uttered:
      [color=blue]
      > I hope this isn't asking too much but here goes:
      >
      > Can someone explain to me in a simple way on how to use classes,
      > and -- more importantly -- WHY to use them?
      >
      > I'm not a complete rookie to PHP, but I've never really
      > understood classes.
      >
      > Please help.
      >
      > TIA,
      > Jay
      >[/color]



      --
      There is no signature.....

      Comment

      Working...