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 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
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>
|
|
|