I have a collection of rows, I can generate Table(HTML) out of it using PHP (server side)
or I can send the raw data to the client side and generate the Table there using JavaScript
Which one is better and way?
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.
The server side would run faster as you do need to go over the collection of rows anyway in order to make a string out of it
so instead of doing that, you better create the table already…
rendering content using JavaScript in also an anti-pattern of SEO!