x


Network class vs php for authoritative actions?

I am making a game that requires a great deal of calculations to be done on the server to then communicate with a mysql database. I do not know much about the network class and was wondering if i should use It for this or just use the WWW class to communicate with php?

more ▼

asked Jun 23 '12 at 08:32 PM

filler03 gravatar image

filler03
117 16 26 34

I guess your question title has a typo,

Network class vs WWW ...

Jun 23 '12 at 08:59 PM Fattie

I didn't know if the 2 were supposed to be used together or if they were entirely seperate sorry.

Jun 24 '12 at 01:07 AM filler03
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

My vote, definiltely use WWW. Certainly, at first !

Never fuss about communication layers, just improve them aferwards if necessary.

I love just using simple, stateless URL calls for server side stuffs. Why write a whole realtime server unless it's profoundly necessary?

Be sure to get https set up on your domain.

more ▼

answered Jun 23 '12 at 08:58 PM

Fattie gravatar image

Fattie
20.1k 60 92 153

Ok so how it would work is i would use www to send a variable to php, then the php would take care of the rest of the math and send the result back to the www class right?

Jun 24 '12 at 01:09 AM filler03

that is utterly correct, yes. 100% correct. But could you pleae THUMB or TICK useful answers, to keep the site tidy. and if possible just use the one screen name !

Jun 24 '12 at 07:27 AM Fattie

Woah i didnt realize i could do that yet iv tried it before and it wouldnt let me. Ill start doin it now that i can do it thanks man.

Jun 24 '12 at 04:16 PM filler03
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x733
x548
x426
x136
x8

asked: Jun 23 '12 at 08:32 PM

Seen: 404 times

Last Updated: Jun 24 '12 at 04:16 PM