This tutorial teaches you how to design a system with a pagination
that loads and gets new items or contents automatically from the database just
as Facebook / Google Plus does and displays on the screen to the user as the
user scrolls the page down using Ajax, Jquery and PHP.
In the past, i gave several tutorials on pagination where you have to click on
a button to load more data or content from a database and this process requires
the effort of a user before more contents or data can be loaded from a database
and its also time consuming.
As a result of this, i decided to come up with another similar tutorial where
you do not have to click on a button to load more contents from a database. All
you need to do is to scroll down to read the contents on the page while more
contents are loaded and displayed on the page.
One major feature of this application is that, it does not work with the ID of
each content loaded from the database as it is in the case of our previous
tutorials but counts the number of items which have been loaded from the
database and then use this number to check for the remaining contents which are
left in the database for the next contents to be loaded. Am sure you understand
what am talking about.
This application comes with a plugin which has been designed for you to just
set things the way you want.
For instance, you can set the total number of items you want the script to load
at each down-step, you can set the position you want the loading process to
start from, you can set the script to load manually or automatically depending
on what you prefer, you can set your desired label for "Loading
Status", you can set your desired label for "Finished Contents in the
database" and much more.
This is a very simple to understand application as all you need to do are well
explained in the script.
The script is very easy to understand and customize with programming code
comments to ease usability.
To install the system on your server, simply download the zipped folder
containing the required files, extract it to your system, open a file named
README.txt then follow the three installation steps given in that file.