Tagged Questions
0
votes
0answers
24 views
Should I use session or cache to keep the time it last polled when polling to server at intervals?
I'm building a web chat app using session to keep the time the app last polled so that the server can determine whether messages exist between the current polling time and last polling time. It works ...
-1
votes
1answer
31 views
Load partial data and data sorting [closed]
I have one database table that I query on load and display items in a list sorted out by dates (latest first). However, as the table may become quite big, I only fetch the n first rows.
To see more ...
0
votes
2answers
297 views
“Match Making” script, a way without involving the database and php?
I am writing a matchmaking script for a game through a web portal. For the past few days I have been looking into the different options and I believe the following approach would be the most optimal ...
3
votes
2answers
325 views
Displaying items with a countdown timer
I am creating a widget for rotating topics. The functionality is as follows:
Each topic is displayed one by one on the homepage and has a duration of 30 seconds.
A countdown timer is displayed on ...
1
vote
3answers
322 views
What happens to get database information on the server-side with AJAX?
I'm slightly confused about how AJAX works. I mostly understand the PHP/MySQL model of retrieving database information for the user, but how does AJAX do it?
From what I understand the AJAX engine ...