Jump to content

Your opinion on this situation..


coupe-r

Recommended Posts

On one of my pages, I have 1 form, which just a few text boxes / check boxes.  Currently, I have the form submit a new record into the DB and then refreshes the entire page to show the new result.

 

My question is, should I display all records using JQuery or PHP.  PHP refreshed the whole page, thus more queries are run per page.  Does it matter much?

 

Thanks.

Link to comment
Share on other sites

Then, imo, it's a matter of personal choice and how many queries are run with how much complexity on what size of database by how many users. still a lot of unknowns for us.

 

if i'm trying to save development time, i use php with page refreshes. but if it's 1 simple query vs. 500 complex queries, ajax makes more sense.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.