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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:00:31+00:00 2026-05-21T11:00:31+00:00

I am attempting a single page application. I understand the main concept of how

  • 0

I am attempting a single page application. I understand the main concept of how mvc is used to some extent and am using a lightweight framework called backbone.js. My issue however is not with backbone. I actually am having a problem figuring out how to structure my user interface. I have a bar at the top of the page with 4 buttons. Each button opens an instance window within the application. Within Each of these instance windows html, css, javascript will be utilized. Any suggestions on how to structure the core concept of this user interface.

Considerations on my part:

  1. Each window instance has it’s own
    div with a unique ID (display:
    none).

  2. On-load, the application should
    already have necessary html, css,
    and javascript loaded into dom. The
    html should be inside each unique
    div pertaining to its instance
    window.

  3. Each menu button should modify its divs
    display: to block, bringing the
    instance window for that button to
    front, but hiding all others.

  4. Each instance window has to be
    flexible enough to run javascript
    within it, so I must be able to
    create additional mvc’s within each
    unique div.

  5. Okay, last comment. Should my user
    interface utilize mvc or is
    it not neccessary. Also, If it did use mvc
    whats the best way to acomplish
    this. There many different concepts
    with mvc, like creating a view for
    each instance window and listening
    for clicks. It just gets confusing.

You think any of my considerations will effectively get the job done, and can you offer suggestions?

  • 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-21T11:00:32+00:00Added an answer on May 21, 2026 at 11:00 am

    If I understand correctly, you want to have each button display a popup window, and be able to change the content of each popup window based on some action? I can only speak for how I would use ASP.NET MVC…

    I would use jQuery UI Dialog to handle the popup windows, and have a form tag within each popup that uses its own MVC controller using ajax (I prefer the jQuery ajax command). Using ajax rather than a standard submit button allows you to send/receive data to/from the server without refreshing the webpage. You’ll need the .serialize to convert your form into the correct format for sending. Each controller action can either return a JsonResult (which gives you back a javascript object you can use) or a PartialView (which gives HTML)…

    Hope some of that made sense…

    EDIT:
    To answer your last point, I would have a model, view and controller for each window… but I am fairly new to the MVC pattern…

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

Sidebar

Related Questions

I'm attempting to expose a single API call using three different authentication mechanisms: django's
I'm attempting to upload a simple one page web page using Heroku. I was
I'm attempting to implement a simple Single Sign On scenario where some of the
I'm attempting to convert a PDF into a single image using GhostScript. Only the
I'm attempting to create a single Controller class to handle all foreseeable surveys that
I'm attempting to create a widget that consists of of a single horizontal black
I am attempting to make the sidebar in WordPress be made of a single
Attempting to get Spring internationalization working. I have used classpath:messages basename, created .properties files
Attempting to make a NSObject called 'Person' that will hold the login details for
I've got, what I would consider, a simple test web site. A single page

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.