Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using MM
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00472385
Message ID:
00472390
Views:
39
Hi Ed,

I'm sure that Kevin and others will jump in with more authoritative answers to your questions, but in the meantime...

>Then I could create the forms by dropping business objects and events on the form? Do I have these concepts correct?

I haven't used the Event Objects yet, but my thought is that if anything, the business objects would have methods that instantiate and tell the Event Objects to do their "thing".

You are correct in your inference about how forms would be created... you indeed drop business objects on them.

I personally like to do some pre-enforcing of business rules at the UI level as well as through business rules attached to my bizobjs. If I have the ability to give the user instant feedback (i.e. you're trying to enter an order for a customer with no credit left) I think it makes more sense to do it than to wait until after the user spent 5 minutes filling out an order form and not warning him about the problem until he hits the Save button on the form.

Of course, if you are doing this on a form on a website, all validation has to wait until the Submit button is clicked.

In terms of speed, I am resorting to a "trick" in which _some_ of my bizobjs are instantiated only when needed by my forms on run time rather than dropping them on the form during design.

Hope this helps!!!

Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Reply
Map
View

Click here to load this message in the networking platform