Hello everyone,
Man, that title is kind of long, but it's to the point. I'm working on making a game (the same game I mention in
Map Storage For Game) and currently the way it's set up there is a server and several different clients. At the moment I'm working on writing the web client. The web client is just going to be a set of web pages with some forms that can submit data into the server. My question/meditation is how should I communicate betweeen the web front end and the server? My first thought was to use IO::Socket and such, but then that didn't seem like quite as good an idea. Because both the web pages and the server were going to be on the same machine this didn't seem necessary.
Another method I thought of was just having the web front end be part of the server and having shared variables with it, but since I'd never done anything remotly like this I thought asking couldn't hurt.
Anyway, I was just having some problems with this and I thought I'd present it to my brothers at the monastary.
(BTW, I've tried to RTFM but I couldn't find anything that seemed relevant. If someone has a link to something similar to my problem then that would be great too.)
-Ben Jacobs (dooberwah)
"one thing i can tell you is you got to be free"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.