M
Marko Myllymäki
Guest
I found this old thread after reading Tom Bascom's presentation slides about static classes: http://pugchallenge.eu/images/2014pdfs/tom_bascom_stop_shared_variables.pptx We have been using the same approach for replacing shared variables with static properties. However, now I started to wonder if we should use a singleton class instead. In OE 11.4 you can pass an object as a parameter between client and AppServer. Using singleton, we could send this singleton object to AppServer but the same can not be done with a static class. So, if we need to access the same common values both in AppServer and client, using a singleton pattern might be useful. Any thoughts?
Continue reading...
Continue reading...