Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Biz Objects..create programatically or with Class builde
Message
From
03/01/2001 11:38:22
 
 
To
03/01/2001 06:41:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00458828
Message ID:
00458957
Views:
25
>I am considering using a business object for part of an app.
>I could write the entire biz object programmatically I guess (with additional work!) , but then I would be left with the problem of getting the class visible in my class library.

Hi, Mark.

What problem ddo you have writing your class as a PRG? My election for bizobjects has been Session Objects since they exists. Before that, we used our own custom class that was based in a line indeed.

Session objects are lighweight and give you the benefit of isolating your datasession. They are good as COM servers, too.

Actually we have a session subclass that represents our abstract classes, and another subclass level for the bizobjects. From that last we subclass the actual REAL ones (customer, product, and so on).

This give you a lot of flexibility.

I don't understand what do you mean with "getting the class visible in my class library". Of course, with a PRG based class you don't have it in the class toolbar, but you can instantiate it with CreateObject or AddObject.

My 2 pesos.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform