On Thu, 2008-02-14 at 15:21 -0500, Eric Butera wrote: > On Thu, Feb 14, 2008 at 3:07 PM, Richard Lynch <ceo@xxxxxxxxx> wrote: > > On Thu, February 14, 2008 11:10 am, Eric Butera wrote: > > > Just FYI the static keyword was quite popular in PHP4 for the > > > singleton pattern. You could do something like: > > > > I have used and will continue to use the static keyword in functions, > > and will most likely never use a class in PHP... > > > > If a website is complicated enough to need a class hierarchy, then > > something is wrong in your Design. :-) :-) :-) There's something wrong with re-usable components that are extended as separate classes? Weird, I thought that was half the purpose of OOP. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php