Building a simple auction site, I need to quickly create a simple auction website for charity |
Building a simple auction site, I need to quickly create a simple auction website for charity |
wysocki |
Jan 18 2023, 04:21 PM
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 |
Jan 19 2023, 07:23 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,722 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: 27th September 2024 - 05:46 AM |