Re: [PEPr] +1 for Authentication::OpenID
| From: | Josh Hoyt | Date: | Thu, 09 Feb 2006 18:12:11 +0000 |
| Subject: | Re: [PEPr] +1 for Authentication::OpenID | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41273@lists.php.net to get a copy of this message | ||
On 2/9/06, Scott Mattocks <scott@crisscott.com> wrote:
> Now I have a new class that does the same thing as Auth_OpenID except
> uses my implementation of foo(). The class is customized to my needs and
> I didn't have to rewrite tons of code. It isn't a question of how you
> call or use a function/method. It's a question of how easily the class
> can grow and be used by other developers to make something better.
OK. I did not know about PHP's "parent" keyword. Given that, if the
functions are inter-dependent, I can see that there is sometimes be
value in using classes for holding static functions.
Thanks,
Josh