Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper Encapsulation Techniques?
Message
De
22/09/1998 19:48:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00131613
Message ID:
00139644
Vues:
31
To add, it's called "connascence", meaning litterally "born together". Between elements A and B, connascence is the property by which there is at least one change to A that would necessitate a change in B in order to preserve overall corectness. Great discussion of this in Meillir Page-Jones book What Every Programmer Should Know About Object Oriented Design.


>> If the middle tier is to really isolate the front end from the back end we should be able to change the field names on the backend without needing any changes to the front end. If we are using properties in the middle tier that correspond to the back end field names and the front end is binding to those properties then making a change on the back end requires changes also to both otehr tiers.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform