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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:57:29+00:00 2026-05-10T21:57:29+00:00

Imagine having the following scenario: You need to create a system where the Back

  • 0

Imagine having the following scenario:

You need to create a system where the Back end is seperate from the Front end, which is always important when programming, of course. But What if you want to be able to change the back end completely without changing the front end?

When creating a big website for instance, I’d go with the following projects:

Data – Handles all the data connections, the i.e. LINQ generated files and other partial overrides.

Interfaces – This layer is interesting, is this an overflow? Having the interfaces separated is because, the Business logic and the Data layer might have a lot of Interfaces in common and instead of Referencing the Data Layer from the Front, you can reference the Interface Layer and then have the Business Logic sending you an interface, instead of knowing about the correct classes and structure of the Data Objects in the Data Layer.

Business Logic – This speaks for itself, the business logic for the application.

Front End – Web, GUI or whatever is needed, code-wise of course.

My question is really, is this an overflow of layers and thinking? Is maybe the Interface Layer unimportant? Suggestions?

  • 1 1 Answer
  • 1 View
  • 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-10T21:57:30+00:00Added an answer on May 10, 2026 at 9:57 pm

    The interface layer is only a layer in the sense that you define it separately from everything else. An interface, however, should only define the boundary of a service, so it’s not going to be full of code.

    I can’t see how you’re going to pass an interface around without defining an interface-passing interface, which is overdoing it, I think.

    Begin with a simple set of interfaces, if you want to go design-first, but be prepared to extend them if you find you haven’t thought of every possibility up front.

    So really, you have

    • Data + Data interface
    • Business logic + interface
    • Frontend + Graphical user interface

    Where each layer uses and encapsulates the previous, to some degree. There isn’t really a separate layer for interfaces, or what would you put between the layers? Interface just means the boundary between two things, so use it as such.

    It’s very tempting to generalise and generalise, but then you just end up designing a new programming language, or paradigm. Most of the time, that’s not part of the brief.

    The brief! Of course, we forgot that. Start with that, determine your interfaces, and start coding the simplest use case. The thinking will develop as you go along.

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

Sidebar

Related Questions

I'm having the following problem. Imagine my mySQL table looks like this: id range
Quick question i imagine, but i'm having trouble getting a clear answer from googling.
Imagine the following code: class SimpleLetter def values (a .. z).to_a end def ===(other)
Imagine the following scenario: you have a set of RPG character spritesheets in PNG
I'm having a tough time in finding a solution for following effect. Imagine having
I am having issues with what I can only imagine is a very simple
I am having trouble trying to get iterators for inner sub-containers. Basically imagine this
Imagine the following table (called TestTable ): id somedate somevalue -- -------- --------- 45
imagine if you will the following string: A Great Movie (1999) DVDRip.avi I am
Imagine an interface with a method to create objects of type Address . The

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.