![]() |
![]() ![]() |
![]() |
wysocki |
![]()
Post
#1
|
Newbie ![]() Group: Members Posts: 11 Joined: 22-February 11 Member No.: 13,950 ![]() |
I've been given the task of coming up with a SIMPLE online auction website for a local charity. They will have a few dozen articles and a few dozen shoppers wandering around tables at a fundraiser. The tables will have the items on display along with an item number. I'd like a system where I (as administrator) can add new shoppers as they come in and have them browse to my website with their devices. There they login, and are shown a list of all items, with current bid price. Then they can select an item to see details or make a bid.
As a programmer, I've worked with PHP, Javascript, MySQL, HTML. I can easily build a database with the shopper and item data. But then I need to code the system. So the hard part is that I need a method to frequently update pages with current values from the database (AJAX?). I've searched github for a solution, but they're either overly complex, undocumented or use tools I'm not familiar with. Any suggestions that can get me started? |
Christian J |
![]()
Post
#2
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 9,353 Joined: 10-August 06 Member No.: 7 ![]() |
So the hard part is that I need a method to frequently update pages with current values from the database (AJAX?). I've searched github for a solution, but they're either overly complex, undocumented or use tools I'm not familiar with. Any suggestions that can get me started? Perhaps you could let a javascript timer send an Ajax request to the server every second or so? There's also server Push, but I know even less about the details: https://en.wikipedia.org/wiki/HTTP/2_Server_Push https://developer.mozilla.org/en-US/docs/Web/API/Push_API |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 25th March 2023 - 06:43 AM |