Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with 3-Tier Architecture
Message
De
24/03/2000 10:43:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Help with 3-Tier Architecture
Divers
Thread ID:
00350000
Message ID:
00350000
Vues:
55
I'm creating my first app using a 3-tiered architecture. It's great, but I feel like I'm missing some key elements.

For example, in my interface tier, I have a list box. How would one populate that with data? My first thought was to have the business object query the data object for an array, but then I thought - I'm using VFP, I feel like I should be using views. If only there was some way to pass object references to views in other datasessions (is there?).

My next idea was to create a method in my data object which would actually open the view in the datasession of the form containing the list box. The business tier would tell the data tier which datasession and alias to use, but I hate jumping around data sessions (perhaps an unfounded fear?).

I feel like there are some key concepts I'm missing. Any suggestions?

Also, any suggestions as to good books or articles? I've read both Effective Techniques (Booth and Sawyer) and Advanced OOP for VFP6 (Egger) - both incredible books which catapulted my skills, but neither book is geared strictly towards 3-tier design (though both have solid introductions).

Thanks in advance to anyone who helps!

David Marlin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform