Welcome Guest, Not a member yet? Register   Sign In
Best Practice for instantiating classes in Libraries that are non-singletons?
#6

[eluser]glopv2[/eluser]
Thanks Jelmer!

Incidentally, is there any way to suppress the first instance?

It seems like in design patterns like mine it would be a waste of resources to have $this->rss_reader lounging around in memory somewhere. Is this a rare problem?


Messages In This Thread
Best Practice for instantiating classes in Libraries that are non-singletons? - by El Forum - 06-14-2010, 03:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB