[wp-docs] Singleton Glossary Term

Kaf Oseo kaf at szub.net
Tue Jan 20 13:24:10 GMT 2009


Why not remove it from the glossary?

It's not a term you find in even infrequent use among the WordPress 
community. A correct definition might only confuse things just as much. 
Do we even have an example of the Singleton pattern in use in the WP 
framework?

-Kaf

Jacob Santos wrote:
> After getting my ass spanked on my own blog for screwing up [2] the 
> definition for Singleton, I've decided to fix the Glossary Term [1]. It 
> is interesting that class patterns would be part of the WordPress Codex, 
> figuring that while most class patterns are possible in PHP4, it is 
> usually not as well defined as it should be by using an language that 
> actually supports the proper constructs to implement the pattern correctly.
> 
> If anyone wants to rewrite the glossary term to remove the erroneous 
> example(s), then they can be my guest.
> 
> Jacob Santos



More information about the wp-docs mailing list