Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
IBM Open Source Programming

IBM Bequeaths the Express Framework To the Node.js Foundation (thenewstack.io) 47

campuscodi writes: The Node.js Foundation has taken the Express Node.js framework under its wing. Express will be a new incubation project for the Foundation. IBM, which purchased Express maintainer StrongLoop last September, is contributing the code. Part of the reason for allowing the foundation to oversee Express is to build a diverse contributor base, which is important given the framework's popularity.
This discussion has been archived. No new comments can be posted.

IBM Bequeaths the Express Framework To the Node.js Foundation

Comments Filter:
  • Bequeaths (Score:4, Informative)

    by Thanshin ( 1188877 ) on Thursday February 11, 2016 @11:24AM (#51487397)

    Express venturesomely acquiesced to the coadunation; one more of its neoteric, somewhat quixotic, adjudicatures.

  • Yet another JavaScript framework. *sigh*
    • by chispito ( 1870390 ) on Thursday February 11, 2016 @11:32AM (#51487451)

      Yet another JavaScript framework. *sigh*

      Yet another framework? Express isn't exactly new on the scene...

      • It's new to me. Hence, my point.
        • It's new to me. Hence, my point.

          Google "MEAN stack." Express is ubiquitous in Node installations. I am not trying to be snarky, but it would be like reading a jQuery story and implying that it meant there was "another" JS framework.

          Besides, whatever your objection to JS frameworks, Node frameworks and client side frameworks are completely different.

          • Besides, whatever your objection to JS frameworks, Node frameworks and client side frameworks are completely different.

            Seems like a day doesn't go by without another JavaScript framework popping into existence.

        • It's new to me. Hence, my point.

          A point about your inexperience, that is :)

          • A point about your inexperience, that is :)

            If I know jQuery and Node, but not all the frameworks the sprung up around them, that makes me inexperience?

    • by reanjr ( 588767 )

      Express is more like THE javascript framework for web servers.

  • What Is it? (Score:4, Insightful)

    by Luthair ( 847766 ) on Thursday February 11, 2016 @11:28AM (#51487427)
    Everything seems to be written with the assumption you know what it is already, and their own website refers to it as a "web framework" which is equally vague.
    • If a name includes "js" at the beginning or the end, you can safely ignore whatever the name is referring to. It's almost always some shitty JavaScript framework or library that hipsters fondle themselves to. Chances are it's just a really awful hack over something they adore that's even worse, like how jQuery provides a shitty-but-not-as-shitty interface to the extraordinarily-shitty browser DOM API.

      • If a name includes "js" at the beginning or the end, you can safely ignore whatever the name is referring to...

        I see you are writing from the year 2006! While time travel is ordinarily considered a rather impressive feat which allows for great party tricks, this does not apply to time travel in the forward direction.

        In 2016, Node is an extremely popular command-line (i.e. non-browser) system to run Javascript. Express is the most popular implementation of a simple web browser that is used in node. Both are incredibly popular, are used by many thousands of developers, and are supported by the major cloud providers

    • Re:What Is it? (Score:5, Informative)

      by The MAZZTer ( 911996 ) <megazzt AT gmail DOT com> on Thursday February 11, 2016 @11:57AM (#51487645) Homepage

      node.js is a console-based JavaScript interpreter based off of Chrome's JavaScript engine. So you can basically write cross-platform (Windows, Max, Linux) desktop console apps in JavaScript. There is also NodeWebKit which is pretty much the same thing for desktop GUI applications, which uses HTML/CSS for that side of things.

      Node has a few extra pieces of functionality over standard JavaScript for allowing for some normal desktop-y functionality. One of these things is the ability to run a HTTP or HTTPS server. However it's pretty bare-bones, relying on your code to do a lot of the work. You can set up an event handler to fire when someone requests a URL from your server, and you get your HTTP headers parsed for you, but it's up to your code to figure out what the URL is supposed to point to, resolve a local file path, set up the proper HTTP response headers, and then stream the file to the requester. That's just if you want a simple server, if you want to run custom code for specific URLs or URL patterns that's more work.

      Express is a bunch of JS code bundled in a library (node calls these "modules") that builds a framework on top of the HTTP/HTTPS server functionality to make things a lot easier if you want one in your code. You can tell it in one line if you want a simple web server that serves on-disk files from a specific directory, or you can define "routes" (mapping URLs to specific blocks of code) to have custom functionality for specific URLs or URL patterns. You can even chain routes together so if multiple routes all match the same URL all the code runs, if that makes sense (eg a logging function that triggers on any request). It does a lot more too I'm sure, that is just the stuff I have used it for.

    • by waTeim ( 2818975 )
      Express is a nodejs FRP implementation for attaching functionality to URL endpoints in HTTP servers as first made popular by Ruby's Sinatra and then later adopted by frameworks (e.g Django/Flask for Python) and various others. Loosely, in it (them) a string associated with a URL(s) is attached to a function and a REST verb (GET, POST, etc). Whenever that URL is requested, the function is called; these strings may be regular expressions. Multiple such attachments may be made for the same URL. As such, i
  • by Anonymous Coward

    Let's say you want to route a URL like /about. Express takes that nice static string and turns it into a regular expression. So if you have a few thousand simple URLs, you might expect an O(1) lookup. But Express turns it into an O(N) lookup. And you can never remove a URL because it's been turned into a regular expression in an array somewhere. Netflix learned this the hard way.

    Now, maybe that's find for you. Maybe it's not, but either way you should probably know what your framework is doing. But

  • by Anonymous Coward

    Wahhhh this isn't about C, C++ or Perl. IT'S AWFUL I HATE IT. Anything that isn't C, C++ or Perl is a HIPSTER WASTE OF TIME.

    You /. luddites are pathetic.

A sheet of paper is an ink-lined plane. -- Willard Espy, "An Almanac of Words at Play"

Working...