in reply to CGI vs Tk for application backend

Go for the browser interface. The GUI is usually referred to as the "frontend" in a user app, "backend" meaning the supporting database/filesystem and maybe the cgi itself.

To connect to a Tk app, the user would need to establish a remote X or vpn connection. That would be really unusual, generally requiring an account on the server.

After Compline,
Zaxo