HOW TO DEAL WITH LARGE AMOUNT OF DATA IN TABLE USE OF DATA TABLE - Introduction
HOW TO DEAL WITH LARGE AMOUNT OF DATA IN TABLE USE OF DATA TABLE - Introduction
This is the introduction of this series, i created for newbies struggling with large data records and want to learn Jquery data table and like to reduce loading of web page which is in three parts.
1. First part is about how to use data table in our web page and some functionality of data table
2. Second part is about paging , filter and searching in data table
3. Third part contain how we get data from server on each event like paging , filter and searching
DATATABLE PART 3 -coming soon
4 .Fourth part is additional contains some code example of .net example in which i use this all for run this Complete stuff in our MVC .net application with C# and DATATABLE in which i load student list in table from server .
DATATABLE PART 4-coming soon
When number of records coming from database into a table on your web page is too large , it takes time to load your web page.
For example , you have large collection of student data in your database it increases day by day , year by year
you want to reduce the time of loading that page on your website which shows the list of student this simple hack can reduce your loading time very remarkably .
For this you must have knowledge of data table a Jquery plugin ,API and JSON
DATATABLE :
Datatable is a Jquery plugin use for showing fancy table with functionality of paging, searching and filtering .
For more information about Datatable you can learn here complete datatable
https://datatables.net/
API : API stand for Application programming interface
It work as courier service in server and client communication it is way of sending data and get data from server
for more information your can go to here
https://www.mulesoft.com/resources/api/what-is-an-api
JSON : json stands for JavaScript object notation , it is a simple format in which data of object could be store and transfer before json, xml is used for same job.
When you request web page , server send complete data with page , due to increase the in the data , size of page become bulky , Its takes much time to load.
So what we have to do is
We will not get data with page we use server side rendering of data table
each and every time we come with different record on changing our page number ,search and filter given by data table
The hack is every time we take our data from server it hardly get 10 or 20 record in every request
It all manage by data table you have to worry about only getting data from server side .
Next is about

Comments
Post a Comment