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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:29:12+00:00 2026-06-09T04:29:12+00:00

My server, implemented in PHP, is now just a data pump. I compose HTML

  • 0

My server, implemented in PHP, is now just a data pump. I compose HTML on the client using JavaScript.

Pros

  • Reduces network load (no HTML, just raw data)
  • Reduces server load (server does not have to compose)

Cons

  • Increases client load

Given these pros/cons it seems a good idea to move HTML composing to the client as long as there are no load issues at the client.

Are there any angles I have not looked at?

From Comments / Answers

Possible Cons

  • Bots might fail
  • Screen Readers might fail

Additional Pros

  • Pure data is readily available for new apps on new devices
  • 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-09T04:29:14+00:00Added an answer on June 9, 2026 at 4:29 am

    Here are some user stories that you should list under ‘cons’ – there are more.

    • I have javascript switched off because I’m security conscious. Your website doesn’t work for me.

    • When I use the back button I leave your website (getting round this is technically quite difficult) – see comments – this has been disputed

    • After using your website for a good length of time, my web browser consumes a huge amount of memory because it’s lax in reclaiming memory vacated by out-of-scope objects, or because your code isn’t efficient (IE is particularly prone to this)

    • I use a mobile device whose JavaScript performance is poor compared to a desktop – your website appears very slow for me.

    • I use a screen reader – your website is unintelligible to me.

    • My name is GoogleBot – your website isn’t indexable.

    If none of this bothers you – go right ahead.

    As an aside

    I should add – I am altogether not against this kind of application at all. If done properly the client experience can surpass that experienced with the traditional click, GET, click, POST, click, GET etc etc website. Indeed in my current project I have been working on a pure-javascript application as a QA aide and prototype for my organisation’s site.

    But we will certainly not use such a thing as our only web presence.

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

Sidebar

Related Questions

I implemented push notifications using APNS-PHP http://code.google.com/p/apns-php/ on my server. I now have to
My TCP server is implemented using Netty. My client using vanilla java.net.Socket to connect
I have implemented a web service with server and client authentication using keytool. The
I implemented a TCP Client using a thread opening a socket to a server
Being unable to locate a working php/javascript implementation of blowfish, I'm now considering using
I'm looking to implement a chat room using PHP/Javascript (Jquery) with both group chat
I have just implemented my first Restlet application (finally :]) and now I'm onto
I've been using yuicompressor.jar on my test server for on-the-fly minimisation of changed JavaScript
How can I make a table sortable using javascript without loading data via AJAX?
I have a website website1.com on Apache server developed using PHP and deployed in

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.