Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizObject, DataObject, UI and what else?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00302030
Message ID:
00302599
Vues:
28
Stephen:
Thanks for your help, as always.
Guess I should get some book on this eh?

Mahalo,

Mal
P.S. Yes, I'll watch out for those McNakamuras and O'Tokunagas type customers.



>>Hi All:
>>
>>I've been trying to figure out what belongs where.
>>Would appreciate anyone you assistance.
>>
>>BizObject, DataObject, UI(object?) ... are these? Classes(VCX)?
>>Can they be COM Objects (DCOM in the case of DataObject)?
>>
>>Where would something like this go?
>>lcFirstName = PROPER(cFirstname)... BizObject?
>>lnLineTotal = nPrice * nQuantity .. BizObject?
>>If there aren't that many of them, do I just leave it in the form?
>>
>>Do I keep something like this in the Form, or should it be in some kind of an object/class?
>>THISFORM.oRS.FIELDS("FirstName").Value = lcFirstName ... DataObject?
>>
>>I'm having trouble deciding what goes where. Please give me ahint.
>>
>>Thank you,
>>
>>Mal
>
>Forms are for holding visual things as well as bringing in the bizobjects.
>
>Customer data is on a customer form. But the credit check to see if they are within their limit is in the bizobject. That bizobject can be used on an order entry form where if that was coded into a form it woudl be much more work to utilize it separate forms.
>
>>lcFirstName = PROPER(cFirstname)... BizObject?
>
>No, not a bizobject, maybe in a base textbox class for your project. Watch out for those Scottish, and Irish names in Proper() function hell. Mac or Mc will look like crap after proper() runs.
>
>__Stephen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform