Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14615
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: newbie |
| Date | 2014-11-19 10:11 +0100 |
| Message-ID | <546C5EAB.2080504@arnowelzel.de> (permalink) |
| References | <m3o3m5$pis$1@gregory.bnet.hr> <546B784A.6040903@arnowelzel.de> <m4g1g4$l3a$1@solani.org> |
Am 2014-11-18 um 19:00 schrieb Christoph M. Becker: > Arno Welzel wrote: > >> Am 2014-11-09 um 17:10 schrieb Haris Bogdanovich: >> >>> I made a tic-tac-toe in Javascript, it works OK and I want it online for >>> two players. Do I have to rewrite it in PHP or use AJAX or some other way ? >> >> Both - you need something on the server to keep track of running games >> and the connected users and you also need some code to send the player >> moves to the server and transmit them to the opponent. > > However, that doesn't necessarily mean that anything has to be ported to > PHP. At least the server has to act as a kind of broker for the clients to enable connections between them - and this is where PHP may be involved. Of course you can also use Node.js on the server side as well, if you prefer JavaScript on the server. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
newbie Haris Bogdanovich <haris.bogdanovic@gmail.com> - 2014-11-09 17:10 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-09 11:46 -0500
Re: newbie Arno Welzel <usenet@arnowelzel.de> - 2014-11-18 17:44 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-18 16:07 -0500
Re: newbie Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-09 18:31 +0100
Re: newbie Luuk <luuk@invalid.lan> - 2014-11-09 18:41 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-09 16:38 -0500
Re: newbie Arno Welzel <usenet@arnowelzel.de> - 2014-11-18 17:48 +0100
Re: newbie "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-18 19:00 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-18 16:06 -0500
Re: newbie Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-18 22:54 +0000
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-18 19:18 -0500
Re: newbie Arno Welzel <usenet@arnowelzel.de> - 2014-11-19 10:12 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-19 06:37 -0500
Re: newbie Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-19 12:59 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-19 10:45 -0500
Re: newbie Arno Welzel <usenet@arnowelzel.de> - 2014-11-19 17:18 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-19 13:23 -0500
Re: newbie Arno Welzel <usenet@arnowelzel.de> - 2014-11-20 08:19 +0100
Re: newbie Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-20 09:01 -0500
Re: newbie Arno Welzel <usenet@arnowelzel.de> - 2014-11-19 10:11 +0100
Re: newbie Erwin Moller <erwinmollerusenet@xs4all.nl> - 2014-11-19 15:02 +0100
csiph-web