« My take on the CFC "inheritance" tax. | Main | More Singletons, more problems... »

Comments

mariusj

Hi, 2 questions :
1.so, we have getSingleton() and init();
the idea is that first time initshould be called and afterwords getSingleton().. to minimize the uninitialized objects created ? .. because usually in OO PL the pattern is called with getInstance() all the time;
2.if it's used in the application scope .. and somebody is using it and somebody else want's it ..i suppose it has to wait for the other to end and then it will be available for him;don't you think that maybe it's better to use the session scope ?

Thank you

The comments to this entry are closed.