Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Namespace naming standards
Message
De
29/01/2008 13:23:13
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
29/01/2008 12:37:32
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01286295
Message ID:
01286818
Vues:
21
>Hi Mike,
>
>>>>I have a quick question about namespace naming standards:
>>>>
>>>>Let's say I have 3 separate systems: Customer, Dealer, and Employee. I want to separate the tier into logical namespaces.
>>>>
>>>>Which naming method is the best:
>>>>YLT.Customer.BLL
>>>>YLT.Dealer.BLL
>>>>YLT.Employee.BLL
>>>>YLT.Customer.DAL
>>>>YLT.Dealer.DAL
>>>>YLT.Employee.DAL
>>>>
>>>>or
>>>>
>>>>YLT.BLL.Customer
>>>>YLT.BLL.Dealer
>>>>YLT.BLL.Employee
>>>>YLT.DAL.Customer
>>>>YLT.DAL.Dealer
>>>>YLT.DAL.Employee
>>>
>>>I like the 2nd one.
>>
>>I guess it's probably a preference thing. To me, I think that business logic exists within the application, not the organization. I think the applications exist within the organization.
>
>I don't see the application in your options. So if the business logic exists within the application, you would need to add that after the company name.
>Tim

I simpilified the application names to Customer, Dealer, and Employee.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform