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 150255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:15:41+00:00 2026-05-11T09:15:41+00:00

I asked myself, what the community considers best practices when it comes to building

  • 0

I asked myself, what the community considers ‘best practices’ when it comes to building a frontend for a database.

e.g.:

should every form has its own connection?

should all the database related stuff go into a separate layer? That is: creating a class, that handles all things database, which I then instantiate from my forms and so on?

how strict should the separation rule be followed, that is: where to put SQL strings, connection strings. In every forms code (findable), in a separate (source-)file as global variables, in a XML file or even nowhere in the sourcecode, only on the sql server?

etc.

  • 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. 2026-05-11T09:15:41+00:00Added an answer on May 11, 2026 at 9:15 am

    When building a Web Application you normally have 3 layers of logic.

    1. Presentation layer
    2. Business Logic Layer
    3. Data Access Layer

    The last layer does everything regarding managing the database.

    The Business Logic layer should never talk with the database directly, without using the Data Access Layer.

    That’s my best advise

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

Sidebar

Related Questions

I know this question has been asked many times and I've researched it myself
A couple of days ago I asked myself which data-structure I should in a
One question that I have long asked myself is in object oriented programming,how should
A while ago I asked myself, when I write something like this: char* first(int
Jacob asked the perfect question: give me the MERGE syntax . Every answer out
I asked this question over Security site, and people there suggested I should have
A client has asked me to add a simple spaced repeition algorithm (SRS) for
this is more a theoretical question i asked myself. I remembered that BinarySearch of
Over the years I've often asked myself why game developers place many small images
I just started working on a huge gwt project and asked myself if there

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.