Find Jobs
Hire Freelancers

Custom Pagination of Cached and Remote Data

$25-50 USD / hour

In Progress
Posted almost 11 years ago

$25-50 USD / hour

I've written a Wordpress plugin that utilizes Vimeo's API to display videos on a user's blog. The plugin retrieves a dataset of 50 videos from the API and caches it to a local file. Then, the plugin will display a portion of those 50 videos (say, 20 videos, but this can be a variable number based on which template is being used, 5, 10 etc.) on each paginated set in the user's template. - When the user clicks for the "next" page of video results, I want to retrieve the next 20 videos from the cached file and show them in the user's template. This might mean either making a request to the cached file, or preloading the cache when the page loads - that's up to you, the expert. - When the user clicks "next" again, the script should recognize that the cached local file does not have all of the data that the user is requesting. Therefore, the script should identify that a new request to Vimeo needs to be made to retrieve the next 50 videos in the dataset. The request endpoints are automatically generated by Vimeo and are returned with each request (so, the first endpoints can be found in the local cached file.) Those next videos (51-100) can be sent to the template, but the template should only show videos 41-60 (41-50 would be in the local cache, and 51-60 would be from the newly-made request.) The new request does not have to be cached to a file. - This can go on for an unlimited amount of videos, with a new request being made to Vimeo each time that the dataset reaches the end of what is local and not cached. - With each paging request, we should also change the URL to include which paginated set the user is currently viewing. This functionality is achieved by using the HTML5 history API. - Long term, I'd like for parameters in the url to bring the visitor to a specific state in the view, for example: visiting [login to view URL]:4 takes you to the fourth page of the dataset visiting [login to view URL] links you to the page in that dataset containing that specific video. In general most of my ideas fall around that concept of pre-warming your cache. Instead of caching when the user requests the data, attempt to anticipate what data they want, and have ways to build a cache after the user has been served data they initially requested. I'm basically looking to recreate the functionality of the gallery this page, but on a user's Wordpress site: [login to view URL] Notice how paging not only loads a new video set, but changes the URL of the page. This functionality is achieved by using the HTML5 history API. I'd like to recreate this as well. Also, visiting [login to view URL]:4 takes you to the fourth page, which I'd also like to achieve. Finally, visiting [login to view URL] links you to the page containing that specific video. I did my best to describe what it is that I am looking for, but I may not be completely on point with the best technical solution to this project. I'm leaving that up to you, because you're smarter than I am and can take the reigns and make decisions for the best software architecture and user experience. You should feel comfortable and have experience with the problems of pagination and how to best solve them, how to use jQuery to handle large datasets, and how to use AJAX and PHP to request and filter through those datasets. Wordpress experience is a definite plus. I have taken time to write this post, so to be sure that you've read and understand the requirements and are willing to take it on, please do not leave a generic message simply saying this will get done. Make me feel confident that you understand what I'm trying to achieve and try to provide evidence of being capable of my project by sharing a past experience that you may have had with a similar project. This will only help us both work best together and give you a better chance at getting the job.
Project ID: 4635179

About the project

5 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $37 USD/hour for this job
User Avatar
PHP/MYSQL expert here. can debug the code and fix it for pagination.
$41 USD in 20 days
4.9 (340 reviews)
7.6
7.6
User Avatar
Hi, With a vast experience of 115+ Web Applications Developed/Designed and with a strength of 150+ Developers/Designers, I can assure you for a Product you are looking for. Please refer PMB for our detailed proposal. Hope to hear from you soon. Thanks & Regards, AppStudioz
$28 USD in 40 days
5.0 (3 reviews)
7.0
7.0
User Avatar
Hi we checked your requirement,We could develop as per your need. u could check that out. we would work till your satisfaction. Thanks & Regards Techwelfare Please check inbox for our previous work.
$26 USD in 3 days
4.7 (149 reviews)
7.0
7.0
User Avatar
Hi, We can give you the best and quick output. We have a professional team in your required area, they work sincerely. You will get your desired output from us. We are very much concerned about quality and customer satisfaction. Hope to work with you. We will be glad to assist you. Please check private message for more details.
$51 USD in 40 days
4.7 (5 reviews)
5.2
5.2

About the client

Flag of UNITED STATES
Chicago, United States
5.0
2
Payment method verified
Member since Jan 26, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.