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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 340k
  • Answers 340k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Try downgrading to '1.0.8'. See the history and note the… May 14, 2026 at 4:38 am
  • Editorial Team
    Editorial Team added an answer Check constraints are very limited in Oracle. To do a… May 14, 2026 at 4:38 am
  • Editorial Team
    Editorial Team added an answer You may try annotating your controller action with the ValidateInputAttribute:… May 14, 2026 at 4:38 am

Related Questions

I have a web-app that will reside on a production server where I want
I am about to develop a windows applikation which need to communicate with an
Like every web developer, I usually curse the creators of IE6 with foul and
The company I work for has a large webapp written in C++ as an
My company requires me to use Outlook for my E-mail. Outlook does virtually nothing

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.