Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29618
| Path | csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Can someone tell if this is javascript or else (jquery)? |
| Date | Tue, 16 Feb 2016 20:23:29 +0100 |
| Organization | PointedEars Software (PES) |
| Lines | 47 |
| Message-ID | <1927932.lV8zrDp9mk@PointedEars.de> (permalink) |
| References | <89e24913-7873-405c-9b54-9c35331c4d15@googlegroups.com> <ad4a7459-1e9a-4064-bd48-315bd4bfeb3b@googlegroups.com> <n9u4ha$f23$1@news.albasani.net> <1998996.AYlFq7fMdc@PointedEars.de> <n9uukm$fbb$1@news.albasani.net> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1455650610 417 eJwFwYkBwCAIA8CVNCQ847Qo+4/gncy3d9Dl1Ggy0E2/AnWqb2sPjQtRiZUL+CIN+KPqRPYDBWMP9A== (16 Feb 2016 19:23:30 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Tue, 16 Feb 2016 19:23:30 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-User-ID | eJwFwQkBwDAIA0BL5UkAOZQO/xJ2B6Nwwgk6FuvPxp9cTfWU0IpYe1VysN8gt6132dNUO7CSukh+wFSFyA8/2xS7 |
| Cancel-Lock | sha1:jb7V6rt162UBvMFCo8yJqlui3BQ= |
| X-NNTP-Posting-Host | eJwFwYEBADAEA7CXGMXeGfr/CUtgodHpgXAQtDPE7vLarNBbDpQJ6aRXvQef3FC1zVt+PixfERM= |
| Xref | csiph.com comp.lang.javascript:29618 |
Show key headers only | View raw
Stefan Weiss wrote: > On 02/16/2016 08:36, Thomas 'PointedEars' Lahn wrote: >> Stefan Weiss wrote: >>> Still, if it's a plain JS library (like jQuery), you can do everything >>> it does with plain JS yourself. >> No, because "JS" [...] does not include APIs like the DOM that are >> necessary to achieve this. > > Neither does jQuery. The environment either has access to the DOM, or it > doesn't. In either case, everything jQuery does can be done without it. > Besides, we were talking about browser-based components, so the > availability of the DOM was implied. You are missing the point. Saying that you can do the same that jQuery does with “plain JS” implies that you can do *those* things with “plain JS”. But, as a matter of fact you cannot, because “plain JS” actually does not include using APIs like the DOM that jQuery uses a lot. It is important to make that difference in this newsgroup at least, and to avoid spreading further, by such imprecise (underinformed, or simply ignorant) wording, the common misconception to beginners that everything they do in browsers is “(plain) JS” (in its worst form, “javascript”¹) where “JS” (or “javascript”) would, by *misdefinition*, have to include everything scriptable that browsers would provide. Therefore, a more precise wording that could be recommended, if only in parts: You have to use additional *language-independent* API( implementation)s with those scripting languages to achieve what you can do with jQuery and similar libraries, and you can use those language-independent APIs either directly, or through libraries that wrap that API (implementation) access (mostly) for developer convenience (nowadays). See also the introduction to the ECMAScript Support Matrix (URI in signature) for a wording into which more free time was invested, that might be easier to understand. _______ ¹ hopefully not for much longer to be found in the “FAQ for comp.lang.javascript” -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 14:49 -0800
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 00:05 +0100
Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 15:26 -0800
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 01:22 +0100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-15 20:00 +0100
Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 05:41 -0800
Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-15 16:59 -0800
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 04:20 +0100
Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 22:18 -0800
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 08:36 +0100
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 11:45 +0100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 20:23 +0100
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-16 20:24 +0000
Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-17 07:31 +1100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-17 15:57 +0100
Re: Can someone tell if this is javascript or else (jquery)? Tim Streater <timstreater@greenbee.net> - 2016-02-17 15:09 +0000
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 16:09 +0000
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 15:45 +0000
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 00:09 +0100
Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-18 19:29 +1100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 23:36 +0100
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-19 10:51 +0000
Re: Can someone tell if this is javascript or else (jquery)? Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-19 09:01 -0800
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-18 15:10 +0000
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 23:56 +0100
Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-17 04:46 -0800
csiph-web