I'm working on my first OO application and wanted to make sure I wasn't breaking any OO doctrines. I have a singleton object loaded into the application scope which has settings that tell many of the other objects what to do. So, would it be so bad to reference that singleton directly in the other objects. Like: application.singleton.getSomeValue(), or should I pass in a copy of the singleton to the other objects and let them work from it within the arguments scope.
I would really appreciate your experience and words of wisdom. Thanks Daniel Elmore ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
