I am going to use Flask micro-framework (based on Werkzeug, and I'll be using Python 2.7 or 2.6) to make a games website.
I want to allow users to vote (simple 1-5 stars) on games, and also to track how many unique visits there have been to each game page - such that I can dynamically order links to the games based on their score/popularity.
Currently I plan on using the client's remote address (via this attribute: http://werkzeug.pocoo.org/documentation/dev/wrappers.html#werkzeug.BaseRequest.remote_addr) to test for uniqueness, by storing all the ip-addresses that have voted for/visited a game so they cannot vote again, and their visit only gets recorded once.
For the voting: it is important that users don't have to login.
Is this a good way to go about this, what are it's advantages/disadvantages?
Or can you think of a better solution? Are there ways built into the framework to handle these tasks you know of?
Thank you very much for your help, it is very much appreciated :-)
Jonathan