官术网_书友最值得收藏!

Node Fundamentals – Part 1

In this chapter, you'll learn a ton about building Node applications, and you'll actually build your first Node application. This is where all the really fun stuff is going to start.

We'll kick things off by learning about all of the modules that come built in to Node. These are objects and functions that let you do stuff with JavaScript you've never been able to do before. We'll learn how to do things, such as reading and writing from the filesystem, which we'll use in the Node's application to persist our data.

We'll also be looking at third-party npm modules; this is a big part of the reason that Node became so popular. The npm modules give you a great collection of third-party libraries you can use, and they also have really common problems. So you don't have to rewrite that boilerplate code over and over again. We'll be using a third-party module in this chapter to help with fetching input from the user.

The chapter will specifically cover the following topics:

  • Module basics
  • Require own files
  • Third-party modules
  • Global modules
  • Getting input
主站蜘蛛池模板: 安平县| 广河县| 隆昌县| 资溪县| 永寿县| 郁南县| 四子王旗| 五大连池市| 琼海市| 古田县| 霍林郭勒市| 元江| 沙坪坝区| 靖江市| 门源| 大化| 新蔡县| 城市| 庄河市| 永善县| 保定市| 霞浦县| 绥阳县| 大连市| 建德市| 辉南县| 太和县| 博爱县| 利辛县| 北辰区| 大方县| 丹江口市| 华坪县| 兴和县| 汝州市| 资源县| 乐都县| 札达县| 封丘县| 崇阳县| 白水县|