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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:21:45+00:00 2026-06-08T11:21:45+00:00

My question is in regards to what is considered best practice in web development.

  • 0

My question is in regards to what is considered best practice in web development. I have been concentrating on web apps, javascript web apps in particular so my general practice is to load the html, use ajax to pull in the data I need from a database, and build the view dynamically. So naturally I am used to storing my page content in a database.

This is great for things like blog posts, or small amounts of data like phone numbers and email addresses that I want to display, but what about what would normally be static content? Say a marketing front page that displays content about the backend web app? It would be nice to keep this all on one page (even though its not search engine friendly) and use javascript transitions to display the data, but this would require either building a bunch of divs and hiding the ones not in view, or pulling the data from the database as required. What about mixed content types like maybe a faq list, then separate paragraphs of general data, etc.

How is this type of thing normally accomplished?

  • 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-08T11:21:47+00:00Added an answer on June 8, 2026 at 11:21 am

    AJAX is a wonderful thing, but I don’t think it should be used in this way. I can’t speak as an authority, but I find it’s preferable to store your content on separate pages for this kind of thing.

    What is important is that if you decide to go down the Ajax route, always make the page actually bookmark-able/navigate-able through history.

    i.e. I goto http://www.example.com/webapp/, click on about and it would take me to http://www.example.com/webapp/#about.

    Revisiting http://www.example.com/webapp/#about should take me back to where I was.

    There’s more infuriating than a site that gets so carried away with fancy transitions they forget the basic wants of end user.

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

Sidebar

Related Questions

I have a general question with regards to immutable collections. I will use Java
i have a question in regards to php calculations. i am restructuring a text
I have got a question with regards to upgrading asp.net mvc applications from v1
This question is in regards to Mike Bostock's very exciting d3.js library in general,
I have just asked this question an hour ago but with regards to IE8
I just have a question in regards to threads that run concurrently and the
I just have a little question with regards to connecting C to MySQL. Well,
I have a question with regards Google Code svn repositories. Is there a way
I have a question in regards to the code below. The code I have
This question regards my personal photography website. I use the following javascript to generate

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.