Environment versions
Network:
Windows 2000 Server
"Program to the interface, not the implementation"
It will enter in my head someday... ;)
Thanks
>More like create an Interface Class which is implemented by all your concrete classes. Your Factory Object will have a static method which creates an instance of the conrete class but returns it as the Interface Class.
>
>This way your client application doesn't have to have a reference to the actual class but instead has a reference to the interface class. Regardless of how many differenct versions or implementations of your concrete class you have (providing that you're interface never changes) you'll never have to deploy to your client.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only