Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 654143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:27:43+00:00 2026-05-13T22:27:43+00:00

In my company I must use a Bll, Dal and model layer for creating

  • 0

In my company I must use a Bll, Dal and model layer for creating applications with a database.

I’ve learned at school that every databasetable should be an object in my model. so I create the whole model of my database.
Also I’ve learned that for every table (or model object) there should be a DAO created into the DAL. So I do this to.

Now i’m stuck with the BLL classes. I can write a BLLclass for each DAO/ModelObject or I can write a BLLclass that combine some (logic) DAO’s…
Or i can write just one Bllclass that will manage everything. (this last one I’m sure it aint the best way..)

What is the best practice to handle this Bll ‘problem’?

And a second question. If a bll is in need of tablecontent from an other table where it aint responsible for, whats the best way to get the content? Go ask on the responsible BLL or go directly to the DAO?

I’m struggling with these questions the last 2 months, and i don’t know what is the best way to handle it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:27:43+00:00Added an answer on May 13, 2026 at 10:27 pm

    You should start with what you need to make work the app.

    For instance: “I need a web ui for user login”

    1. So I need a controller that use a model to check nickname and pass
    2. Then I need a bll object to do the logic for check nickname and pass
    3. Then I need a dal object to access the database to retrieve user info

    If you not start to think like that (a top to bottom aproach) then you are going to write a lot of code that is never going to be used.

    note: if the dal is orm mapping or not is anecdotal. Also if the model use a bsl or the bsl use a model. IMHO.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've come across a system that is in use by a company that we
I am creating a web application for my company that needs to deal with
I´m really glad that I must no more use IETester since IE6 support was
I am going to be creating a web application for internal company use. I
I am trying to model a scheduling application for my company and could use
I am writing a web page widget for my company. This widget must inject
I am developing a business portal for a company, where users must register before
My company doesn't use Apache, so we've spun up our own socket code. In
The company i am working for is implementing Share-point with reporting servers that runs
My company is using SQL Server Compact to store and manage a local database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.