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 #183620 is a reply to message #183612] Sun, 03 November 2013 00:28 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Sat, 02 Nov 2013 19:36:07 +0100, Arno Welzel wrote:

> We all know that PHP can be used in different ways and not just "server
> side". But when saying "PHP is normally used server side" this does not
> say anything at all about where PHP *can* be used, just what it is
> *meant* to be used for and what its strengths are. Just think a moment
> about the history of PHP - it all started as a set of tools to create
> HTML documents on the server:

s/*meant* to be/(usually|commonly|normally)/

I don't think php is meant to be used for anything, per se, as in there's
no god given order that "thou shalt use php to do x".

But php was originally designed as a scripting language to sit behind a
web server and dynamically create html content. It has since morphed into
many other things, and it has many other uses, but I imagine that the
majority of php code that is executed on a daily basis is sitting behind
a web server generating (x)html pages and / or other content intended to
be accessed by means of a web browser and / or otherwise processing http
requests.

Let's assume that globally, on all computers that have some form of php
interpreter, a total of 3.5 * 10^13 php code statements are executed.
This is a manufactured figure, a guesstimate, if you have a better figure
for the number of php statements executed daily on a global basis, I'd
love to hear it, and how you arrived at it.[1]

Now, what proportion of that php code do you think is involved in
responding in some way to an http request, and what proportion of that php
code do you think is not involved in responding in some way to an http
request? Because I would guess that upwards of 90% of those 3.5 * 10^13
lines of php is involved in responding to an http request, and I would
happily state that I would consider that if over 90% of the php that
executes globally on a daily basis is executing in response to http
requests, then php is normally executed in a server environment in
response to an http request.

[1] That's the equivalent of 3.5 billion people (50% of the global
population) making 100 requests each, and each request causing 100 php
code statements to be executed.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
[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: Thu Nov 28 22:38:28 GMT 2024

Total time taken to generate the page: 0.05167 seconds