ADM-201 dump PMP dumps pdf SSCP exam materials CBAP exam sample questions

《网络忍者NodeJS入门》#1 介绍 – 译学馆
未登陆,请登陆后再发表信息
最新评论 (0)
播放视频

《网络忍者NodeJS入门》#1 介绍

Node JS Tutorial for Beginners #1 - Introduction

同学们好!
Yo, what’s up in campus
欢迎来到全球最好的Node.js课程
Welcome to your first lesson of the best Node.js tutorial series on the planet
[开场音乐]
[intro music]
你或许已经听说过Node.js
Ok then, so you may have heard of Node.js
它现在真的很流行 每个人都在使用
Everyone’s using it and it’s really popular at the minute
所以你打算怎么做
So what do you do?
你打开Nodejs的网站
You had to the Node.js website
你想 我要学习Node.js
And you think, I’m going to learn this
然后你面对着屏幕前的这个段落
But then you’re faced with this paragraph right here
NODEJS是一个基于Chrome V8 JS引擎的Javascript运行环境
Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine
Node.js使用事件驱动,无阻塞模型
Node.js uses en event driven, non-blocking model
它能使bla-bla-bla-bla
That makes yadi-yadi-yadi-yadi
嗯 这没有任何意义
Ok, this makes no sense whatsoever
这的确不是一段对用户友好或者说对初学者友好的话
This isn’t exactly the most user-friendly or beginner-friendly paragraph
用来放在网站的首页
To place on the front page of your website
所以 拆开来看 Node.js 其实是
So, to break it down, Node.js actually is
一个能够允许JavaScript运行在电脑或服务器上的平台
A platform which allows us to run JavaScript on a computer or a server
除此之外 它还非常酷
And that, my friends is immensely cool
因为 如果我们想自己建一个全功能web应用
Because, if we want to create a full web application ourselves
我们不必学习其他的编程语言
We no longer have to learn additional programming languages
来运行在服务器上 像PHP或者Ruby
To run on the server, like PHP or Ruby
我们可以通过Node.js全部在JavaScript里完成
We can just do it all in JavaScript via Node.js
这意味着 Node.js给了我们
So that means that Node.js gives us the ability
读写 更新文件的能力
To read, delete, update files
简便地与数据库交流
Easily communicate with the database
加上其他所有你期待一个服务侧语言做的事情
Plus all the other things you would expect of a service-side language
接下来我们进行本节课的内容
And we’re going to take a look at those in this tutorial
那么 为什么你会想要使用Node.js
So why would you want to use Node.js?
因为它太流行了
Well, is insanely popular
因为 首先它使用JavaScript
Because first of all, it uses JavaScript
所以不必去学习另外一门语言来作为你的服务侧语言
So there’s no need to learn another programming language to do your service-side code on
而且node.js速度很快
Is it very fast
这是因为他运行在V8引擎上 而且使用无阻塞代码
And that’s because it runs on the V8 engine and uses non-blocking code
之后的课程我们会讲到这一点
And we’re going to take a look at that in later tutorials
Node.js有一个巨大的开源包生态系统
It’s got a huge eco system of open source packages
我们可以通过Node包管理器来安装包到我们的项目
Which we can install on our projects via the Node package manager
And it also great for real-time services, like chat rooms
And it also great for real-time services, like chat rooms
同样对于实时服务的支持也很棒 例如 聊天室
And it’s also great for real-time services, like chat rooms
And that’s because we can utilise something called, web sockets
And that’s because we can utilise something called, web sockets
这是因为我们可以利用 web sockets
And that’s because we can utilise something called, web sockets
So we’re going to take a look at all this and more, in this tutorial
So we’re going to take a look at all this and more, in this tutorial
接下来的课程我们详细的了解一下它们
So we’re going to take a look at all this and more, in this tutorial
And here’s a breakdown of what we will be learning
And here’s a breakdown of what we will be learning
这个是我们将要学习的细节
And here’s a breakdown of what we will be learning
So I’ve gone ahead and split this tutorial series into three sections
So I’ve gone ahead and split this tutorial series into three sections
我已经这个系列的课程分为了三部分
So I’ve gone ahead and split this tutorial series into three sections
The first section is all going to be about the the inner workings of Node.js
The first section is all going to be about the the inner workings of Node.js
第一部分全是关于Node.js的内部工作方式
The first section is all going to be about the the inner workings of Node.js
We going to look at the V8 engine, modules
We going to look at the V8 engine, modules
我们将会了解 V8引擎 模块
We going to look at the V8 engine, modules
The event emitter, the file systems and we’re going to look under the hud
The event emitter, the file systems and we’re going to look under the hud
事件触发器 文件系统 我们会深入了解
The event emitter, the file system and we’re going to look under the hood
看看它究竟是如何彼此连接和工作的
See how it all connect together and works
因为 我认为当你学习Node.js时
Because, I think when you’re learning Node.js
了解一点Node.js的内部原理
It benefits you greatly
对你会有很大的益处 因为你知道发生了什么
To know the inner workings of Node.js a little bit, so you know what going on
第二部分就是关于创建一个 web 服务器
Then, the second section is all going to be about creating a web server
路由 了解最流行的Node包 express
Routing, we’re going to take a look at express which is a very popular Node package
和 模板
And templating
第三部分 我们将要从头创建一个Node.js应用
And then, the third section, we’re going to create a Node.js application from scratch
它将会是一个todo应用
And it’s going to be a todo app
好了 同学们 这就是我们接下来要做的事情
Alright then guys, so this is what we’re going to be aiming towards
在本系列课程的结束
At the end of this tutorial series
我们将会创建这个TODO应用
We’re going to go ahead and create this todo application
所以这是一个抢先预览版
So this is a quick sneak preview
我们主要可以添加东西到这个列表中
And we can basically add things to this list
我会写 “take a nap” 这是个不错的想法
I’ll say take a nap, that’s always a good idea
然后我们可以添加或通过点击删除它们
Then we can add them and we can also delete them, if we click on them
那么 在接下来的课程中我们将要创建这个应用
So, we’re going to be creating this application towards the end of this tutorial series
但是首先我们需要多了解一些Node.js
We’re going to learn a lot more about Node.js, first of all
第二
Eh, secondally
本系列课程中我将使用Atom文本编辑器
Atom is the text editor I’m going to be using for this tutorial playlist
它就在屏幕的左边 它真的很酷 而且是免费哒
It’s on the left over here and it’s really cool, and it’s free
如果你想使用它 就去 atom.io 下载它吧
So if you want it, just head over to atom.io and download it
顺便提一下 很多人问我 我用的是哪一款主题
By the way, a lot of people have asked me which theme I use for Atom
嗯 对于UI主题 我使用的是Monikai Tweaked
And for the UI theme, I use something called Monikai Tweaked
对于语法主题 我用的是Atom Monikai
And for the syntax theme, I use Atom Monikai
它确实是很好看
And it does look quite nice
嗯最后 给你看一下我的Github主页
Ok, so finally, I want to show you my GitHub page
我已经为课程创建了一个 repository
And I’ve created a repository for this playlist
它包含了一些我们最后todo list 应用使用的资源
Which is going to contain some assets for our final todo list application
其实它就是一些
So, all it has in it really is
图片 一些样式表 和一些前端JavaScript代码
An image, some styles, and some JavaScript for the front end
好了 所以你想下载的话就去下载吧
So, if you want to go ahead and download that, you can do
或者不管它 直接下载本课程最后的那个
Or maybe just leave it, and then download it towards the end of this tutorial series
两个选项 随便你吧
Either way, it’s there if you want it
最后开始本系列课程之前有一点你需要知道 理论上
But finally just a little bit about what you need to know before starting the playlist, ideally
第一JavaScript非常重要
And the first one is JavaScript, and that essential
因为我们要在Node.js上用JavaScript
Because we are going to be using JavaScript on Node.js
它就是全部
That’s what it’s all about
第二就是HTML
And the second one is HTML
它在本系列靠后的位置
And that’s more for later on in the course
当我们用到模板
When we’re going to be templating
为我们的Node,js应用创建一些前端
And creating a bit of a front end for our Node.js application
最后 仅仅有一小点关于命令行
And then finally, just a tiny bit about the command line
你不必了解太多 说实话 你可以什么都不必了解
You don’t need to know much, and to be honest, you can get away with not knowing anything
我会给你演示所有你将用到的命令
I’m going to show you, all of the commands you’re going to be using
而且他们都是最基本的
And they’re going to be minimal
那么 完事了
So, there we go guys
这就是Node.js的简短介绍
That is your brief introduction to Node.js
我希望你能喜欢这个系列 我们很快会在下个视频里见到
I hope you enjoy this playlist, and I’m going to see you in the very next tutorial
那时我们将下载Node到我们的电脑上
Where we’re going to go ahead and download it to our computer

发表评论

译制信息
视频概述

本节视频主要对nodejs做了一些简短的介绍

听录译者

positiveme

翻译译者

【B】Cod

审核员

萨默之光

视频来源

https://www.youtube.com/watch?v=w-7RQ46RgxU

相关推荐