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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:43:46+00:00 2026-05-27T22:43:46+00:00

Imagine we have a page with a form where users can create their own

  • 0

Imagine we have a page with a form where users can create their own discussion forum by inserting some data. Inside each forum anyone will be able to post different threads and topics.

Scenario 1:

Use PHP to create a new HTML file every time a user creates his own forum. This would lead to hundreds maybe thousands of different html files.

Scenario 2:

We only have one html file in which contents change depending on the ID received (so it will display the contents for “discussion1”, “discussion2” or any other discussion depending on the variable ID). This would mean having just one HTML file but a huge table in our SQL server.

I have seen examples of both scenarios for very large websites. For example, Wikipedia uses Scenario 1 while I believe other more dynamic websites use Scenario 2. What are the main pros & cons of each scenario?

I would love to know the pros & cons that matter most and also the ones related with:
– SEO
– Server response time & server load
– Site maintenance
– User experience (for bookmarks assume the ID is sent via the GET method)

  • 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-27T22:43:47+00:00Added an answer on May 27, 2026 at 10:43 pm

    Scenario 2 is certainly the way to go, keeping pages dynamic allows for editing far less files and means everything will always be the same.

    With good MySQL tables and relationships the queries to the database shouldn’t be that server heavy and your site will still perform a lot better than with hundreds of .html files.

    I don’t think many, if any sites use scenario 1, they will just .htaccess to alter the url and make them look like .html pages.

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

Sidebar

Related Questions

I have a form on my page where users enter their credit card data.
Imagine that HTML page is a game surface (see picture). User can have n
Imagine I have a navigation bar in my page header, with a number of
Imagine that you have several links on a page. When you clicked, a div
Imagine the scenario you have a listing page that is a concatenation of multiple
Imagine this simple form for uploading a file: <form action=upload enctype=multipart/form-data> <input type=text name=name/>
Let's imagine you have an asp.net page in front of you full of input
I have user control inside a page with single repeater. The problem is when
I have a data entry form that has remote validation set up to check
I currently have a page with four list boxes on it and imagine a

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.