daveespo/Viewpoint — comment on commit b6223f388ea947db21e145403ec12cbe338e7cd4
File:  line 0
By zenchild:

Thanks again Dave. It's probably going to be January before I can review the code.

In response to your e-mail, I agree 100% that the Singleton pattern is a pain in this instance. Unfortunately that is driven by the back-end Handsoap. Handsoap is implemented on top of a Singleton pattern and thus so is Viewpoint. When I wrote Viewpoint it was originally SOAP4r and when Handsoap came out I jumped at it, perhaps a bit too prematurely. I have some plans drawn up for a 2.x version of Viewpoint that completely goes away from Handsoap and at that time it will no longer be neutered as such.

Cheers,

Dan