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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:51:19+00:00 2026-05-26T23:51:19+00:00

I am having multiple views which are databind to single view model. Now i

  • 0

I am having multiple views which are databind to single view model.
Now i see a tight coupling with the command name in the different views with the ViewModel.
So i need to avaoid this tight coupling.
Any help will be highly appreciated.

Cheers,
Sajesh Nambiar

  • 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-26T23:51:19+00:00Added an answer on May 26, 2026 at 11:51 pm

    This is pretty normal practice when both View and ViewModel references the same command names, this is like a common protocol/public interface. Look at this from an other point of view, Comamnd Name is like a public interface which supported by both sides – View and ViewModel. So

    • If View able to notify an udnerlying ViewModel in a given case it refer to a command by a command name
    • If ViewModel able/want to handle any specific command – it exposes a Command via public interface and register it by a Name, providing own command handling logic as well

    If we look at Commands from Events standpoint – View able to “raise” a given Command in a particular case and exposes this Event (Command) by specifying it Name (like exposing public event) and this is question of ViewModel whether it would handle such a command (subscribe to Event).

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

Sidebar

Related Questions

I've got some Oracle-Views which I'm using to generate multiple Letters. For Example: CREATE
When using multiple inheritance C++ has to maintain several vtables which leads to having
I'm using multiple areas in MVC 3 and I'm having problems with my views
I'm confused something fierce over having multiple views. I simply want to have a
what I am trying to do is: having multiple images in the screens, which
I got a PNG having multiple images encoded in it. How do I make
I need to add and delete class on an element having multiple classes: This
Here is a simplified version of what I'm trying to do: Without having multiple
I do not want to alienate my users, but having multiple ways to sign
been working with symfony for a while. most tutorials describe having multiple actions in

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.