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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:35:17+00:00 2026-05-22T20:35:17+00:00

I am working on a highly dynamic site which has around 10 different pages

  • 0

I am working on a highly dynamic site which has around 10 different pages (login, registration, my services, my profile, etc.).

I am thinking of using a javascript template framework (e.g., jquery-temp) and store all the pages in one single html file. User interactions will trigger swapping/activating/hiding of different templates. On the server side, all the request are managed through rest/json calls. I am thinking that the html will be served by nginx while the json calls are directed to jetty (java).

Is this a viable approach and what can go wrong ?

Thanks,

EDIT – I know how to do this, I want to know if this is will cause a problem in the long run.

  • 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-22T20:35:19+00:00Added an answer on May 22, 2026 at 8:35 pm

    I’ve been doing something similar recently, and it’s working out pretty well. Couple of observations:

    1. You’ll need to work harder than you otherwise would if you want the different views to have linkable url’s, and maintain history so things’ll work okay with the browser back/forward buttons. (although you might not care about that)
    2. You’ve got one big upfront page load when the user first visits the site – could be slower than splitting the pages out.
    3. There’s no granularity to the site caching; if you change one character on one page in the site, the whole thing needs to be reloaded. In contrast to if you spilt the pages out and later change one of the pages, any HTTP caches will still be okay for the other pages.
    4. Switching templates via AJAX might give you slightly less UI feedback than standard page loads, EG if the connection is slow, clicking on a regular link would at least show me that the page is loading, wheras an AJAX call would be spinning away in the background. I’m not sure this’d apply in your case tho as it sounds like you’ll have all the HTML pre loaded and just switch which bits are visible. In a similar vein pages which populate their content via AJAX might render less gracefully whilst they are loading.
    5. And obviously – If the user doesn’t have javascript turned on, you’re screwed. I’m not sure if anyone cares about this anymore, but I guess it might also impact SEO.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

working on a highly complex WordPress theme that features many different custom post types
I'm working on a new feature for our product, a component of which has
i am in big dilema.. I am working on highly modular web app in
I am working on writing a Highly Available agent for JBoss Application Server to
Working with python interactively, it's sometimes necessary to display a result which is some
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
Okay so I'm working on an admin panel, in which everything should always be
I am working on the facebook application and my content is dynamic so I
I'm working on a piece of code in C# / XNA where I'm highly
The deceptively simple foundation of dynamic code generation within a C/C++ framework has already

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.