Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14615

Re: newbie

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: newbie
Date Wed, 19 Nov 2014 10:11:07 +0100
Lines 27
Message-ID <546C5EAB.2080504@arnowelzel.de> (permalink)
References <m3o3m5$pis$1@gregory.bnet.hr> <546B784A.6040903@arnowelzel.de> <m4g1g4$l3a$1@solani.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net nsgqM5qLn87rC6XM9ydGOAoztrCnYZl8XHiXGugOIAXGtQPHNv
Cancel-Lock sha1:h/tqbXB7Z8zv3DuvbTcoxQ6Zwfs=
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To <m4g1g4$l3a$1@solani.org>
Xref csiph.com comp.lang.php:14615

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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