Jump to content

[SOLVED] Dojo View question


simpli

Recommended Posts

Hi,

I am progressing in my exploring of the MVC model. Now I have a conceptual question about the view that needs to be answered before I move on. Let's say I want to build a rich user interface application which will basically be one page where the user will be operating. I want on the left side to be a tree and whenever the user clicks on an item on the tree, I would display the relevant information about that item on the right side of the screen. I simplify a lot but I would have two divs (divTree and divDetails and they would each be one part of the screen.

 

My question is how would I proceed? Should I have one big view that incorporates all that or should I have several smaller more modular views. Also, so far I have been working in silos where I would make one model, it's controller and one view. But it's not really realistic. If I have itemA and itemB they may map to each with their own controller, they may map to the same view. How do I adress that?

Thanks for any input.

JR

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.