ONYX
ONYX

Reputation: 5859

DAL and BLL naming conventions other peoples alternatives

Silly question really but just was wondering about other peoples naming conventions for DAL and BLL if there were any better names for them than those ones.

Upvotes: 2

Views: 1314

Answers (2)

Zo Has
Zo Has

Reputation: 13038

OrganizationName.ProductName.LayerName

Upvotes: 0

Filip Ekberg
Filip Ekberg

Reputation: 36327

I guess you mean the projects you are creating.

If you follow ".NET Framework design guidelines"

  • Avoid SCREAM_CASE
  • Avoid such abbreviations

I usually see something like this:

CompanyName.Product.Data

CompanyName.Product.Logic

However one might argue where to put the logic or even if you should name it Logic or BLL at all. It depends on the system in wide, if you are creating a Banking system you might not want to put all logic in a Logic namespace but you might want to split it up into more spaces like:

BankName.Web.Authentication

BankName.Web.Transactions

Where these layers have their own set of logic layers.

Upvotes: 3

Related Questions