I'm using the SilverStripe CMS/MVC Framework. My coder says that Pagination must be done with Javascript (instead of PHP) in this Framework. But now I'm a bit worried about scalability. If I understand correctly, this means that all the results are loaded at once (via php), and javascript is used to paginate these, so you only see 10 or some limited amount until you click the 'next' arrow. Works fine with the current 40 records for testing. But if there are 1,000 records in the database, or 100,000, and these all had to be preloaded before you could see even the first page of 10, then wouldn't this really slow things down? At what number of records might one start to see this slowdown? Any suggestions/ideas..?
Making Pagination in Javascript Scalable (for large # of db results)
257 views Asked by user2671645 At
2
There are 2 answers
0
jfbarrois
On
Pagination is out of the box with SilverStripe See an example+tutorial here : http://doc.silverstripe.com/framework/en/howto/pagination
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in PAGINATION
- In Datatables, start value resets to 0, when column sorting
- React Query infinite scroll pagination resets to first page
- How to implement pagination on the custom dropdown item's in flutter
- How to modify HTML in WordPress core file
- CakePHP 4 Custom Routing Issue with Paginator Links
- How to set up the link for the paginated files in the Get Rows(V2) Logic App connector and pass it via Azure API call?
- Paging 3 Library with Jetpack Compose Not calling the load method after initial load
- Customising Mui pagination to dots instead of numbers
- Performance degradation in Asynchronous paging
- PrimeNg paginator wont display "Entries per page" or Showing entries per page
- WordPress Pagination not working Properly with Custom Post Type
- Is it possible to programmatically access rows from different pages within a TablePress table that utilizes pagination?
- Pagination does not work in Apollo React Native
- Vue 3 component not rendering on the page
- pagination node.js mongoose express, am I doing it wrong?
Related Questions in SILVERSTRIPE
- How to make the header section Sticky of a Silverstripe GridField in the CMS
- In SilverStripe/GraphQL 4 how do I get the bulkLoader auto generated schemas to allow has_many and many_many updates?
- Filter Files that the current user has permissions to view
- Silverstripe FulltextSearchable use Operators
- Save a field for every SiteTree item
- SilverStripe 4.12 Email->addAttachment() from input file form
- Silverstripe GraphQL error after injecting the Member class and adding a custom Member class
- Changing / setting CSS from a CMS value in Silverstripe 5
- Adding and removing Actions from Silverstripe BulkManager
- Silverstripe 404 Error - for public and admin
- Silverstripe 4.11 queuedjobs send emails in Chunks timeperiode
- Silverstripe 4.11 access dev/tasks with cronjob on localhost
- Permissions Errors when running dev/build
- Sliverstripe CMS populate dropdown with enum values
- Silverstripe throwing sendmail error on ForgotPassword form and member password change
Related Questions in SCALABLE
- Optimal way of calculating like count on many posts. FullStack
- Optimizing Event Notifications in a Scalable Application
- How ordering is maintained for multiple instance of the same same subscription in GCP Pub Sub
- Capturing analytics Instrumentation events
- Design Rate limiter for outgoing http calls without discard
- Suitable technology for scalable cloud app with API for approx 100K requests per minute
- I can't get this map method to print the components that I want to
- Kubernetes design app for highly scalable
- Group together individuals based on commonalities(direct or indirect) in two other columns for 7.5 million dataset in python
- Is it possible to create clusters in MapDB?
- Designing a scalable backend system that triggers events based on time values
- Scalable approach to make values in a list as column values in a dataframe in pandas in Python
- How to schedule multiple parallel jobs dynamically in Spring boot that scales to millions of users?
- Adding cache in search service
- Avoiding chained if statements for XML parser in C++
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It depends, but it will slow down. Can be at 500 records, or 5000. If the server-side framework doesn't support pagination, implement it yourself. You can use Ajax on the client side for a smoother user experience when switching pages.