Information générale
Catégorie:
Programmation Orientée Object
Titre:
Encapsulation and enviroment
Dear All!
I am on rewrite my semi-OO application to meet the closest criteria of OOP.
My first big problem I faced, how to give the info to my BusinessObjects about envirometal data (e.g.: path of database files, ... etc.)
I identified two main algorythm:
passing the an object parameter to init method
creating the enviroment object internally
Which one fits best into the world of OOP?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement