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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:36:24+00:00 2026-05-21T17:36:24+00:00

I won’t describe the project details or the framework I am using because the

  • 0

I won’t describe the project details or the framework I am using because the question is more general.

What is the best way to create flexible interaction between the user interface and the logic.
I am struggling because constantly it turns out that I have to make some feature available for the user to change via some ui but the code for the feature is somewhere deep deep in the code so I have to do lots of refactoring.

What is your approach in such situation? Maybe to model event based system where events are dispatched/handled? In my case the requirements change very often.

  • 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-21T17:36:24+00:00Added an answer on May 21, 2026 at 5:36 pm

    Use a MVx design pattern such as MVC, MVP, MVVM.

    Basically:
    * UI should not call BL.
    * UI should raise events (or better yet, use commands).
    * UI-raised-events/commands should be handled outside UI and call BL.
    * BL should not call UI.
    * Either modified data should raise events or BL should raise events.
    * UI should know how to present data (preferably uses composition to present any type of data and not have entire UI rely on data types not changing).
    * UI should refresh on events.

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

Sidebar

Related Questions

I know this won't be a popular question, because a lot of web designers
I won the bid on a project and now the client (who is itself
I have the following code that won't compile and although there is a way
Won't the union in this question cause UB when used as this: union Data
This won't work using: $('div#menuBar,#goLeftBtn,#goRightBtn').attr('disabled', true); in the document.ready Any ideas? Thanks! EDIT: My
i won't to download multi files at this same time using c#, but i
Maven won't overwrite the built version of an eclipse project in my local repository.
This won't loop more than once, so I am unable to check if I
Why won't argparse parse these arguments? --foo 1 2 3 bar Using parser =
This probably won't make sense without an example. I'm using python-disqus in my Django

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.