« 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

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment