Information générale
Catégorie:
The Mere Mortals Framework
>Am I correct in thinking that I should always use business objects to load data on forms.
I would say if you are going to allow the user to manipulate the data... yes... if it is read only info then you may not need it. Of course, if you want to go to a multi-tier architecture in the future, I belive ALL data access should be through business objects.
Of course, if there are no rules, there is no need to build a business object for each data envirnment... just drop an instance of kBizObj on the form, and set the environment for that instance to what you need for that form.
Only subclass the business object if there are specific rules that need to be applied to the data.
BOb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement