当前位置: 首页 > 工具软件 > BigPicture.js > 使用案例 >

node.js历史‘_Node.js的简要历史

姬振
2023-12-01

node.js历史‘

Believe it or not, Node.js is just 9 years old.

信不信由你,Node.js才9岁。

In comparison, JavaScript is 23 years old and the web as we know it (after the introduction of Mosaic) is 25 years old.

相比之下,JavaScript已有23年的历史了,而我们所知道的网络(在Mosaic引入之后)已有25年的历史了。

9 years is such a little amount of time for a technology, but Node.js seems to have been around forever.

9年对于技术来说是很少的时间,但是Node.js似乎永远存在。

I’ve had the pleasure to work with Node since the early days when it was just 2 years old, and despite the little information available, you could already feel it was a huge thing.

从成立仅2年的早期开始,我就很高兴与Node一起工作,尽管掌握的信息很少,但您可能已经感觉到这是一件大事。

In this post, I want to draw the big picture of Node in its history, to put things in perspective.

在这篇文章中,我想勾勒出Node历史上的全景图,以便对事物进行透视。

一点历史 (A little bit of history)

JavaScript is a programming language that was created at Netscape as a scripting tool to manipulate web pages inside their browser, Netscape Navigator.

JavaScript是一种在Netscape中创建的编程语言,它是一种脚本工具,用于在其浏览器Netscape Navigator中操纵网页。

Part of the business model of Netscape was to sell Web Servers, which included an environment called Netscape LiveWire, which could create dynamic pages using server-side JavaScript. So the idea of server-side JavaScript was not introduced by Node.js, but it’s old just like JavaScript - but at the time it was not successful.

Netscape的业务模型的一部分是出售Web服务器,其中包括一个称为Netscape LiveWire的环境,该环境可以使用服务器端JavaScript创建动态页面。 因此,Node.js并未引入服务器端JavaScript的想法,但是它像JavaScript一样古老-但是当时还没有成功。

One key factor that led to the rise of Node.js was timing. JavaScript since a few years was starting being considered a serious language, thanks for the “Web 2.0” applications that showed the world what a modern experience on the web could be like (think Google Maps or GMail).

导致Node.js兴起的一个关键因素是计时。 几年以来,JavaScript开始被视为一种严肃的语言,这要感谢“ Web 2.0”应用程序,该应用程序向世界展示了Web上的现代体验(例如Google Maps或GMail)。

The JavaScript engines performance bar raised considerably thanks to the browser competition battle, which is still going strong. Development teams behind each major browser work hard every day to give us better performance, which is a huge win for JavaScript as a platform. V8, the engine that Node.js uses under the hood, is one of those and in particular it’s the Chrome JS engine.

由于浏览器竞争的激烈,JavaScript引擎的性能标准大为提高,但该竞争仍在继续。 每个主要浏览器背后的开发团队每天都在努力工作,以提高性能,这对于JavaScript作为平台是一个巨大的胜利。 Node.js在引擎盖下使用的V8引擎就是其中之一,尤其是Chrome JS引擎。

But of course, Node.js is not popular just because of pure luck or timing. It introduced much innovative thinking on how to program in JavaScript on the server.

但是,当然,仅由于运气或时机原因,Node.js并不流行。 它引入了有关如何在服务器上使用JavaScript编程的许多创新思想。

2009年 (2009)

  • Node.js is born

    Node.js诞生了
  • The first form of npm is created

    创建npm的第一种形式

2010 (2010)

2011年 (2011)

  • npm hits 1.0

    npm达到1.0
  • Big companies start adopting Node: LinkedIn, Uber Hapi is born

    大公司开始采用Node:LinkedIn,Uber Hapi诞生了

2012年 (2012)

  • Adoption continues very rapidly

    采纳非常Swift

2013年 (2013)

  • First big blogging platform using Node: Ghost

    第一个使用Node:Ghost的大型博客平台
  • Koa is born

    Koa出生

2014年 (2014)

  • The Big Fork: io.js is a major fork of Node.js, with the goal of introducing ES6 support and moving faster

    大叉: io.js是Node.js的主要分支,目的是引入ES6支持并加快迁移速度

2015年 (2015)

  • The Node.js Foundation is born

    Node.js Foundation诞生了

  • IO.js is merged back into Node.js

    IO.js合并回Node.js
  • npm introduces private modules

    npm引入了私有模块
  • Node 4 (no 1, 2, 3 versions were previously released)

    节点4(之前没有发布1,2,3个版本)

2016年 (2016)

2017年 (2017)

  • npm focuses more on security

    npm更加注重安全性
  • Node 8 - 9

    节点8-9
  • HTTP/2

    HTTP / 2
  • V8 introduces Node in its testing suite, officially making Node a target for the JS engine, in addition to Chrome

    V8在其测试套件中引入了Node,除了Chrome之外,还正式使Node成为JS引擎的目标

  • 3 billion npm downloads every week

    每周有30亿次npm下载

2018年 (2018)

2019年 (2019)

  • Node 12 - 13

    节点12-13
  • Work on Deno started to move server-side JS into the next decade with modern JavaScript support

    Deno的工作开始通过现代JavaScript支持将服务器端JS迁移到下一个十年

2020年 (2020)

  • Node 14 - 15

    节点14-15
  • GitHub (owned by Microsoft) acquired NPM

    GitHub(微软所有)收购NPM

翻译自: https://flaviocopes.com/node-history/

node.js历史‘

 类似资料: