Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datatables pseudo-serverside getters #7

Open
iimog opened this issue Jul 20, 2016 · 0 comments
Open

datatables pseudo-serverside getters #7

iimog opened this issue Jul 20, 2016 · 0 comments
Assignees
Milestone

Comments

@iimog
Copy link
Member

iimog commented Jul 20, 2016

A function that simulates a server side datatables request. It takes an object of parameters as generated by datatables. It returns the requested slice of data while adhering to sorting, pagination, etc.
This is necessary as data can not directly be used in this way:

var biom = new Biom({/*biom object containing data*/});
var dt_data = biom.data;

One problem is that data can be in sparse or dense format. Datatables needs dense format. Converting might not be convenient for the user. The second problem is that there can be huge amounts of data and datatables will be very slow if confronted with the full dataset. The way around this is using server side data where only the required data (and information about the total amount) is available and displayed. The required slice of data can be calculated quickly and returned by this function.

@iimog iimog added this to the v1.0.0 milestone Jul 20, 2016
@iimog iimog self-assigned this Jul 20, 2016
@iimog iimog modified the milestones: v1.1.0, v1.0.0 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant