Comments (2)
Yea that could be useful. Is this for handling page numbers from urls/routes? Tastypie's pagination is more like a cursor so i'm cautious about adding "pages" to the api. I'd counter with with the ability to fetch from an arbitrary offset vs. pages. You could then pass the offset to urls.
from backbone-tastypie.
Considering that tastypie actually returns the total count of the objects would it not be relatively easy to do bounds checking etc knowing how big each page was?
from backbone-tastypie.
Related Issues (9)
- is argument needed for fetchNext() ?
- Merging pagination into the other backbone-tastypie HOT 7
- collection.meta is static and shared among every collection created
- add a note that super.initialize should be called when overriding initialize HOT 2
- filters in a Backbone.Collection HOT 1
- reset() function not resetting limit and offset HOT 1
- fetching individual models
- Bower support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backbone-tastypie.