What are the advantage to use Datatables Server Side VS plain PHP/AJAX table?
What are the advantage to use Datatables Server Side VS plain PHP/AJAX table?
Hi,
I have a regular table, the table is empty when page load, the data is loaded only when user selecting drop down using AJAX & PHP PDO OOP MySQL around 10k data.
When using server side, we have to program the search and the pagination, so what are the advantage to use Datatables for this?
Is there any good tutorial about Datatables Serverside with PHP & MySQL?
I already checked the Datatables documentation and serverside file, I need more info than that.
This question has an accepted answers - jump to answer
Answers
For the moment I append the table element using Ajax, PHP and MySQL.
What will be the difference on performance compare to Datatables server side method?
In terms of simply displaying a table, I doubt there will be any appreciable difference in performance. Both should happen in just a handful of milliseconds.
Perhaps you could say what you need that isn't in the documentation? That way I can add it in and everyone can benefit!
There is also a live example which shows the interactivity of DataTables - which is the main benefit over a plain table.
Allan