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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:50:02+00:00 2026-06-14T15:50:02+00:00

By a multi-site system I am referring to a system that has multiple panes

  • 0

By a multi-site system I am referring to a system that has multiple panes of the same version. An example of this is Gamespot, where it shows different release dates and even different games depending on whether you are on uk.gamespot, us.gamespot, etc.

The site selection isn’t this issue here. The issue is the process and ease of development and how site specific data is selected or entered. There is also the potential of various system components being not required to be site specific, and in some rare cases it will be required that all data from all sites be visible and selectable for reporting and administrative purposes.

The following techniques have been considered, and although we know they will work, we are unhappy with the cumbersome nature of their implementations:

Table Views –
By creating multiple views for each site on each table we can load data to be queried that is specific to the site. However, inline SQL would have to dynamically call on the correct view, and in the event of a new site being created, a full set of new views would have to be created.

SQL Modification –
By creating an SQL intermediary function, SQL can be modified to change the where clauses and joins to target columns that select only the data specific to a site. However, we believe that to run all of our queries through such a device could have serious problems down the road, and could limit our queries flexibility.

Inline site clauses –
Despite this being the most cumbersome and irritating to implement, it would prove to be the most reliable providing we are able to enforce standards on the way we code. Although this is potentially the most reliable, it is also the least appealing to our developers, it would mean writing site clauses for almost every single query.

So, rather than finding the best means to implement this system on the higher levels of the system, we are trying to find a methodology that will allow a fairly simple implementation of site specific data selection at a base level.

Please let me know if this question is too broad in any respect and I will try to narrow it down further.

First Edit:

The type of data across the sites is identical in respect to the tables. A users table will be shared across all sites and each user may only have access to one, some or all sites.

Lets take the Gamespot example a bit further. One user is given the responsibility of managing the UK version.

The information about games and their reviews are drawn from records accessibly to all sites, because this is globally relevant information
However, lets say the release dates come from another table which is site specific.
The information about the game is retrieved in a typical manner, however getting the release date takes a little extra code to get the correct one for the correct site.

Regarding the user, whichever site that user is currently managing, should be the site that the selection and insertions target.

As you can imagine, the release date is not a core table, and each date cannot simply be mapped against it’s respective game directly.

(I do not imply to have any knowledge of the workings of Gamespot, the example is hypothetical)

  • 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-14T15:50:03+00:00Added an answer on June 14, 2026 at 3:50 pm

    I don’t think there is a general answer here, because we don’t know enough about the actual sites you are building. Here are a few examples of questions that will have a major bearing on the best design:

    1. Does the content mostly overlap between the sites, or is it mostly different?
    2. Is there a simple division between “common” content and “specific” content? (i.e. content is either common to all sites, or specific to one site only). Or does it need to be more flexible?
    3. How much do you expect the requirements to evolve over time?

    My advice is to focus your energy on the correct table structure to store your data. If you get that right, a good software design should flow naturally from it.

    And of course, feel free to ask any specific questions you have along the way!

    Edit: after your question update, I still think there is a lot of ambiguity, which can only be resolved as you work out your specific design. But if you want a quick answer, I think inline site clauses are the best of the three options you have suggested. The others add unnecessary layers of complexity.

    I don’t see why inline site clauses are “cumbersome” and “irritating”. They won’t introduce repetition in a good design, because you can handle them programmatically in PHP.

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

Sidebar

Related Questions

I read the example on Passing multi-dimensional arrays in C on this site. It
I have a multi-site Drupal-6 installation containing websites of different customers. On each site,
I am using django 1.2 to create a multi site shop. I need multiple
I am working on creating a MVC4 multi-tenant site that uses seperate DBs for
This is a multi-site problem. I have a lot of sites with .htaccess files
I am currently developing a multi-language site using Zend Framework. The system will pick
I am building a multi language site I have a descriptions table that hold
I have a multi-language .Net 4 webforms site (www.example.com/en/, www.example.com/fr/ etc.) and each language
I work in an multi-site environment that's currently using Rational ClearCase for source control
I have developed a multi-lingual site in ASP.NET, which detects the user's system culture,

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.