Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: What's a good alternative to browser-webapp-webserver for remote apps?

by rudder (Scribe)
on Mar 30, 2008 at 16:14 UTC ( [id://677343]=note: print w/replies, xml ) Need Help??


in reply to Re^3: What's a good alternative to browser-webapp-webserver for remote apps?
in thread What's a good alternative to browser-webapp-webserver for remote apps?

This generally entails some sort of half-model-plus-protocol that replicates most of the model information on the client.

Ok. So, I'm guessing that means maybe something like:

player:position_x=120;position_y=83;orientation=52.2 ...

and so on for other objects or events in the game (though probably in some more condensed format).

Having written one of these in AJAX, ...

Just curious: what format did you choose for sending your data back and forth? XML? Plain text? Something else?

  • Comment on Re^4: What's a good alternative to browser-webapp-webserver for remote apps?
  • Download Code

Replies are listed 'Best First'.
Re^5: What's a good alternative to browser-webapp-webserver for remote apps?
by dragonchild (Archbishop) on Mar 31, 2008 at 19:10 UTC
    Definitely in some more condensed format, though that condensing can often be provided by mod_deflate / mod_gzip.

    We used JSON which is a proper subset of YAML. Very nice format to work with when chatting with Javascript. It also compresses very well. :-)


    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://677343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2026-05-11 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.