Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30806

Re: Should I use JQuery?

From wmgill <webworker1950@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Should I use JQuery?
Date 2016-07-01 12:12 -0400
Organization A noiseless patient Spider
Message-ID <nl64pb$rgs$1@dont-email.me> (permalink)
References <nkmft2$th$1@dont-email.me> <nkmhrt$310$1@solani.org>

Show all headers | View raw


On 6/25/2016 2:17 PM, Christoph M. Becker wrote:
>
> I prefer to think the other way round, i.e. making provisions for
> clients which do support scripting.

At the risk of sparking a long chicken/egg philosophical thread, the 
only reason I would consider ES is if I want to provide some 
functionality or feature that can't be accomplished without it. Then I 
would provide a fallback for non ES enabled users. I would never design 
a non page, then look for a way to make provisions to use scripting.

> jQuery is a library; as such you will have to "relearn JS" anyway.  And
> jQuery does not provide much wrt. ECMAScript; it is mostly concerned
> with the DOM and some other browser functionality (such as XHR).  I
> suggest you learn to differentiate between the language (ECMAScript) and
> its host environment (e.g. a browser).

It was not an either/or proposition, I know I have to update my 
scripting skills. I just remember JQuery having similar, but 
semantically different functions that worked like wrappers but provided 
a singular interface to varying DOMs.

> See also <http://youmightnotneedjquery.com/>.
>
Good reference. Thanks.

P.S.
Sorry it took so long to respond. I finally got my newsreader to work on 
my Surface Pro. I used to have to use the reader on my (LAN) development 
server, which was a major inconvenience. I don't want people to think I 
am a hit & run poster.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Should I use JQuery? wmgill <wmgill@domain.invalid> - 2016-06-25 13:43 -0400
  Re: Should I use JQuery? "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-06-25 20:17 +0200
    Re: Should I use JQuery? wmgill <webworker1950@gmail.com> - 2016-07-01 12:12 -0400
      Re: Should I use JQuery? "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-01 13:57 -0700
  Re: Should I use JQuery? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-25 11:38 -0700
    Re: Should I use JQuery? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-25 13:04 -0700
      Re: Should I use JQuery? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-26 12:45 +0200
        Re: Should I use JQuery? Ram Tobolski <ramtob@gmail.com> - 2016-06-27 10:00 -0700
          Re: Should I use JQuery? Ram Tobolski <ramtob@gmail.com> - 2016-06-27 10:21 -0700
            Re: Should I use JQuery? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-27 14:42 -0700
              Re: Should I use JQuery? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-28 12:03 +0200
      Re: Should I use JQuery? wmgill <webworker1950@gmail.com> - 2016-07-01 12:34 -0400

csiph-web