sergiollana / datatables-flask-serverside Goto Github PK
View Code? Open in Web Editor NEWServer-side DataTable with Flask
Server-side DataTable with Flask
I am currently trying to adapt this to working with an sqlite database using peewee ORM. First thing I did was trying to use it without altering the code, just dumping the whole database with about 1000 entries into it. It sort of worked, but it takes about 10 seconds to process and show data on page, which is obviously not acceptable if it only takes <1 second to query just 10 of the required entries and send only them.
So I don't see how this particular module is useful as is. The point of server side processing, even if you work with large dataset already in RAM (which uses who?) is to speed things up. In this example when you have like 10-100 rows you might as well just dump them all to the client side and let them sort it there.
As an example it works great, though, but working on rewriting it to work with peewee ORM natively
..\app\mod_tables\serverside\serverside_table.py
Line 111: (self.request_values['iSortingCols'] > 0):
..\app\mod_tables\serverside\serverside_table.py
Line 111: (int(self.request_values['iSortingCols']) > 0):
Could you add a license to this repository to clarify the degree to which others can use/reuse what's here?
Can anyone give me a example ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.