To be honest, I'm not sure how to approach the problem. I've done very little web programming so I'm not sure what tools and functionalities are available to you. It might depend a lot on the server side software too.