coupe-r Posted January 31, 2011 Share Posted January 31, 2011 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. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 31, 2011 Share Posted January 31, 2011 is it important to have the data accessible for SEO? if yes, use plain PHP. Quote Link to comment Share on other sites More sharing options...
coupe-r Posted January 31, 2011 Author Share Posted January 31, 2011 No, this is a private web application, where all results are specific to the user. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 31, 2011 Share Posted January 31, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.