I could have sworn seeing an idiom like Class::Method() to execute static
methods in PHP4


----- Original Message -----
From: "Leon Atkinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 9:33 AM
Subject: Re: [FreeTrade-dev] OOP


> > Leon, I thought I read somewhere here or there that someone was
> considering
> > implementing classes in FT.
> >
> > I am sure you've been there mentally and I'm interested in your
thoughts.
> > Are the performance issues too great?  Is there still a maturity issue
> with
> > class handling in PHP?  Maybe it would just be a helluva lot of work....
>
> Well, Nick commented on how the use of includes in FT fits with an
> object-oriented design.
>
> PHP doesn't really have proper classes, and may not ever.  There are
several
> missing features, and I suppose the worst is the lack of static methods
(to
> use Java terminology).  This allows a method to be global and even used
> outside of instantiating a class.  If you check out this month's column on
> Zend, you'll see how I got around it while trying to implement the
singleton
> pattern.
>
> I can't come up with a good argument for trying to convert all parts of
> FreeTrade to using classes, but it's something to consider.  I suspect it
> will only be annoying to convert things like screen/action/navigation
> modules.  Some of the utility functions might wrap up into objects nicely.
> For example, you could have a table object that you kept putting row
objects
> into.  In the grand scheme of things, though, it probably wouldn't add
much.
>
> Leon
>
>
> _______________________________________________
> FreeTrade-dev mailing list
> [EMAIL PROTECTED]
> http://share.whichever.com/mailman/listinfo/freetrade-dev

_______________________________________________
FreeTrade-dev mailing list
[EMAIL PROTECTED]
http://share.whichever.com/mailman/listinfo/freetrade-dev

Reply via email to