General information
Category:
Forms & Form designer
>Hi Dan ---
>
>>I like this idea.
>>
>>Should I have a business object for each control? Maybe have a flag, used when the form is originally instantiated, that determines if a business object should be created for each control? How will this affect the performance of the app?
>
>How you break down your business objects would depend on a number of issues. Personally, I try to keep the number of business objects down to a minimum. Perhaps you could instance one object dedicated to validation rules at the time the app is run and keep it in memory.
Then have the business object fire validation for each control that has been flagged when saving?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only