FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » checking for audio playing ???
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: server-side vs.client-side [message #183532 is a reply to message #183526] Wed, 30 October 2013 02:18 Go to previous messageGo to previous message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma:
Senior Member
Jerry Stuckle wrote:

> On 10/29/2013 4:45 PM, Christoph Michael Becker wrote:
>> Arno Welzel wrote:
>>
>>> Thomas 'PointedEars' Lahn, 2013-10-28 03:22:
>>>
>>>> Richard Damon wrote:
>>>>
>>>> > […] The one thing that is fairly certain is that the
>>>> > player will almost certainly NOT be written in PHP,
>>>>
>>>> That much is true.
>>>>
>>>> > as PHP is normally a server side language, and few clients will
>>>> > understand
>>>> > it.
>>>>
>>>> A common misconception. *No* programming language is “normally” either
>>>> “server-side” or “client-side”.
>>>
>>> Historically PHP had *always* been targeted to be used on a server to
>>> generate output for one or more clients delivered via HTTP. That's the
>>> reason why there are modules for Apache, why PHP supports CGI and why
>>> literally every book about PHP teaches how to create websites using PHP
>>> and not how to build desktop applications using PHP.
>>>
>>> Just because it is technically possible to set up a PHP runtime
>>> environment literally anywhere and <http://gtk.php.net/> exists it does
>>> not make PHP a language which is also be used on "client side". BTW -
>>> the last update of <http://gtk.php.net/> dates back to August 2010...
>>>
>>> The opposite is true for ECMAScript which is fact used "server side" and
>>> "client side" as well also in real applications.
>>>
>>> But for sure you can name some popular PHP based desktop applications
>>> that prove it wrong, that PHP is *usually* only used "server side" - can
>>> you?
>>
>> It seems you're not taken into account command line applications, for
>> which PHP is well suited.[1] These often run outside of any
>> client-server context, such as phing and phpunit (which I am using
>> "every" day), for instance.
>>
>> [1] <http://php.net/manual/en/features.commandline.php>
>>
>
> Sure, there are command line applications. But what percentage of the
> PHP scripts out there fall into this case?

Thomas said (see above for reference):

| *No* programming language is “normally” either
| “server-side” or “client-side”.

Pointing out a single PHP application that runs neither "server-side"
nor "client-side" proves this statement wrt. PHP (that doesn't prove the
argument, though, but one can easily imagine any programming language to
be used outside a client-server context). I pointed out two such
applications.

> You're as bad as Pointed Head. You don't understand what the term
> "Normal" means. Maybe you're in the same alternate universe he is.

You may want to reconsider this statement. :)

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: There is some confusion on my site I should clear up
Next Topic: accessing nested unknown unserialized objects
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 21:03:02 GMT 2024

Total time taken to generate the page: 0.04935 seconds