Hello, web2py-users: I've been working on an Interactive Fiction framework in Python. I want to hook it up to the web, and I'm running all over the Net poking different things. One of the things I've been poking is web2py. While I'm fairly competent with Python, I'm wallowing in noobery when it comes to the web. What I have so far:
The IF framework (Python) A minimal UI (HTML/JavaScript: output window and input box) What I do not have is the bridge between the two. (Essentially I want the UI to behave like a console. Navigating to the page for the first time, the output window (an iframe) asks for your username. You supply it, and then the output window refreshes with a new line asking for a password. You supply that, and then you begin playing. The page doesn't refresh, just the output window, so I assume I need to use AJAX (which I've been poking)). What do I need to talk to my IF framework from this minimal UI? How does web2py fit in to this? Assuming many concurrent users, I would need a threaded server, like Apache, no? What are all the technologies I need to get from A to B? I realize the answer(s) may not all be web2py-specific, per se, but I thought I'd ask anyhow.

