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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:54:10+00:00 2026-06-10T08:54:10+00:00

In a big system mvc-based there are views responsible for editing data and views

  • 0

In a big system mvc-based there are views responsible for editing data and views that display that data.

Example: UserManagementView and UserSelectionView.

Each subsystem should know whether it needs a data update, after another subsystem has made changes to the same data, in order for its controller to know whether a data update is needed.

My thoughts on this is something like the observer pattern (which is kinda integrated in c#) and all controllers would be listeners and eventually would get notified that data-manipulation occurred.

BindingList<> for example provides a ListChanged event. Similarly, an interface can be created for each data-structure and notify the controller about the change. This would add overhead (IMO) and I find this solution difficult to maintain in a big system, also updating data anyways is not a solution.

Which architectural design can help in this kind of scenarios?

  • 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-06-10T08:54:12+00:00Added an answer on June 10, 2026 at 8:54 am

    This question sounds like you are trying to use MVC without the model part. If I’ve misunderstood, editing your question to include a practical use case (example) may help us understand the context.

    In general though, nothing should really be persisted/stored in your controllers. So there should be nothing in the controller that requires ‘updating’ or ‘notifying’ (ie: no data). Rather the data should be in a separate ‘model’ layer which manages all your data. Then the views read from the model layer to grab any data for that view.

    For a quick refresher check out the wikipedia page on MVC which has a nice classic MVC flowchart and simple write-up on component interactions.

    Example for Discussion

    Let’s try to contrive an example for the purpose of understanding this problem.

    Let’s say I have a list of users in my application. This list might be shown on:

    • A master admin list view
    • An admin edit user view
    • A user’s personal profile view
    • Maybe more?

    Each of those views will request the data from your model layer and show something on the screen.

    Now let’s say a change was committed to one user’s profile. That would be accomplished via a controller method which does any work necessary to apply some changes to the model.

    My understanding is that you want all of those views to update to reflect that change. That means the views need to reload data from the model. It should not be getting this data from the controller itself, even if the controller triggers this reload/refresh – or rather a controller method may facilitate querying from your model layer. The important part is that you aren’t maintaining multiple copies of your data in multiple controllers throughout your application. The persistence is centralized in the model layer.

    In the case of winforms the model layer may be able to provide something like the mentioned INotifyPropertyChanged interface if your UI components are built to recognize that interface and refresh accordingly. But that is a fairly platform dependent approach.

    A more platform/context agnostic approach would be the pub-sub (publish-subscribe) pattern also mentioned already. In this case each controller method that makes a change to the model would also publish a notification of its changes. Any views for that data can be listening and respond to such a notification by refreshing/reloading the view’s data from the model layer.

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

Sidebar

Related Questions

I'm working now on a big system that consists of many subsystems , each
I have big system that make my system crash hard. When I boot up,
The scenario: Big system (~200 tables). 60,000 users. Complex reports that will require me
There is a performance issue when using a system call after pre-allocating big amount
i am creating a big application (ERP system) and i am confused to use
in my system, i had to move a big javascript ajax system to seam.
We are doing some big changes in our system and I'd like to know
I have a big makefile that I have configured with several phony targets. One
I am building a system which asks questions and receives answers to them. Each
Our software shop does a big enterprisey system and one of its part is

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.