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.

96 questions
4
votes
1 answer

BLL,DAL,BO,inserting data

I need your advice. I am trying to develop a 3 layer architecture in ASP.NET that separates BBL,DAL,BOboj. Inside the DAL, I collect the data via _view. What I wonder, should I write another BOboj for every view??I have already has a BOboj class but…
user1865552
3
votes
2 answers

MVC layers and DAL & Data layers

I've been developing a multi-tier MVC application and now reviewing what I've done so far. Especially now that I've gone back and done a fair bit of reading up again on multi-tiers/layers (there is heaps of information out there but no real…
OpcodePete
  • 887
  • 1
  • 14
  • 28
3
votes
2 answers

How to pass data between BLL and UI in 3-layer (single tier) application?

I am a fairly rookie programmer who is trying to learn the basics of n-layered architecture (DAL, BLL, UI). The application I am programming is a single tier, 3-layer application written in VB.NET (.Net 3.5). Layers as follows: DAL BLL UI COMMON -…
Casey Wilkins
  • 2,555
  • 2
  • 23
  • 31
3
votes
2 answers

Returning Data Objects from DAL

What is the best practice to return data objects from Data Access Layers to Interface? Currently, I have a layer that communicates with database and returns DataTable to business Layer and then Business Layer instatiates the Business Objects and…
Bilal
  • 31
  • 1
3
votes
1 answer

Business Logic Layer Design

I feel like such a noob for asking this question, but it's been bugging me for a while now. When designing the BLL of a tiered application, would you put all your entity classes in one namespace? For example: If you have a database with Customers…
user2110292
  • 3,637
  • 7
  • 22
  • 22
3
votes
1 answer

How to implement good practise of Business Logic Layer in Real Life asp.net

I usually create dataset as DAL, and BLL INSIDE the original project. After I learned Entity Framework, I know that business logic layer are commonly created in separated project(class library). However, ASP.NET site has no corresponding…
Ivan Li
  • 1,850
  • 4
  • 19
  • 23
3
votes
1 answer

How do you map LINQ-to-SQL to your BLL classes?

I'm considering using LINQ-to-SQL for creating the DAL in my app. I normally create the DAL manually as I'm not a big fan of ORM (too much abstraction IMO) but I'm trying to save some time for an impatient client. My question is, how do you map the…
Waleed Eissa
  • 10,283
  • 16
  • 60
  • 82
2
votes
1 answer

BLL errors best practise

What is the best practise for returning an error of a business rule in a BLL? SHould I just raise exceptions and catch them in the presentation layer, shoudl I return some kind of object that holds any exception type info?
januszstabik
  • 1,152
  • 5
  • 16
  • 30
2
votes
1 answer

Use Settings File in Business Layer (BLL)

I have a settings file in my UI layer, and I need to use its values in my business layer. My UI and business layers are in separate assemblies. I can't access the settings values in the business layer directly, so I currently pass them through the…
2
votes
5 answers

Help with debate on Separation of concerns (Data Access vs Business Logic)

I had a debate with my co-worker on whether certain logic belongs in the data access or business logic layer. The scenario is, the BLL needs some data to work with. That data primarily lives in the database. We want to cache that data (using…
2
votes
2 answers

Designing layered app with NHibernate and context changing database

I'm designing a C# application Presentation ( web site + flex apps ) Business Logical Layer (might be WCF to enable multi client platforms) Data Access Layer ( With NHibernate ) We're going to integrate our solution in many preexistant client's…
Breakdown
  • 271
  • 1
  • 2
  • 11
2
votes
4 answers

Sharepoint Web Part Management

I have a rather large project developed on Sharepoint and Project Server, designed as a multi-tier application. I programmatically manage web parts on certain web part pages. According to the choices of the user in one of the web pages, appropriate…
kjv
  • 11,047
  • 34
  • 101
  • 140
2
votes
1 answer

DAL/BLL and Client/Server: Should the client use BLL or DAL objects for presentation? Or maybe another layer (data transfer object?)

I'm writing a client/server system. The server has a DAL/BLL design. The client is responsible for presenting the data objects and providing dialogs and wizard to allow the user to update these objects (i.e. adding/editing a user). Initially I…
Mark
  • 1,296
  • 13
  • 28
2
votes
1 answer

A single DTO class with multiple classes inside

a simple question about DTO, I have a DTO class Cars, and some others subclasses of cars models inside it. public class Cars { public Ferrari FerrariModel { get; set; } public Porshe PorsheModel {get; set; } public Mustang…
Jeú Casulo
  • 139
  • 2
  • 11
2
votes
1 answer

How to use Entity(EF) and EntityDTO with Contract(Interface)

I have an Entity(EF) in DAL, which have generated by Entity Framework. public partial class User : IUser { public Guid Id { get; set; } [Required] [StringLength(20)] public string Login { get; set; } [Required] …