Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( #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
Node Status?
node history
Node Type: note [id://677343]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2018-06-23 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?