Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use an Event Object to Import Data?
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00453014
Message ID:
00453415
Views:
22
Chris,

Cathi's right (as usual) about this...

The order in which methods are called on business objects falls under the category of "business logic". You *could* place the calls to these different methods and objects directly in the UI, but if you replace your VFP UI (i.e. when creating a web application) this business logic gets thrown out too...this requires you to replicate this logic in your web app...and if the logic changes (new or different methods need to be called) you now have two places that you need to make the change.

However, if you use an Event object to encapsulate this logic, it can be used both from the desktop and the Internet.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform