In an admin panel made with php, what is the best way for paging? ClientSide (jquery) or Serverside ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Think again your question: what happens when (and how)?
Client side:
To achieve client side pagination you should serve all rows (data) to your client because at this time you haven’t any info about which page needed. Then with the help of a (possibly) javascript solution splitting all of the served data into smaller chunks mimicking pagination.
Server side:
You should serve only the first (or actual) page.
I’d go with server side pagination of course.