|
Posted by Thomas 'PointedEars' Lahn on 03/30/06 07:01
Steve Chapel wrote:
> Thomas 'PointedEars' Lahn wrote:
>> web.dev wrote:
>>> The Numerator wrote:
>>>> I was just wondering that if it is possible to do almost anything you
>>>> can do in JavaScript in PHP.
>>> Off the top of my head, I would say no. Because in my opinion, one
>>> of the most important essences of javascript is the dynamic DOM
>>> manipulation, which PHP can not do.
>>
>> But it can. You are confusing interface language and object model.
>>
>> <URL:http://php.net/dom>
>
> Yeah, but JavaScript runs on the client, PHP on the server.
Not necessarily.
> In order for PHP to do anything, the browser has to contact the server and
> get a repsonse. How would PHP, running on a server, open a new browser
> window on the client's computer?
The concept and interfaces of the Document Object Model are not restricted
to an HTML UA, nor is opening a window part of the DOM (in the original
sense).
PointedEars
Navigation:
[Reply to this message]
|