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

Home » Imported messages » comp.lang.php » How can i know the propery of a javascript object how can i see what object inclue
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How can i know the propery of a javascript object how can i see what object inclue [message #178895] Wed, 22 August 2012 05:18 Go to next message
sismaster is currently offline  sismaster
Messages: 1
Registered: August 2012
Karma: 0
Junior Member
i want to know how can i see what object include in java script and is there any tool to see what object contains
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178897 is a reply to message #178895] Wed, 22 August 2012 10:43 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/22/2012 1:18 AM, sismaster wrote:
> i want to know how can i see what object include in java script and is there any tool to see what object contains
>

PHP runs on the server; Javascript runs on the client. They cannot
"see" each other.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178898 is a reply to message #178897] Wed, 22 August 2012 11:06 Go to previous messageGo to next message
Robert Heller is currently offline  Robert Heller
Messages: 60
Registered: December 2010
Karma: 0
Member
At Wed, 22 Aug 2012 06:43:23 -0400 Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:

>
> On 8/22/2012 1:18 AM, sismaster wrote:
>> i want to know how can i see what object include in java script and is there any tool to see what object contains
>>
>
> PHP runs on the server; Javascript runs on the client. They cannot
> "see" each other.

That said, there are DOM, HTML, XML, and JavaScript debuggers available
as web-browser plugins. Firebug for Firefox is one.

>

--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178899 is a reply to message #178898] Wed, 22 August 2012 12:17 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/22/2012 7:06 AM, Robert Heller wrote:
> At Wed, 22 Aug 2012 06:43:23 -0400 Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>>
>> On 8/22/2012 1:18 AM, sismaster wrote:
>>> i want to know how can i see what object include in java script and is there any tool to see what object contains
>>>
>>
>> PHP runs on the server; Javascript runs on the client. They cannot
>> "see" each other.
>
> That said, there are DOM, HTML, XML, and JavaScript debuggers available
> as web-browser plugins. Firebug for Firefox is one.
>
>>
>

None of which have anything to do with PHP - which is the subject of
this newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178900 is a reply to message #178898] Wed, 22 August 2012 22:36 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Robert Heller wrote:

> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>> On 8/22/2012 1:18 AM, sismaster wrote:
>>> i want to know how can i see what object include in java script and is
>>> there any tool to see what object contains
>>
>> PHP runs on the server; Javascript runs on the client. They cannot
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^
>> "see" each other.

Wrong on both accounts.

> That said, there are DOM, HTML, XML, and JavaScript debuggers available
> as web-browser plugins. Firebug for Firefox is one.

And it should be noted that there is the FirePHP extension for Firebug,
which can help with PHP debugging:

<http://www.firephp.org/>

The FirePHP port for Chromium/Chrome is supposed to be a Chrome extension
called Webug, and apparently there is an improvement using a newer API, but
I have not tried any of those yet:

<https://chrome.google.com/webstore/detail/cjbeipenlpoeifpkjhgakejmikdhlhcj>
<http://blog.martinhujer.cz/firephp-for-google-chrome/>


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178901 is a reply to message #178900] Wed, 22 August 2012 23:54 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Thomas 'PointedEars' Lahn wrote:
> Robert Heller wrote:
>
>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> i want to know how can i see what object include in java script and is
>>>> there any tool to see what object contains
>>> PHP runs on the server; Javascript runs on the client. They cannot
> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ^^^^^^^^^^
>>> "see" each other.
>
> Wrong on both accounts.

Only by exception. The rule is as above.

>
>> That said, there are DOM, HTML, XML, and JavaScript debuggers available
>> as web-browser plugins. Firebug for Firefox is one.
>
> And it should be noted that there is the FirePHP extension for Firebug,
> which can help with PHP debugging:
>
> <http://www.firephp.org/>
>
> The FirePHP port for Chromium/Chrome is supposed to be a Chrome extension
> called Webug, and apparently there is an improvement using a newer API, but
> I have not tried any of those yet:
>
> <https://chrome.google.com/webstore/detail/cjbeipenlpoeifpkjhgakejmikdhlhcj>
> <http://blog.martinhujer.cz/firephp-for-google-chrome/>
>
>
> PointedEars


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178903 is a reply to message #178900] Thu, 23 August 2012 15:03 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
> Robert Heller wrote:
>
>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> i want to know how can i see what object include in java script and is
>>>> there any tool to see what object contains
>>>
>>> PHP runs on the server; Javascript runs on the client. They cannot
> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ^^^^^^^^^^
>>> "see" each other.
>
> Wrong on both accounts.
>
>> That said, there are DOM, HTML, XML, and JavaScript debuggers available
>> as web-browser plugins. Firebug for Firefox is one.
>
> And it should be noted that there is the FirePHP extension for Firebug,
> which can help with PHP debugging:
>
> <http://www.firephp.org/>
>
> The FirePHP port for Chromium/Chrome is supposed to be a Chrome extension
> called Webug, and apparently there is an improvement using a newer API, but
> I have not tried any of those yet:
>
> <https://chrome.google.com/webstore/detail/cjbeipenlpoeifpkjhgakejmikdhlhcj>
> <http://blog.martinhujer.cz/firephp-for-google-chrome/>
>
>
> PointedEars
>

ROFLMAO! "Pointed Head" shows his stoopidity once again.

So tell me, oh great one, exactly which browsers can run PHP code?
And how many servers are actually running Javascript?

And how can PHP see what objects are included in Javascript?

You have all the answers - these should be easy for you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178904 is a reply to message #178903] Thu, 23 August 2012 18:10 Go to previous messageGo to next message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma: 0
Senior Member
On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>> Robert Heller wrote:
>>
>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> > i want to know how can i see what object include in java script and is
>>>> > there any tool to see what object contains
>>>>
>>>> PHP runs on the server; Javascript runs on the client. They cannot
>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> ^^^^^^^^^^
>>>> "see" each other.
>>
>> Wrong on both accounts.
>>
>>> That said, there are DOM, HTML, XML, and JavaScript debuggers available
>>> as web-browser plugins. Firebug for Firefox is one.
>>
>> And it should be noted that there is the FirePHP extension for Firebug,
>> which can help with PHP debugging:
>>
>> <http://www.firephp.org/>
>>
>> The FirePHP port for Chromium/Chrome is supposed to be a Chrome extension
>> called Webug, and apparently there is an improvement using a newer
>> API, but
>> I have not tried any of those yet:
>>
>> <https://chrome.google.com/webstore/detail/cjbeipenlpoeifpkjhgakejmikdhlhcj>
>>
>> <http://blog.martinhujer.cz/firephp-for-google-chrome/>
>>
>>
>> PointedEars
>>
>
> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>
> So tell me, oh great one, exactly which browsers can run PHP code?
> And how many servers are actually running Javascript?
>
> And how can PHP see what objects are included in Javascript?
>
> You have all the answers - these should be easy for you.
>

*Gets the microwave popcorn ready
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178905 is a reply to message #178904] Thu, 23 August 2012 22:27 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Scott Johnson wrote:

> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>> Robert Heller wrote:
>>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> > On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >> i want to know how can i see what object include in java script and
>>>> >> is there any tool to see what object contains
>>>> >
>>>> > PHP runs on the server; Javascript runs on the client. They cannot
>>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> ^^^^^^^^^^
>>>> > "see" each other.
>>>
>>> Wrong on both accounts.
>>
>> [snip mindless full quote]
>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>
>> So tell me, oh great one, exactly which browsers can run PHP code?
>> And how many servers are actually running Javascript?
>>
>> And how can PHP see what objects are included in Javascript?
>>
>> You have all the answers - these should be easy for you.
>
> *Gets the microwave popcorn ready

Don't hold your breath, I try not to feed trolls.


PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178906 is a reply to message #178905] Thu, 23 August 2012 22:41 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Thomas 'PointedEars' Lahn wrote:
> Scott Johnson wrote:
>
>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> Robert Heller wrote:
>>>> > Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>> i want to know how can i see what object include in java script and
>>>> >>> is there any tool to see what object contains
>>>> >> PHP runs on the server; Javascript runs on the client. They cannot
>>>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> ^^^^^^^^^^
>>>> >> "see" each other.
>>>> Wrong on both accounts.
>>> [snip mindless full quote]
>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>
>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>> And how many servers are actually running Javascript?
>>>
>>> And how can PHP see what objects are included in Javascript?
>>>
>>> You have all the answers - these should be easy for you.
>> *Gets the microwave popcorn ready
>
> Don't hold your breath, I try not to feed trolls.
>
>
> PointedEars

http://en.wikipedia.org/wiki/JavaScript

"Server-side JavaScript

Netscape introduced an implementation of the language for server-side
scripting with Netscape Enterprise Server, first released in December,
1994 (soon after releasing JavaScript for browsers).[14][15] Since the
mid-2000s, there has been a proliferation of server-side JavaScript
implementations. node.js is one recent notable example of server-side
JavaScript being used in real-world applications."

http://thedailywtf.com/Articles/Client-side_PHP.aspx

"..Technology has also empowered "certain programmers" to create new
perversions in information technology never imagined before. Gustavo
Carvalho discovered what happens when XMLHttpRequest and the Eval()
function in PHP are combined. I'll leave it to your immagination as to
what the server-side looks like ... "

So as usual Pointed ears is correct, but supremely unhelpful :-)



--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178907 is a reply to message #178906] Thu, 23 August 2012 22:43 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
The Natural Philosopher wrote:
> Thomas 'PointedEars' Lahn wrote:
>> Scott Johnson wrote:
>>
>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> > Robert Heller wrote:
>>>> >> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>> i want to know how can i see what object include in java script and
>>>> >>>> is there any tool to see what object contains
>>>> >>> PHP runs on the server; Javascript runs on the client. They cannot
>>>> > ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> > ^^^^^^^^^^
>>>> >>> "see" each other.
>>>> > Wrong on both accounts.
>>>> [snip mindless full quote]
>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>>
>>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>>> And how many servers are actually running Javascript?
>>>>
>>>> And how can PHP see what objects are included in Javascript?
>>>>
>>>> You have all the answers - these should be easy for you.
>>> *Gets the microwave popcorn ready
>>
>> Don't hold your breath, I try not to feed trolls.
>>
>>
>> PointedEars
>
> http://en.wikipedia.org/wiki/JavaScript
>
> "Server-side JavaScript
>
> Netscape introduced an implementation of the language for server-side
> scripting with Netscape Enterprise Server, first released in December,
> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
> mid-2000s, there has been a proliferation of server-side JavaScript
> implementations. node.js is one recent notable example of server-side
> JavaScript being used in real-world applications."
>
> http://thedailywtf.com/Articles/Client-side_PHP.aspx
>
> "..Technology has also empowered "certain programmers" to create new
> perversions in information technology never imagined before. Gustavo
> Carvalho discovered what happens when XMLHttpRequest and the Eval()
> function in PHP are combined. I'll leave it to your immagination as to
> what the server-side looks like ... "
>
> So as usual Pointed ears is correct, but supremely unhelpful :-)
>
>
>
I meant to add "as opposed to jerrykins, who is, as usual, wrong, as
*well* as being supremely unhelpful..."




--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178909 is a reply to message #178905] Fri, 24 August 2012 00:03 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/23/2012 6:27 PM, Thomas 'PointedEars' Lahn wrote:
> Scott Johnson wrote:
>
>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> Robert Heller wrote:
>>>> > Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>> i want to know how can i see what object include in java script and
>>>> >>> is there any tool to see what object contains
>>>> >>
>>>> >> PHP runs on the server; Javascript runs on the client. They cannot
>>>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> ^^^^^^^^^^
>>>> >> "see" each other.
>>>>
>>>> Wrong on both accounts.
>>>
>>> [snip mindless full quote]
>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>
>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>> And how many servers are actually running Javascript?
>>>
>>> And how can PHP see what objects are included in Javascript?
>>>
>>> You have all the answers - these should be easy for you.
>>
>> *Gets the microwave popcorn ready
>
> Don't hold your breath, I try not to feed trolls.
>
>
> PointedEars
>

No, you don't have an answer because you're wrong - as usual.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178910 is a reply to message #178906] Fri, 24 August 2012 00:05 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/23/2012 6:41 PM, The Natural Philosopher wrote:
> Thomas 'PointedEars' Lahn wrote:
>> Scott Johnson wrote:
>>
>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> > Robert Heller wrote:
>>>> >> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>> i want to know how can i see what object include in java script and
>>>> >>>> is there any tool to see what object contains
>>>> >>> PHP runs on the server; Javascript runs on the client. They cannot
>>>> > ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> > ^^^^^^^^^^
>>>> >>> "see" each other.
>>>> > Wrong on both accounts.
>>>> [snip mindless full quote]
>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>>
>>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>>> And how many servers are actually running Javascript?
>>>>
>>>> And how can PHP see what objects are included in Javascript?
>>>>
>>>> You have all the answers - these should be easy for you.
>>> *Gets the microwave popcorn ready
>>
>> Don't hold your breath, I try not to feed trolls.
>>
>>
>> PointedEars
>
> http://en.wikipedia.org/wiki/JavaScript
>
> "Server-side JavaScript
>
> Netscape introduced an implementation of the language for server-side
> scripting with Netscape Enterprise Server, first released in December,
> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
> mid-2000s, there has been a proliferation of server-side JavaScript
> implementations. node.js is one recent notable example of server-side
> JavaScript being used in real-world applications."
>
> http://thedailywtf.com/Articles/Client-side_PHP.aspx
>
> "..Technology has also empowered "certain programmers" to create new
> perversions in information technology never imagined before. Gustavo
> Carvalho discovered what happens when XMLHttpRequest and the Eval()
> function in PHP are combined. I'll leave it to your immagination as to
> what the server-side looks like ... "
>
> So as usual Pointed ears is correct, but supremely unhelpful :-)
>
>
>

So, answer my questions. Which browsers support PHP? And how many
servers are running javascript?

And most of all - how can PHP see which objects are included in Javascript?

Or is your head where the sun doesn't shine also (it usually is)?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178911 is a reply to message #178906] Fri, 24 August 2012 21:42 Go to previous messageGo to next message
Bertrand Mayesky is currently offline  Bertrand Mayesky
Messages: 1
Registered: August 2012
Karma: 0
Junior Member
Le Thu, 23 Aug 2012 23:41:03 +0100, The Natural Philosopher a écrit :

> Thomas 'PointedEars' Lahn wrote:
>> Scott Johnson wrote:
>>
>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> > Robert Heller wrote:
>>>> >> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>> i want to know how can i see what object include in java script
>>>> >>>> and is there any tool to see what object contains
>>>> >>> PHP runs on the server; Javascript runs on the client. They
>>>> >>> cannot
>>>> > ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> > ^^^^^^^^^^
>>>> >>> "see" each other.
>>>> > Wrong on both accounts.
>>>> [snip mindless full quote]
>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>>
>>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>>> And how many servers are actually running Javascript?
>>>>
>>>> And how can PHP see what objects are included in Javascript?
>>>>
>>>> You have all the answers - these should be easy for you.
>>> *Gets the microwave popcorn ready
>>
>> Don't hold your breath, I try not to feed trolls.
>>
>>
>> PointedEars
>
> http://en.wikipedia.org/wiki/JavaScript
>
> "Server-side JavaScript
>
> Netscape introduced an implementation of the language for server-side
> scripting with Netscape Enterprise Server, first released in December,
> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
> mid-2000s, there has been a proliferation of server-side JavaScript
> implementations. node.js is one recent notable example of server-side
> JavaScript being used in real-world applications."
>
> http://thedailywtf.com/Articles/Client-side_PHP.aspx
>
> "..Technology has also empowered "certain programmers" to create new
> perversions in information technology never imagined before. Gustavo
> Carvalho discovered what happens when XMLHttpRequest and the Eval()
> function in PHP are combined. I'll leave it to your immagination as to
> what the server-side looks like ... "
>
> So as usual Pointed ears is correct, but supremely unhelpful :-)

I'm sure that PointedEars is not correct: the client structure cannot be
natively seen by the server and vice versa.
It is not a matter of programming language: they do not share the same
data space as it is in the client-server paradigm.
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178912 is a reply to message #178911] Fri, 24 August 2012 22:22 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Bertrand Mayesky wrote:

> Le Thu, 23 Aug 2012 23:41:03 +0100, The Natural Philosopher a écrit :
>> Thomas 'PointedEars' Lahn wrote:
>>> Scott Johnson wrote:
>>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>>> > On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> >> Robert Heller wrote:
>>>> >>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>>> i want to know how can i see what object include in java script
>>>> >>>>> and is there any tool to see what object contains
>>>> >>>> PHP runs on the server; Javascript runs on the client. They
>>>> >> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> >> ^^^^^^^^^^
>>>> >>>> cannot "see" each other.
>>>> >> Wrong on both accounts.
> […]
> I'm sure that PointedEars is not correct: the client structure cannot be
> natively seen by the server and vice versa.

Of course, that is mistakenly assuming that I stated such nonsense in the
first place. Automatic line-wrapping when they were quoted, moved the
markings and obscured the message. Fixed here (as always, use a fixed-width
font on Usenet to see it). I am not entirely sure what you mean by "client
structure" and "natively seen", though.

As for Wikipedia, I must recommend extreme caution particularly on this
subject. Due to the intended beginner's language nature of ECMAScript
implementations, and a stream of beginners getting overconfident because of
early success, more than 90% written about this subject, and using the
corresponding languages, on the Web and elsewhere is utter nonsense. (This
includes books.) Unfortunately, the Wikipedia articles about it are no
exception, and given the number of wannabes, correction of them on my part,
for example, is not likely to have a lasting effect. If you want to learn
something about this, subscribe to comp.lang.javascript instead.

> It is not a matter of programming language: they do not share the same
> data space as it is in the client-server paradigm.

I am not sure what the second part of this statement is supposed to mean
with regard to this dispute: This (the Web) certainly is a good example of
the client-server _model_ (the browser providing the HTTP client, the Web
server the HTTP server), and there is no *implicit* sharing of data space
there. Only the first part of the statement is certainly correct.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178914 is a reply to message #178911] Fri, 24 August 2012 23:37 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/24/2012 5:42 PM, Bertrand Mayesky wrote:
> Le Thu, 23 Aug 2012 23:41:03 +0100, The Natural Philosopher a écrit :
>
>> Thomas 'PointedEars' Lahn wrote:
>>> Scott Johnson wrote:
>>>
>>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>>> > On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> >> Robert Heller wrote:
>>>> >>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>>> i want to know how can i see what object include in java script
>>>> >>>>> and is there any tool to see what object contains
>>>> >>>> PHP runs on the server; Javascript runs on the client. They
>>>> >>>> cannot
>>>> >> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> >> ^^^^^^^^^^
>>>> >>>> "see" each other.
>>>> >> Wrong on both accounts.
>>>> > [snip mindless full quote]
>>>> > ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>> >
>>>> > So tell me, oh great one, exactly which browsers can run PHP code?
>>>> > And how many servers are actually running Javascript?
>>>> >
>>>> > And how can PHP see what objects are included in Javascript?
>>>> >
>>>> > You have all the answers - these should be easy for you.
>>>> *Gets the microwave popcorn ready
>>>
>>> Don't hold your breath, I try not to feed trolls.
>>>
>>>
>>> PointedEars
>>
>> http://en.wikipedia.org/wiki/JavaScript
>>
>> "Server-side JavaScript
>>
>> Netscape introduced an implementation of the language for server-side
>> scripting with Netscape Enterprise Server, first released in December,
>> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
>> mid-2000s, there has been a proliferation of server-side JavaScript
>> implementations. node.js is one recent notable example of server-side
>> JavaScript being used in real-world applications."
>>
>> http://thedailywtf.com/Articles/Client-side_PHP.aspx
>>
>> "..Technology has also empowered "certain programmers" to create new
>> perversions in information technology never imagined before. Gustavo
>> Carvalho discovered what happens when XMLHttpRequest and the Eval()
>> function in PHP are combined. I'll leave it to your immagination as to
>> what the server-side looks like ... "
>>
>> So as usual Pointed ears is correct, but supremely unhelpful :-)
>
> I'm sure that PointedEars is not correct: the client structure cannot be
> natively seen by the server and vice versa.
> It is not a matter of programming language: they do not share the same
> data space as it is in the client-server paradigm.
>

Yes, but Pointed Head will argue with you until the universe ends.
However, he won't specify HOW it can work - because it won't. He'll
just call you a troll and say he won't feed you.

But then Pointed Head is a well-known troll in several newsgroups (where
he does the same thing).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178915 is a reply to message #178911] Fri, 24 August 2012 23:45 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Bertrand Mayesky wrote:
> Le Thu, 23 Aug 2012 23:41:03 +0100, The Natural Philosopher a écrit :
>
>> Thomas 'PointedEars' Lahn wrote:
>>> Scott Johnson wrote:
>>>
>>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>>>> > On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> >> Robert Heller wrote:
>>>> >>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>>> i want to know how can i see what object include in java script
>>>> >>>>> and is there any tool to see what object contains
>>>> >>>> PHP runs on the server; Javascript runs on the client. They
>>>> >>>> cannot
>>>> >> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> >> ^^^^^^^^^^
>>>> >>>> "see" each other.
>>>> >> Wrong on both accounts.
>>>> > [snip mindless full quote]
>>>> > ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>>> >
>>>> > So tell me, oh great one, exactly which browsers can run PHP code?
>>>> > And how many servers are actually running Javascript?
>>>> >
>>>> > And how can PHP see what objects are included in Javascript?
>>>> >
>>>> > You have all the answers - these should be easy for you.
>>>> *Gets the microwave popcorn ready
>>> Don't hold your breath, I try not to feed trolls.
>>>
>>>
>>> PointedEars
>> http://en.wikipedia.org/wiki/JavaScript
>>
>> "Server-side JavaScript
>>
>> Netscape introduced an implementation of the language for server-side
>> scripting with Netscape Enterprise Server, first released in December,
>> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
>> mid-2000s, there has been a proliferation of server-side JavaScript
>> implementations. node.js is one recent notable example of server-side
>> JavaScript being used in real-world applications."
>>
>> http://thedailywtf.com/Articles/Client-side_PHP.aspx
>>
>> "..Technology has also empowered "certain programmers" to create new
>> perversions in information technology never imagined before. Gustavo
>> Carvalho discovered what happens when XMLHttpRequest and the Eval()
>> function in PHP are combined. I'll leave it to your immagination as to
>> what the server-side looks like ... "
>>
>> So as usual Pointed ears is correct, but supremely unhelpful :-)
>
> I'm sure that PointedEars is not correct: the client structure cannot be
> natively seen by the server and vice versa.

Sure, but is not the issue

> It is not a matter of programming language: they do not share the same
> data space as it is in the client-server paradigm.

The issue is using a server side javascript to serve pages and using a
cliunt side PHP that is tranaferred to the server for execution

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178916 is a reply to message #178914] Sat, 25 August 2012 00:30 Go to previous messageGo to next message
Jeff North is currently offline  Jeff North
Messages: 58
Registered: November 2010
Karma: 0
Member
On Fri, 24 Aug 2012 19:37:00 -0400, in comp.lang.php Jerry Stuckle
<jstucklex(at)attglobal(dot)net>
<k1936v$kjh$1(at)dont-email(dot)me> wrote:

> | On 8/24/2012 5:42 PM, Bertrand Mayesky wrote:
> | > Le Thu, 23 Aug 2012 23:41:03 +0100, The Natural Philosopher a écrit :
> | >
> | >> Thomas 'PointedEars' Lahn wrote:
> | >>> Scott Johnson wrote:
> | >>>
> | >>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
> | >>>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
> | >>>>>> Robert Heller wrote:
> | >>>>>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
> | >>>>>>>> On 8/22/2012 1:18 AM, sismaster wrote:
> | >>>>>>>>> i want to know how can i see what object include in java script
> | >>>>>>>>> and is there any tool to see what object contains
> | >>>>>>>> PHP runs on the server; Javascript runs on the client. They
> | >>>>>>>> cannot
> | >>>>>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | >>>>>> ^^^^^^^^^^
> | >>>>>>>> "see" each other.
> | >>>>>> Wrong on both accounts.
> | >>>>> [snip mindless full quote]
> | >>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
> | >>>>>
> | >>>>> So tell me, oh great one, exactly which browsers can run PHP code?
> | >>>>> And how many servers are actually running Javascript?
> | >>>>>
> | >>>>> And how can PHP see what objects are included in Javascript?
> | >>>>>
> | >>>>> You have all the answers - these should be easy for you.
> | >>>> *Gets the microwave popcorn ready
> | >>>
> | >>> Don't hold your breath, I try not to feed trolls.
> | >>>
> | >>>
> | >>> PointedEars
> | >>
> | >> http://en.wikipedia.org/wiki/JavaScript
> | >>
> | >> "Server-side JavaScript
> | >>
> | >> Netscape introduced an implementation of the language for server-side
> | >> scripting with Netscape Enterprise Server, first released in December,
> | >> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
> | >> mid-2000s, there has been a proliferation of server-side JavaScript
> | >> implementations. node.js is one recent notable example of server-side
> | >> JavaScript being used in real-world applications."
> | >>
> | >> http://thedailywtf.com/Articles/Client-side_PHP.aspx
> | >>
> | >> "..Technology has also empowered "certain programmers" to create new
> | >> perversions in information technology never imagined before. Gustavo
> | >> Carvalho discovered what happens when XMLHttpRequest and the Eval()
> | >> function in PHP are combined. I'll leave it to your immagination as to
> | >> what the server-side looks like ... "
> | >>
> | >> So as usual Pointed ears is correct, but supremely unhelpful :-)
> | >
> | > I'm sure that PointedEars is not correct: the client structure cannot be
> | > natively seen by the server and vice versa.
> | > It is not a matter of programming language: they do not share the same
> | > data space as it is in the client-server paradigm.
> | >
> |
> | Yes, but Pointed Head will argue with you until the universe ends.
> | However, he won't specify HOW it can work - because it won't. He'll
> | just call you a troll and say he won't feed you.
> |
> | But then Pointed Head is a well-known troll in several newsgroups (where
> | he does the same thing).

Both of you are right and wrong.

If ppl took (literally) 2 seconds to do a search you would find:
http://www.firephp.org/
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178917 is a reply to message #178895] Sat, 25 August 2012 01:46 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Tue, 21 Aug 2012 22:18:43 -0700, sismaster wrote:

> i want to know how can i see what object include in java script and is
> there any tool to see what object contains

Your requirement is unclear and ambiguously worded in the context of a php
newsgroup.

Please restate the problem, including examples of php code you have used,
what result you expected, and what actually happened.

The normal mechanism for php to receive data from the client is in the
$_GET or $_POST "superglobal arrays".

http://php.net/manual/en/language.variables.superglobals.php

If the javascript object is being passed as a json string, then you may
need to use php JSON functions to convert it into a php data object:

http://uk3.php.net/manual/en/ref.json.php

How you send your javascript object from the client is a matter for a
javacript forum, not a php one.

Rgds

Denis McMahon
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178918 is a reply to message #178916] Sat, 25 August 2012 02:39 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/24/2012 8:30 PM, Jeff North wrote:
> On Fri, 24 Aug 2012 19:37:00 -0400, in comp.lang.php Jerry Stuckle
> <jstucklex(at)attglobal(dot)net>
> <k1936v$kjh$1(at)dont-email(dot)me> wrote:
>
>> | On 8/24/2012 5:42 PM, Bertrand Mayesky wrote:
>> | > Le Thu, 23 Aug 2012 23:41:03 +0100, The Natural Philosopher a écrit :
>> | >
>> | >> Thomas 'PointedEars' Lahn wrote:
>> | >>> Scott Johnson wrote:
>> | >>>
>> | >>>> On 8/23/2012 8:03 AM, Jerry Stuckle wrote:
>> | >>>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>> | >>>>>> Robert Heller wrote:
>> | >>>>>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>> | >>>>>>>> On 8/22/2012 1:18 AM, sismaster wrote:
>> | >>>>>>>>> i want to know how can i see what object include in java script
>> | >>>>>>>>> and is there any tool to see what object contains
>> | >>>>>>>> PHP runs on the server; Javascript runs on the client. They
>> | >>>>>>>> cannot
>> | >>>>>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> | >>>>>> ^^^^^^^^^^
>> | >>>>>>>> "see" each other.
>> | >>>>>> Wrong on both accounts.
>> | >>>>> [snip mindless full quote]
>> | >>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>> | >>>>>
>> | >>>>> So tell me, oh great one, exactly which browsers can run PHP code?
>> | >>>>> And how many servers are actually running Javascript?
>> | >>>>>
>> | >>>>> And how can PHP see what objects are included in Javascript?
>> | >>>>>
>> | >>>>> You have all the answers - these should be easy for you.
>> | >>>> *Gets the microwave popcorn ready
>> | >>>
>> | >>> Don't hold your breath, I try not to feed trolls.
>> | >>>
>> | >>>
>> | >>> PointedEars
>> | >>
>> | >> http://en.wikipedia.org/wiki/JavaScript
>> | >>
>> | >> "Server-side JavaScript
>> | >>
>> | >> Netscape introduced an implementation of the language for server-side
>> | >> scripting with Netscape Enterprise Server, first released in December,
>> | >> 1994 (soon after releasing JavaScript for browsers).[14][15] Since the
>> | >> mid-2000s, there has been a proliferation of server-side JavaScript
>> | >> implementations. node.js is one recent notable example of server-side
>> | >> JavaScript being used in real-world applications."
>> | >>
>> | >> http://thedailywtf.com/Articles/Client-side_PHP.aspx
>> | >>
>> | >> "..Technology has also empowered "certain programmers" to create new
>> | >> perversions in information technology never imagined before. Gustavo
>> | >> Carvalho discovered what happens when XMLHttpRequest and the Eval()
>> | >> function in PHP are combined. I'll leave it to your immagination as to
>> | >> what the server-side looks like ... "
>> | >>
>> | >> So as usual Pointed ears is correct, but supremely unhelpful :-)
>> | >
>> | > I'm sure that PointedEars is not correct: the client structure cannot be
>> | > natively seen by the server and vice versa.
>> | > It is not a matter of programming language: they do not share the same
>> | > data space as it is in the client-server paradigm.
>> | >
>> |
>> | Yes, but Pointed Head will argue with you until the universe ends.
>> | However, he won't specify HOW it can work - because it won't. He'll
>> | just call you a troll and say he won't feed you.
>> |
>> | But then Pointed Head is a well-known troll in several newsgroups (where
>> | he does the same thing).
>
> Both of you are right and wrong.
>
> If ppl took (literally) 2 seconds to do a search you would find:
> http://www.firephp.org/
>

Did you read what it actually does? Do you understand it?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178919 is a reply to message #178916] Sat, 25 August 2012 11:17 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Jeff North wrote:

> Both of you are right and wrong.

That depends on what the question is, which is not at all clear here.

> If ppl took (literally) 2 seconds to do a search you would find:
> http://www.firephp.org/

Or they could read my postings; I have pointed out FirePHP in my first
followup two days ago already. However, ISTM that this "discussion" came
about is that 1. the original question is gibberish, which can be
interpreted in multiple ways, and 2. that quoting distorted my first
followup.

Please trim your quotes to the relevant minimum.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178920 is a reply to message #178919] Sat, 25 August 2012 13:38 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/25/2012 7:17 AM, Thomas 'PointedEars' Lahn wrote:
> Jeff North wrote:
>
>> Both of you are right and wrong.
>
> That depends on what the question is, which is not at all clear here.
>
>> If ppl took (literally) 2 seconds to do a search you would find:
>> http://www.firephp.org/
>
> Or they could read my postings; I have pointed out FirePHP in my first
> followup two days ago already. However, ISTM that this "discussion" came
> about is that 1. the original question is gibberish, which can be
> interpreted in multiple ways, and 2. that quoting distorted my first
> followup.
>
> Please trim your quotes to the relevant minimum.
>
>
> PointedEars
>

Yes, you have once again proven you have no idea what you're talking
about. All you can do is google for some keywords and post things -
without understanding just what they do.

Such is the life of an ignorant troll.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178921 is a reply to message #178919] Sat, 25 August 2012 18:34 Go to previous messageGo to next message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma: 0
Senior Member
On Sat, 25 Aug 2012 13:17:31 +0200, Thomas 'PointedEars' Lahn wrote:
> Jeff North wrote:
>
>> Both of you are right and wrong.
>
> That depends on what the question is, which is not at all clear here.
>
>> If ppl took (literally) 2 seconds to do a search you would find:
>> http://www.firephp.org/
>
> Or they could read my postings; I have pointed out FirePHP in my first
> followup two days ago already. However, ISTM that this "discussion" came
> about is that 1. the original question is gibberish, which can be
> interpreted in multiple ways, and 2. that quoting distorted my first
> followup.

Yeah, you don't wanna try to take credit for that. FirePHP is a bundle
of code that allows PHP programs running on a server to send stuff to
FireBug, a javascript debugger running in FireFox, as a client. Which
may aid in debugging the interaction between PHP server programs and
client Javascript. Which is nifty, useful, and entirely supporting
the point you're trying to argue against.

--
"Meet it is I set it down
That one may smile, and smile, and be a villain"
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178922 is a reply to message #178921] Sat, 25 August 2012 18:59 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/25/2012 2:34 PM, Peter H. Coffin wrote:
> On Sat, 25 Aug 2012 13:17:31 +0200, Thomas 'PointedEars' Lahn wrote:
>> Jeff North wrote:
>>
>>> Both of you are right and wrong.
>>
>> That depends on what the question is, which is not at all clear here.
>>
>>> If ppl took (literally) 2 seconds to do a search you would find:
>>> http://www.firephp.org/
>>
>> Or they could read my postings; I have pointed out FirePHP in my first
>> followup two days ago already. However, ISTM that this "discussion" came
>> about is that 1. the original question is gibberish, which can be
>> interpreted in multiple ways, and 2. that quoting distorted my first
>> followup.
>
> Yeah, you don't wanna try to take credit for that. FirePHP is a bundle
> of code that allows PHP programs running on a server to send stuff to
> FireBug, a javascript debugger running in FireFox, as a client. Which
> may aid in debugging the interaction between PHP server programs and
> client Javascript. Which is nifty, useful, and entirely supporting
> the point you're trying to argue against.
>

Peter, we already know he doesn't know what he's talking about - but he
insists on continuing to prove it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178923 is a reply to message #178921] Sat, 25 August 2012 19:13 Go to previous messageGo to next message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma: 0
Senior Member
On Sat, 25 Aug 2012 13:34:09 -0500, Peter H. Coffin wrote:
> Yeah, you don't wanna try to take credit for that. FirePHP is a bundle
> of code that allows PHP programs running on a server to send stuff to
> FireBug, a javascript debugger running in FireFox, as a client. Which
> may aid in debugging the interaction between PHP server programs and
> client Javascript. Which is nifty, useful, and entirely supporting
> the point you're trying to argue against.

Just so we're clear, when I'm saying "as a client", I'm saying FireBug
is the client.

--
_ o
|/)
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178924 is a reply to message #178923] Sat, 25 August 2012 20:23 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/25/2012 3:13 PM, Peter H. Coffin wrote:
> On Sat, 25 Aug 2012 13:34:09 -0500, Peter H. Coffin wrote:
>> Yeah, you don't wanna try to take credit for that. FirePHP is a bundle
>> of code that allows PHP programs running on a server to send stuff to
>> FireBug, a javascript debugger running in FireFox, as a client. Which
>> may aid in debugging the interaction between PHP server programs and
>> client Javascript. Which is nifty, useful, and entirely supporting
>> the point you're trying to argue against.
>
> Just so we're clear, when I'm saying "as a client", I'm saying FireBug
> is the client.
>

Actually, I think it can be argued that Firefox is the client. Firebug
is just an add-on which extends the capabilities of Firefox.

But it still doesn't run PHP code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178929 is a reply to message #178903] Sun, 26 August 2012 13:46 Go to previous messageGo to next message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma: 0
Member
Jerry Stuckle wrote:
> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>> Robert Heller wrote:
>>
>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> > i want to know how can i see what object include in java script and is
>>>> > there any tool to see what object contains
>>>>
>>>> PHP runs on the server; Javascript runs on the client. They cannot
>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> ^^^^^^^^^^
>>>> "see" each other.
>>
>> Wrong on both accounts.
>>
>
> ROFLMAO! "Pointed Head" shows his stoopidity once again.
^^^^^^^^^^^^
Who? ;-)
>
> So tell me, oh great one, exactly which browsers can run PHP code?

I'm actually no "great one", but I can answer this question: at least on
all browsers, which implement the NPAPI. I'm not aware of any
PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.

> And how many servers are actually running Javascript?

That's not the point. You've said "PHP runs on the server; Javascript
runs on the client", what might be easily lead to the wrong assumption,
that "Javascript" can't run on the server.

> And how can PHP see what objects are included in Javascript?

Actually it can't. But Thomas didn't say so (please note the carets,
which might not be aligned properly in the news reader, but are so in
the source code of the message).

Sincerely,

--
Christoph M. Becker
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178930 is a reply to message #178929] Sun, 26 August 2012 14:41 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/26/2012 9:46 AM, Christoph Becker wrote:
> Jerry Stuckle wrote:
>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>> Robert Heller wrote:
>>>
>>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> > On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >> i want to know how can i see what object include in java script and is
>>>> >> there any tool to see what object contains
>>>> >
>>>> > PHP runs on the server; Javascript runs on the client. They cannot
>>> ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> ^^^^^^^^^^
>>>> > "see" each other.
>>>
>>> Wrong on both accounts.
>>>
>>
>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
> ^^^^^^^^^^^^
> Who? ;-)
>>
>> So tell me, oh great one, exactly which browsers can run PHP code?
>
> I'm actually no "great one", but I can answer this question: at least on
> all browsers, which implement the NPAPI. I'm not aware of any
> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>

The question is not if PHP *can* run on the browser. The question is
which browsers *run* PHP.

>> And how many servers are actually running Javascript?
>
> That's not the point. You've said "PHP runs on the server; Javascript
> runs on the client", what might be easily lead to the wrong assumption,
> that "Javascript" can't run on the server.
>

Again, the question is not how many servers *can* run Javascript. How
many servers DO RUN Javascript?

>> And how can PHP see what objects are included in Javascript?
>
> Actually it can't. But Thomas didn't say so (please note the carets,
> which might not be aligned properly in the news reader, but are so in
> the source code of the message).
>
> Sincerely,
>

No, but that was the original question, wasn't it?

But Pointed Head did indicate I was wrong on two accounts. And you
haven't said anything to prove otherwise.

IOW, he just opened his fat trap to hear himself talk, as usual. And,
as usual, he's showing his ignorance (as are you).


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178931 is a reply to message #178930] Sun, 26 August 2012 15:42 Go to previous messageGo to next message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma: 0
Member
Jerry Stuckle wrote:
> On 8/26/2012 9:46 AM, Christoph Becker wrote:
>> Jerry Stuckle wrote:
>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> Robert Heller wrote:
>>>>
>>>> > Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>> i want to know how can i see what object include in java script
>>>> >>> and is
>>>> >>> there any tool to see what object contains

[snip]

>>> And how can PHP see what objects are included in Javascript?
>>
>> Actually it can't. But Thomas didn't say so (please note the carets,
>> which might not be aligned properly in the news reader, but are so in
>> the source code of the message).
>>
>> Sincerely,
>>
>
> No, but that was the original question, wasn't it?

I'm not sure about that. In fact the OP didn't even mention PHP. Well,
he posted on c.l.php, but it might well have been the wrong newsgroup. I
*guess* the OP just wanted to know some way to inspect JS objects, what
was already answered by Robert. But I may be wrong with this guess, as
I'm no native English speaker (what's probably quite obvious).

> But Pointed Head did indicate I was wrong on two accounts. And you
> haven't said anything to prove otherwise.

Actually I've just answered the questions *you* had asked (even if the
were rhetorical). I cannot prove neither of you right or wrong. The
statement "PHP runs on the server; Javascript runs on the client." is
not true in every case, even if it's typically true for PHP development.
And I won't argue, if the name "Javascript" is correct in this context,
or if one should use "ECMAScript" or point out that it's called
"JScript" on IE.

> IOW, he just opened his fat trap to hear himself talk, as usual.

I can't acknowledge that statement. ISTM Thomas has quite some knowledge
about web development, and I have learned from him, as I have from you.

> And, as usual, he's showing his ignorance (as are you).

Would you have replied, if somebody had called you "Jerry Struggle",
"stoopid" and "O great one"?

--
Christoph M.Becker
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178932 is a reply to message #178929] Sun, 26 August 2012 15:35 Go to previous messageGo to next message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma: 0
Senior Member
On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
> Jerry Stuckle wrote:
>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
> ^^^^^^^^^^^^
> Who? ;-)
>>
>> So tell me, oh great one, exactly which browsers can run PHP code?
>
> I'm actually no "great one", but I can answer this question: at least on
> all browsers, which implement the NPAPI. I'm not aware of any
> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>
>> And how many servers are actually running Javascript?
>
> That's not the point. You've said "PHP runs on the server; Javascript
> runs on the client", what might be easily lead to the wrong assumption,
> that "Javascript" can't run on the server.

Perhaps this would be better phrased as "generally doesn't" rather than
as "theoretically could, if someone were to write and install
special-purpose code in order to do so." The point of the vast majoritiy
fo the discussion here is (aside from the nits that pointy Tommy
and a couple others try to pick) is whether something can be done
for/with J. Random Browser, using a typical load or something someone
could reasonably make into a requirement to us a web app.

>> And how can PHP see what objects are included in Javascript?
>
> Actually it can't. But Thomas didn't say so (please note the carets,
> which might not be aligned properly in the news reader, but are so in
> the source code of the message).

That was the point of the original post, to which Jerry said "no, it
can't" and Thomas said "It sure can!" and linked to something that
didn't do that.

--
Don't even get me started on the MCSEs I know. It's a miracle of
modern technology that some of these fsckwits still draw breath,
much less a paycheck.
-- Marc Bowden
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178933 is a reply to message #178932] Sun, 26 August 2012 16:53 Go to previous messageGo to next message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma: 0
Member
Peter H. Coffin wrote:
> On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
>> Jerry Stuckle wrote:
>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>> ^^^^^^^^^^^^
>> Who? ;-)
>>>
>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>
>> I'm actually no "great one", but I can answer this question: at least on
>> all browsers, which implement the NPAPI. I'm not aware of any
>> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>>
>>> And how many servers are actually running Javascript?
>>
>> That's not the point. You've said "PHP runs on the server; Javascript
>> runs on the client", what might be easily lead to the wrong assumption,
>> that "Javascript" can't run on the server.
>
> Perhaps this would be better phrased as "generally doesn't" rather than
> as "theoretically could, if someone were to write and install
> special-purpose code in order to do so." The point of the vast majoritiy
> fo the discussion here is (aside from the nits that pointy Tommy
> and a couple others try to pick) is whether something can be done
> for/with J. Random Browser, using a typical load or something someone
> could reasonably make into a requirement to us a web app.
>
>>> And how can PHP see what objects are included in Javascript?
>>
>> Actually it can't. But Thomas didn't say so (please note the carets,
>> which might not be aligned properly in the news reader, but are so in
>> the source code of the message).
>
> That was the point of the original post, to which Jerry said "no, it
> can't" and Thomas said "It sure can!" and linked to something that
> didn't do that.

Thomas didn't say: "it sure can". Please see his caret markers: these
clearly indicate, that he regards only the statement "PHP runs on the
server; Javascript runs on the browser" as wrong. I'm not sure, though,
what he meant with "on two accounts" as he set 3 markers.

The hint about FirePHP was an addition to Robert, who pointed out the
developer tools of the browsers (FireBug etc.) And it was quite valuable
(at least for me), as I didn't know that there's a port to Chrome.

--
Christoph M. Becker
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178935 is a reply to message #178931] Sun, 26 August 2012 18:02 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Christoph Becker wrote:

> Would you have replied, if somebody had called you "Jerry Struggle",
> "stoopid" and "O great one"?
>


Oh definitely. Jerrykins Stucklehead ALWAYS has the last word.
It was fun for a while, but eventually its just boring.

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178936 is a reply to message #178921] Sun, 26 August 2012 18:32 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Peter H. Coffin wrote:

> On Sat, 25 Aug 2012 13:17:31 +0200, Thomas 'PointedEars' Lahn wrote:
>> Jeff North wrote:
>>> Both of you are right and wrong.
>> That depends on what the question is, which is not at all clear here.
>>
>>> If ppl took (literally) 2 seconds to do a search you would find:
>>> http://www.firephp.org/
>>
>> Or they could read my postings; I have pointed out FirePHP in my first
>> followup two days ago already. However, ISTM that this "discussion" came
>> about is that 1. the original question is gibberish, which can be
>> interpreted in multiple ways, and 2. that quoting distorted my first
>> followup.
>
> Yeah, you don't wanna try to take credit for that.

Pardon?

> FirePHP is a bundle of code that allows PHP programs running on a server
> to send stuff to FireBug, a javascript debugger running in FireFox, as a
> client. Which may aid in debugging the interaction between PHP server
> programs and client Javascript. Which is nifty, useful, and entirely

There still is no Javascript. Regardless, originally _Firebug_'s FirePHP
extension (now also supported elsewhere) supports debugging the interaction
between PHP server applications and the client side; not only and not
necessarily ECMAScript implementations on the client side. That's a
"however", which I also meant in my first followup, if you cared to read it.

> supporting the point you're trying to argue against.

Nonsense. Obviously you have not even understood, let alone read my
argument.


PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178937 is a reply to message #178923] Sun, 26 August 2012 18:33 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Peter H. Coffin wrote:

> On Sat, 25 Aug 2012 13:34:09 -0500, Peter H. Coffin wrote:
>> Yeah, you don't wanna try to take credit for that. FirePHP is a bundle
>> of code that allows PHP programs running on a server to send stuff to
>> FireBug, a javascript debugger running in FireFox, as a client. Which
>> may aid in debugging the interaction between PHP server programs and
>> client Javascript. Which is nifty, useful, and entirely supporting
>> the point you're trying to argue against.
>
> Just so we're clear, when I'm saying "as a client", I'm saying FireBug
> is the client.

Still wrong.


PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178938 is a reply to message #178933] Sun, 26 August 2012 18:47 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Christoph Becker wrote:

> Peter H. Coffin wrote:
>> That was the point of the original post, to which Jerry said "no, it
>> can't" and Thomas said "It sure can!" and linked to something that
>> didn't do that.
>
> Thomas didn't say: "it sure can". Please see his caret markers: these
> clearly indicate, that he regards only the statement "PHP runs on the
> server; Javascript runs on the browser" as wrong.

Exactly. It is an unfortunate truth that more often than not the people who
obviously know the least about a topic feel compelled to display their
ignorance in public, making provably false statements and giving misleading
advice. Particularly with ECMAScript implementations.

> I'm not sure, though, what he meant with "on two accounts" as he set 3
> markers.

They were actually two, the second one in a separate line, which marks the
misnomer, "Javascript". You can find more about that on
<http://PointedEars.de/es-matrix>; the problem is off-topic here, but needed
to be pointed out as well.

> The hint about FirePHP was an addition to Robert, who pointed out the
> developer tools of the browsers (FireBug etc.) And it was quite valuable
> (at least for me), as I didn't know that there's a port to Chrome.

It is acceptable to see that at least one person managed to understand what
I meant. Of course, that one person also had the intelligence not to fall
for the resident name-calling troll that started all this nonsense. Thank
you.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178941 is a reply to message #178933] Sun, 26 August 2012 21:59 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <k1dkaq$5k3$1(at)speranza(dot)aioe(dot)org>,
Christoph Becker <cmbecker69(at)gmx(dot)de> wrote:

> Peter H. Coffin wrote:
>> On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
>>> Jerry Stuckle wrote:
>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>> ^^^^^^^^^^^^
>>> Who? ;-)
>>>>
>>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>>
>>> I'm actually no "great one", but I can answer this question: at least on
>>> all browsers, which implement the NPAPI. I'm not aware of any
>>> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>>>
>>>> And how many servers are actually running Javascript?
>>>
>>> That's not the point. You've said "PHP runs on the server; Javascript
>>> runs on the client", what might be easily lead to the wrong assumption,
>>> that "Javascript" can't run on the server.
>>
>> Perhaps this would be better phrased as "generally doesn't" rather than
>> as "theoretically could, if someone were to write and install
>> special-purpose code in order to do so." The point of the vast majoritiy
>> fo the discussion here is (aside from the nits that pointy Tommy
>> and a couple others try to pick) is whether something can be done
>> for/with J. Random Browser, using a typical load or something someone
>> could reasonably make into a requirement to us a web app.
>>
>>>> And how can PHP see what objects are included in Javascript?
>>>
>>> Actually it can't. But Thomas didn't say so (please note the carets,
>>> which might not be aligned properly in the news reader, but are so in
>>> the source code of the message).
>>
>> That was the point of the original post, to which Jerry said "no, it
>> can't" and Thomas said "It sure can!" and linked to something that
>> didn't do that.
>
> Thomas didn't say: "it sure can". Please see his caret markers: these
> clearly indicate, that he regards only the statement "PHP runs on the
> server; Javascript runs on the browser" as wrong. I'm not sure, though,
> what he meant with "on two accounts" as he set 3 markers.
>
> The hint about FirePHP was an addition to Robert, who pointed out the
> developer tools of the browsers (FireBug etc.) And it was quite valuable
> (at least for me), as I didn't know that there's a port to Chrome.

A port of what?

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178942 is a reply to message #178941] Sun, 26 August 2012 22:20 Go to previous messageGo to next message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma: 0
Member
Tim Streater wrote:
> In article <k1dkaq$5k3$1(at)speranza(dot)aioe(dot)org>,
> Christoph Becker <cmbecker69(at)gmx(dot)de> wrote:
>
>> The hint about FirePHP was an addition to Robert, who pointed out the
>> developer tools of the browsers (FireBug etc.) And it was quite valuable
>> (at least for me), as I didn't know that there's a port to Chrome.
>
> A port of what?

A port of FirePHP.

<https://chrome.google.com/webstore/detail/cjbeipenlpoeifpkjhgakejmikdhlhcj>
<http://blog.martinhujer.cz/firephp-for-google-chrome/>
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178944 is a reply to message #178936] Sun, 26 August 2012 23:49 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/26/2012 2:32 PM, Thomas 'PointedEars' Lahn wrote:
> Peter H. Coffin wrote:
>
>> On Sat, 25 Aug 2012 13:17:31 +0200, Thomas 'PointedEars' Lahn wrote:
>>> Jeff North wrote:
>>>> Both of you are right and wrong.
>>> That depends on what the question is, which is not at all clear here.
>>>
>>>> If ppl took (literally) 2 seconds to do a search you would find:
>>>> http://www.firephp.org/
>>>
>>> Or they could read my postings; I have pointed out FirePHP in my first
>>> followup two days ago already. However, ISTM that this "discussion" came
>>> about is that 1. the original question is gibberish, which can be
>>> interpreted in multiple ways, and 2. that quoting distorted my first
>>> followup.
>>
>> Yeah, you don't wanna try to take credit for that.
>
> Pardon?
>
>> FirePHP is a bundle of code that allows PHP programs running on a server
>> to send stuff to FireBug, a javascript debugger running in FireFox, as a
>> client. Which may aid in debugging the interaction between PHP server
>> programs and client Javascript. Which is nifty, useful, and entirely
>
> There still is no Javascript. Regardless, originally _Firebug_'s FirePHP
> extension (now also supported elsewhere) supports debugging the interaction
> between PHP server applications and the client side; not only and not
> necessarily ECMAScript implementations on the client side. That's a
> "however", which I also meant in my first followup, if you cared to read it.
>
>> supporting the point you're trying to argue against.
>
> Nonsense. Obviously you have not even understood, let alone read my
> argument.
>
>
> PointedEars
>

Everyone's read your arguments, Pointed Head. And everyone's seen how
wrong you are.

You should have quit before your first post. You just continue to show
your ignorance.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178945 is a reply to message #178931] Sun, 26 August 2012 23:52 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/26/2012 11:42 AM, Christoph Becker wrote:
> Jerry Stuckle wrote:
>> On 8/26/2012 9:46 AM, Christoph Becker wrote:
>>> Jerry Stuckle wrote:
>>>> On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> > Robert Heller wrote:
>>>> >
>>>> >> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>> i want to know how can i see what object include in java script
>>>> >>>> and is
>>>> >>>> there any tool to see what object contains
>
> [snip]
>
>>>> And how can PHP see what objects are included in Javascript?
>>>
>>> Actually it can't. But Thomas didn't say so (please note the carets,
>>> which might not be aligned properly in the news reader, but are so in
>>> the source code of the message).
>>>
>>> Sincerely,
>>>
>>
>> No, but that was the original question, wasn't it?
>
> I'm not sure about that. In fact the OP didn't even mention PHP. Well,
> he posted on c.l.php, but it might well have been the wrong newsgroup. I
> *guess* the OP just wanted to know some way to inspect JS objects, what
> was already answered by Robert. But I may be wrong with this guess, as
> I'm no native English speaker (what's probably quite obvious).
>

He posted in a PHP newsgroup, so my answer was in relation to PHP. If
he wanted something else, he should have been more clear (or posted in a
more appropriate newsgroup).


>> But Pointed Head did indicate I was wrong on two accounts. And you
>> haven't said anything to prove otherwise.
>
> Actually I've just answered the questions *you* had asked (even if the
> were rhetorical). I cannot prove neither of you right or wrong. The
> statement "PHP runs on the server; Javascript runs on the client." is
> not true in every case, even if it's typically true for PHP development.
> And I won't argue, if the name "Javascript" is correct in this context,
> or if one should use "ECMAScript" or point out that it's called
> "JScript" on IE.
>

Nope. The question was real. How many browsers can run PHP code? And
how many web servers actually run Javascript (I'm not counting wanna-be
developers who are running 50 hit/mo. sites out of their basement, where
49 of those hits are from the site owner).

>> IOW, he just opened his fat trap to hear himself talk, as usual.
>
> I can't acknowledge that statement. ISTM Thomas has quite some knowledge
> about web development, and I have learned from him, as I have from you.
>

Not in this group he isn't. And not in several other groups, where he's
also recognized as a troll.

>> And, as usual, he's showing his ignorance (as are you).
>
> Would you have replied, if somebody had called you "Jerry Struggle",
> "stoopid" and "O great one"?
>

I've been called worse. And by better people than you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How can i know the propery of a javascript object how can i see what object inclue [message #178946 is a reply to message #178945] Mon, 27 August 2012 00:59 Go to previous messageGo to previous message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma: 0
Member
Jerry Stuckle wrote:
> On 8/26/2012 11:42 AM, Christoph Becker wrote:
>> Jerry Stuckle wrote:
>>> On 8/26/2012 9:46 AM, Christoph Becker wrote:
>>>> Jerry Stuckle wrote:
>>>> > On 8/22/2012 6:36 PM, Thomas 'PointedEars' Lahn wrote:
>>>> >> Robert Heller wrote:
>>>> >>
>>>> >>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >>>> On 8/22/2012 1:18 AM, sismaster wrote:
>>>> >>>>> i want to know how can i see what object include in java script
>>>> >>>>> and is
>>>> >>>>> there any tool to see what object contains
>>
>> [snip]
>>
>>>> > And how can PHP see what objects are included in Javascript?
>>>>
>>>> Actually it can't. But Thomas didn't say so (please note the carets,
>>>> which might not be aligned properly in the news reader, but are so in
>>>> the source code of the message).
>>>>
>>>> Sincerely,
>>>>
>>>
>>> No, but that was the original question, wasn't it?
>>
>> I'm not sure about that. In fact the OP didn't even mention PHP. Well,
>> he posted on c.l.php, but it might well have been the wrong newsgroup. I
>> *guess* the OP just wanted to know some way to inspect JS objects, what
>> was already answered by Robert. But I may be wrong with this guess, as
>> I'm no native English speaker (what's probably quite obvious).
>>
>
> He posted in a PHP newsgroup, so my answer was in relation to PHP. If
> he wanted something else, he should have been more clear (or posted in a
> more appropriate newsgroup).
>
>
>>> But Pointed Head did indicate I was wrong on two accounts. And you
>>> haven't said anything to prove otherwise.
>>
>> Actually I've just answered the questions *you* had asked (even if the
>> were rhetorical). I cannot prove neither of you right or wrong. The
>> statement "PHP runs on the server; Javascript runs on the client." is
>> not true in every case, even if it's typically true for PHP development.
>> And I won't argue, if the name "Javascript" is correct in this context,
>> or if one should use "ECMAScript" or point out that it's called
>> "JScript" on IE.
>>
>
> Nope. The question was real. How many browsers can run PHP code?

*can*? AISB: at least all that implement the NPAPI, assuming that a PHP
browser plugin *can* be (or already have been?) written.

> And
> how many web servers actually run Javascript (I'm not counting wanna-be
> developers who are running 50 hit/mo. sites out of their basement, where
> 49 of those hits are from the site owner).

See e.g. <http://w3techs.com/technologies/details/pl-js/all/all>.
w3techs's only counting the top 1,000,000 sites. So currently 250 of
the top million websites are running Javascript (assumably all of them
have far more than 50 hits/mo.). And please note the trend: in 9 months
the usage has doubled!

>>> IOW, he just opened his fat trap to hear himself talk, as usual.
>>
>> I can't acknowledge that statement. ISTM Thomas has quite some knowledge
>> about web development, and I have learned from him, as I have from you.
>>
>
> Not in this group he isn't. And not in several other groups, where he's
> also recognized as a troll.
>
>>> And, as usual, he's showing his ignorance (as are you).
>>
>> Would you have replied, if somebody had called you "Jerry Struggle",
>> "stoopid" and "O great one"?
>>
>
> I've been called worse. And by better people than you.

My apologies, as it seems I have not expressed myself properly. I
didn't mean to insult you in any way. This was merely meant as a
"translation" (sorry, I'm lacking the appropriate word) of your reply to
Thomas, which might have been appropriate as reply to a troll -- which
IMHO Thomas isn't -- but every reader should decide for himself.

And yes, I'm quite aware that there are better people than me. Thanks
for reminding me.

--
Christoph M. Becker
Pages (2): [1  2    »]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: DOMDocument::saveHTML() Method Not Accepting Single Argument
Next Topic: Sending nothing when function expects variable
Goto Forum:
  

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

Current Time: Mon Nov 25 00:03:31 GMT 2024

Total time taken to generate the page: 0.03321 seconds