Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business objects, pre or post app creation
Message
 
À
14/06/2004 09:29:03
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00913415
Message ID:
00913911
Vues:
20
Tony,

>Are there any opinions about which is better?
>
>Creating a business object project before you create your Windows Form application project?
>
>Or
>
>Creating the application project and the business object project at the same time you are first creating the application, and then adding all the business objects later during development?

The fact that the MM .NET builder allows you to create a business object project at the same time you create your Windows Forms project is simply a convenience feature. You could choose to create the business project first, and then add it to a Windows Forms or Web Forms application later (which you would do by unchecking "Create a new business object project" in the MM .NET New Project dialog). The key issue here is that you make sure you separate your business logic into the business project and your UI logic into the Windows Forms or Web Forms project. I find that creating the business object project first (as done in the Jump Start) helps ensure that you have your business layer completely separated from your UI (it's hard to put business logic in the UI if it's not there <g>).

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform