My partner and I are on a quest to code a website that operates almost identical to this one: Auction | Cheap TV laptop ipod auctions - bid & win on Swoopo
I know that the most efficient way to handle a website of this nature is definitely with a Java back-end using Javabeans to keep the client side, server side, and cache variables updated at once. However, we've got no experience with that and the learning curve is unrealistic for our timeline.
Languages: PHP, Javascript, and AJAX.
I'm looking for advice. As a programmer, if you had to code this site, how would you code this bidding and keep it Real-Time without completely slamming the server by pinging a database? The updating would need to be asyncronous.
How could I code this without receiving a bid, storing it, and constantly pinging the database from all client browsers to keep the bids and timestamps constant and updated at all times?
How can I use PHP or Javascript to keep real-time data on the screen for all users in a resource feasible way? If this isn't possible, please don't hesitate to educate me...
Thanks in advance for any ideas or feedback you guys have!
I know that the most efficient way to handle a website of this nature is definitely with a Java back-end using Javabeans to keep the client side, server side, and cache variables updated at once. However, we've got no experience with that and the learning curve is unrealistic for our timeline.
Languages: PHP, Javascript, and AJAX.
I'm looking for advice. As a programmer, if you had to code this site, how would you code this bidding and keep it Real-Time without completely slamming the server by pinging a database? The updating would need to be asyncronous.
How could I code this without receiving a bid, storing it, and constantly pinging the database from all client browsers to keep the bids and timestamps constant and updated at all times?
How can I use PHP or Javascript to keep real-time data on the screen for all users in a resource feasible way? If this isn't possible, please don't hesitate to educate me...
Thanks in advance for any ideas or feedback you guys have!