javascript - How do I go about implementing time management for auction website? -


i making auction website ebay style computer science course. using java servlet, jsp, css, javascript , mysql implementing alla different parts. can't understand how go implementing time management different items on bid. example, should manage time left each item using javascript, or should servlet? how should implement these methods? in need explained theory behind time management in websites. gratefully apprecieate tips, links, ideas can provide me

you want implement database-driven solution. track has money on client-side complete disaster.

at basic level, boils down these steps:

  1. create database containing current bids, day expire etc.
  2. make java script queries database retrieve bids. server side responsible checking if bids have expired , removing them etc.
  3. the javascript part responsible displaying remaining time user.

if have little no knowledge of how tools picked work, start understanding them first. there books written on topic.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -