Slashdot Mirror


The Linux Foundation Helps Launch the JS Foundation (softpedia.com)

An anonymous reader writes from a report via Softpedia: Today, the Linux Foundation announced the creation of a new entity named the JS Foundation that will serve as an umbrella project and guiding force for various open-source utilities at the heart of the JavaScript ecosystem. The JS Foundation is actually the jQuery Foundation, which was expanded with the help of companies such as IBM and Samsung. With jQuery slowly bowing out to newer tools, the jQuery Foundation's members and their unmatched expertise will most likely be put to good use in managing the slew of new tools making up today's JavaScript landscape. The list of JS Foundation founding members includes Bocoup, IBM, Ripple, Samsung, Sauce Labs, Sense Tecnic Systems, SitePen, StackPath, University of Westminster and WebsiteSetup. In alphabetical order, the JS Foundation's initial projects are Appium, Chassis, Dojo Toolkit, ESLint, Esprima, Globalize, Grunt, Interledger.js, Intern, Jed, JerryScript, jQuery, jQuery Mobile, jQuery UI, Lodash, Mocha, Moment, Node-RED, PEP, QUnit, RequireJS, Sizzle, and webpack. "Using jQuery can constitute the use of a sledgehammer for putting small nails into an Ikea TV stand; however, as a piece of engineering, it really is a thing of beauty," says A. M. Douglas, British freelance web developer. "[T]he word 'jQuery' has become synonymous with 'JavaScript' for many. As of today, jQuery's days as a relevant tool are indeed numbered, but I think jQuery's source code will always have relevance, as it is a brilliant example to study for anybody seeking to learn and master JavaScript," Douglas also adds.

8 of 34 comments (clear)

  1. First order of business. by Narcocide · · Score: 2, Funny

    Shut it down. Shut it down forever. -- Mr. Book, "Dark City"

  2. Re:jQuery monoculture by Shados · · Score: 2

    It's pretty common nowaday to make websites/webapps without jQuery at all, or to only use it for some legacy plugins and shit.

    Far from a monoculture at this point (probably half the reason that foundation got renamed...)

  3. How so? by ProzacPatient · · Score: 5, Interesting

    jQuery's days as a relevant tool are indeed numbered

    How is jQuery's days numbered; is it no longer hipster enough?

    Maybe I didn't get the memo but as a professional web developer I still find jQuery immensely useful.

    1. Re:How so? by Anonymous Coward · · Score: 2, Insightful

      jQuery is most likely destined, in the end, to become a victim of its own success. The features it provides are so essential, so clearly superior to the old DOM APIs, that those APIs have been and are still being substantially upgraded to natively incorporate most of jQuery's marquee features. I actually have a list on my work computer of all of the major jQuery features and what might replace them. The big one, jQuery's selector syntax, is a standard feature these days as querySelector and querySelectorAll. The AJAX wrapper and associated chaining behavior can be replaced with the Fetch API and Promises. Functional programming methods like each and map are standard on every modern browser and a lot of older ones. jQuery's animation is fine — but Velocity's is better.

      Of course, if you want to support older browsers, then you may need polyfills for new features. Most of your users won't need most of the polyfills. In time, those polyfills will go away. jQuery may occasionally prune workarounds for ancient browsers, but it will always be filled with incompatible reimplementations of functionality that modern browsers already have, out-of-the-box, running in native compiled code. You could write a similar library in a fraction of the size that provides most of jQuery's convenience features on top of the standard APIs.

      My company uses mainly jQuery UI-style widgets for some fairly substantial applications. Through painful experience, we've learned how difficult it can be to scale that approach to complex, multifaceted applications. It's not just about how easy it is to write it the first time, but about what it takes to maintain all of that mutable state in a couple of years. For us, using React isn't a way to be hip with the kids, but a way to avoid the maintenance headaches we've experienced with jQuery.

      The hackernoon link seems rather oriented toward simple, hack-it-together sorts of applications. Yes, if you're just making a personal web page or something you probably don't need a complete build system or anything like that.

  4. Obligatory by Anonymous Coward · · Score: 2, Informative

    why use jQuery when VanillaJS loads faster and is proven bug free?
    VanillaJS is used by more websites than jQuery.

    1. Re:Obligatory by KiloByte · · Score: 2

      There's another JavaScript framework I'd heartily recommend.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  5. Re:jQuery monoculture by irrational_design · · Score: 3, Interesting

    What are you talking about? I don't know anyone creating anything new that is using jQuery. Now that the majority of people have an evergreen browser installed, the need for jQuery has diminished to the point that I don't know anyone that still uses it unless the client specifically needs the site to run on ancient versions of IE (and since those version of IE have reached End of Life Support, most clients can be convinced not to do that). Are you talking about paying some sort of price for all the websites that were created with jQuery previously? What kind of price will we have to pay?

  6. Wrong icon by Anonymous Coward · · Score: 2, Insightful

    Please stop using Java's coffee cup icon for Javascript....