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 #183599 is a reply to message #183584] Sat, 02 November 2013 00:24 Go to previous messageGo to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
Michael Vilain, 2013-11-01 17:53:

> In article <52721771(dot)6090201(at)arnowelzel(dot)de>,
> Arno Welzel <usenet(at)arnowelzel(dot)de> wrote:
>
>> Christoph Michael Becker, 2013-10-30 20:54:
>>
>>> Jerry Stuckle wrote:
>>>
>>>> One question - since both you and Thomas seem to be from Germany, and
>>>> have the same misunderstanding of the word "normally", what does
>>>> "normally" translate to in German? What does it mean?
>>>
>>> In Germany it is "normalerweise"/"üblicherweise", what means as much
>>> usually. Anyway, a misunderstanding of the term "normally" is not the
>>> problem here for me. In my opinion, it is correct to state: "PHP is
>>> normally (usually, most often etc.) used on a server (for server-side
>>> programming)."
>>>
>>> It is as well correct to state: "No programming language is normally
>>> either server-side or client-side." Otherwise it would mean, that there
>>> are programming languages that couldn't be used outside of a
>>> client-server context.
>>
>> Exactly *this* is the wrong assumption, what "normally" means in this
>> context. It does *NOT* mean that a language can *never* be used in other
>> ways - it only says that is the the most common use of it.
>
> I've never seen javascript run on anything but a browser. Unless
> someone's developed a non-browser version, I personally consider it a
> client-side scripting language. It's meant to control a browser and
> nothing else, which is the client for web pages.

JFTR: see Node.js - this is "server side" JavaScript:

<http://nodejs.org/about/>

But generally you're right - the more common use of JavaScript is
"client side" and originally JavaScript has been created just for this
purpose, even though ECMAScript is not limited to this and can virtually
be found anywhere (even as scripting language for Office applications or
for command line tools).

Therefore I would also not call JavaScript a "normally server side
language" - using it on a server is just another option.

> php is not intended to run on the browser. It runs on the server that
> the browser talks to. It can run as part of the web-server or from the
> command line. Same for perl, Java, python, ruby, or C. To me, that
> makes them server-side programming languages.

I even don't know any PHP runtime for browsers.

> I don't know if that matches other's definitions of server-side vs.
> client-side, but that's my definition.

I would define "server side" in the context of PHP as "will usually not
be executed by a user agent". If the "server" is a public web server or
just the box sitting under your desktop does not make a big difference.


--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
[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: Sat Nov 23 08:31:09 GMT 2024

Total time taken to generate the page: 0.04717 seconds