H
howachen
Consider the following example:
E.g.
Use a class to load configuration data from database at application
startup, anywhere in the application should be able to access the
configuration information as they are needed.
This example is a classic example of using static class or singleton
plattern, isn't?
Which one you prefer ? Singleton or Static ?
Thanks...
E.g.
Use a class to load configuration data from database at application
startup, anywhere in the application should be able to access the
configuration information as they are needed.
This example is a classic example of using static class or singleton
plattern, isn't?
Which one you prefer ? Singleton or Static ?
Thanks...