Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Florens4437yI just did that :/
Didn't want to bother with pagination and I'm only expecting about 600 rows max so it shouldn't be a problem for now. -
RTRMS37897y@Florens ya that fines, were expecting that many and more before we even launch. Withing a few weeks it will be closer to tens of thousands.
-
Root825577yThis is why one of my features is taking so long.
I don't want to send everything at once, so I need to write my own paginator plus API for searching. And I just don't wanna. Especially dont want to touch the JavaScript on the site. I hate mixing JS and rails.
By contrast, the rest of the suite (three quasi-separate applications) use "DataTables" which is a javascript paginator and table sorter that expects all of the data at once. It's present on everything, including a table with tens of thousands of rows. And everyone wonders why it's slow and crashy. 😞
Ugh. -
Florens4437yI'm using flask + bootstrap-table. It has support for pagination but it's client side by default and the documentation is kinda bad.
-
RTRMS37897y@Root I used datatables a while back, probably round chrome 40, sent 45k rows to the FE and it handled it like a dream, even in ie8
-
Root825577y@RTRMS it's actually rather nice until your datasets start getting too large.
I don't like the idea of using a tools I will have to replace. Better to spend extra effort now so you don't have to revisit it later on when you've forgotten how everything works.
Related Rants
-
Paralax6Asks Cortana to tell a joke, and Cortana opens Bing. Made my day, well played Cortana
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
"Don't worry about pagination, we can just send the whole database to the front-end" ~ My Boss, being serious AF.
Worst of all, he has worked in system development for 20 years, he is not meant to be this stupid.
rant
wtf
project manager
project managers say the stupidest things
jokes