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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:39:20+00:00 2026-05-23T18:39:20+00:00

I have a web site, which has multiple modules on a typical dashboard page.

  • 0

I have a web site, which has multiple modules on a typical “dashboard” page. All of them communicate with the same database, and same set of tables, some of them do the job of writing, some display, etc.

Should I use iframe to achieve that or combine all the codes or is there other options?

Those modules can interact with each other on a client-side javascript level. For example, I click a button in module A, a textbox in module B will be hidden.

Moreover, how do you achieve such that, when I use module A to write things to the database, module B will know it’s time to fetch new data again.

  • 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-23T18:39:20+00:00Added an answer on May 23, 2026 at 6:39 pm

    If the different bits of your web page need to communicate with each other, then I don’t think iframes are a great idea. (I could be missing something though.)

    You might want to have a look at Backbone.js. It gives you a model/view framework in JavaScript, with automatic re-rendering of views when their model changes, that might make it easier for you to keep all your modules in sync with each other.

    You’d basically replicate your database objects in a Backbone.js model on page load, then have your on-page modules keep in sync with their Backbone.js model, instead of repeatedly polling the server for changes that have happened right there in the page anyway.

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

Sidebar

Related Questions

I have a solution which has multiple output projects (a website, and admin tool,
I have an ASP.Net website which has a remember me feature for Login page.
Here's the setup. I have web site which is essentially a simple CMS. Here
I have a web site which I download 2-3 MB of raw data from
I work for a company which has multiple websites, all of sites somehow share
The main section of my web site contains multiple DIVs, one of which sits
I have a recruiter table in my database which has different attributes and one
I fetch data from Google's AdWords website which has multiple elements with the same
I have a website which has so many sub folders in it. I have
For example, I have a website which has a dynamically-generated segment of its dom

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.