EC technical Q
EC technical Q
Out of context: Reply #2
- Started
- Last post
- 5 Responses
- neverblink0
The reloading is done with Ajax (they could be using jQuery, which is just a javascript library which also uses Ajax).
The page holds an offset which records which offset the page is currently on. Then a javascript is used to call a back-end script which does a call to the database to get items from offset to offset+5 with a sql-query. Then either the back-end script shapes the database-anwsers into html and sends that back to the javascript or the the back-end script makes a JSON-object and send that back to javascript which in turn makes the html for the page.