Questions tagged [bll]

A Business Logic Layer (BLL) is a typical software engineering artifact within a Multitier architecture.

A Business Logic Layer (BLL) is a typical software engineering artifact within a Multitier architecture. It separates the business logic from other tiers, such as the data access layer or service layer. BLL objects are typically partitioned into two categories: business process objects (those which reflect business activities, or behaviors) and business entities (those which reflect real world business objects). Business process objects are typically implemented as controllers, i.e. they contain no data elements and only expose behaviors and activities which represent business processes. Business entities typically correspond to entities in a domain model rather than a database model.

98 questions
22
votes
3 answers

POCO's, DTO's, DLL's and Anaemic Domain Models

I was looking at the differences between POCO and DTO (It appears that POCO's are dto's with behaviour (methods?))and came across this article by Martin Fowler on the anaemic domain model. Through lack of understanding, I think I have created one…
dan
  • 5,386
  • 7
  • 42
  • 54
17
votes
7 answers

Do you allow the Web Tier to access the DAL directly?

I'm interested in perceived "best practice", tempered with a little dose of reality here. In a web application, do you allow your web tier to directly access the DAL, or should it go through a BLL first? I'm talking specifically of scenarios where…
Marty Pitt
  • 26,266
  • 34
  • 115
  • 190
12
votes
2 answers

How does the MVC pattern differ, if at all, from the DAL / BLL design pattern?

I'm making my way through the early Data Access Tutorials on Microsoft's ASP.NET website and it occurred to me that this all seems awfully similar to what I have read about separating your logic and presentation code using the MVC pattern. As a…
Martin Doms
  • 8,198
  • 10
  • 40
  • 60
10
votes
7 answers

What to return from the DAL to BLL

I currently have an application which consists of: User Interface (web page) BLL (Manager & Domain Objects) DAL (DataAccess class for each of my Domain Objects). I use the following in the UI to search for a domain object. protect sub…
AlteredConcept
  • 2,532
  • 7
  • 31
  • 36
10
votes
2 answers

DAL and BLL in .NET

There is this DAL/BLL design suggestion by Microsoft for ASP.NET (2.0) apps. I know some of the alternatives and I've read related questions here on SO. However I wonder if this proposed solution is worth implementing nowadays, is there a specific…
driAn
  • 3,143
  • 4
  • 38
  • 54
7
votes
4 answers

Communication between BLL and DAL

Solution setup: DAL (class library) BLL (class library) Common (class library (some common functionality - enums, logging, exceptions,...)) Application1 (Windows Application) Application2 (Windows Application) WebApp (Web application) ... Let's…
sventevit
  • 4,629
  • 8
  • 49
  • 83
6
votes
3 answers

marking BLL classes as static or?

I already have a layered data access design which works well. But i dont know if it is the most suitable implementation or not. i simply want to know that BLL classes or methots should be static or they should be concreate classes which has only one…
Fer
  • 1,852
  • 7
  • 28
  • 55
6
votes
4 answers

.net, C# Interface between Business Logic and DAL

I'm working on a small application from scratch and using it to try to teach myself architecture and design concepts. It's a .NET 3.5, WPF application, and I'm using Sql Compact Edition as my data store. I'm working on the business logic layer, and…
Joel
  • 2,525
  • 5
  • 32
  • 43
6
votes
6 answers

What is your favorite Business Logic Layer (BLL) development toolkit for .NET? Are there any at all?

What is your favorite Business Logic Layer (BLL) development toolkit? Are there any at all? BLL toolkit is a set of classes (controls, VS.NET add-ins) handling typical business logic scenarios. E.g. implementing access control, providing validation…
Alex Yakunin
  • 5,693
  • 1
  • 28
  • 52
5
votes
8 answers

Manual DAL & BLL vs. ORM

Which approach is better: 1) to use a third-party ORM system or 2) manually write DAL and BLL code to work with the database? 1) In one of our projects, we decided using the DevExpress XPO ORM system, and we ran across lots of slight problems that…
Mikhail Glukhov
  • 1,769
  • 3
  • 20
  • 28
5
votes
4 answers

How to use DTO's between UI, BLL, DAL

I'm trying to write a small app with very strict boundaries between BLL and DAL and am now wondering what the best way would be to pass the data (Domain Transfer Objects) between the layers. I implemented some classes in a Domain Level (class…
Oliver
  • 113
  • 3
  • 10
5
votes
5 answers

Linq to SQL & Logical partitioning (DAL, BLL)

We're going to be rebuilding one of our sites in .Net. I've read many articles and really like the idea of separating our project into a data access layer (DAL), Business logic layer (BLL), and presentation layer (we're coming from classic ASP so…
Chris Klepeis
  • 9,204
  • 16
  • 80
  • 147
5
votes
2 answers

BLL, DAL, OBJ and 3 layer architecture

My question is about 3 layer architecture. My project is briefly something like the below, however what annoyed me is after I insert a new column inside my database, I have to update those all fields except for the BLL. In the presentation layer, I…
user1865552
4
votes
2 answers

ASP.NET MVC: BLL and DAL to Repository design

We are moving from ASP.NET Web Forms to MVC 2.0. In most of our projects we have a typical setup to communicate with a database. Common (objects/entities like 'SiteMenu' and 'Users') Business Logic Layer (with calls to de Data Access Layer) Data…
jpderooy
  • 73
  • 1
  • 5
4
votes
2 answers

Working with MVC 2.0 and the Model in a separate assembly

I'm new to MVC and even though there is a lot (and I do mean a lot) of information out there that is very useful - it's proofing very difficult to get a clear understanding on how to achieve my exact requirements with MVC 2.0. I would like to set up…
Peanut
  • 17,401
  • 18
  • 68
  • 77
1
2 3 4 5 6 7