The PHP Simple Pagination Class
Pagination just means numbering pages. In the project that I was working on, I was retrieving large amounts of data from a MySQL database and realized that I would have to break the data up into pages for two main reasons, 1) there was so much data that it could hang the browser when it was loading and 2) from a user perspective (we still care about that right?) it was unruly to say the least. If I was returning 50,000 rows from a database query, I knew that I would need to slice that up into more manageable chunks. Now in the past, I had written basic pagination functions to handle this type of issue and sometimes copied and pasted functions from older scripts to cut down on development time, fixing and re-coding where necessary. But I realized that for this new project I could try to write a pagination class that I would be able to just plug into any script and have it do the pagination for me.
Alibaba Clone Script - Buy2AlibabaSponsored
Micro Jobs Theme - Setup a website like Fiverr today *New 2022*Sponsored
Help/Fix on AWS Auto Scaling (1 Hour)
One hour of help to troubleshoot or fine tune AWS Auto Scaling behaviour.
Configure EC2 Auto Scaling
Setting up EC2 Auto Scaling to automatically adjust the number of servers based on traffic, performance, and demand.
Help/Fix on identifying the most cost effective AWS spot instances based on instance type and region (1 Hour)
One hour of help to choose the most cost effective AWS Spot instances for your workload.
Overall cost optimisation by monitoring AWS Cost Explorer
Analyse AWS costs using Cost Explorer and suggest practical ways to reduce monthly bills.


