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

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
主站蜘蛛池模板: 湟中县| 伊川县| 边坝县| 昆明市| 平湖市| 翁牛特旗| 雷山县| 无极县| 永宁县| 武穴市| 柳河县| 武城县| 永德县| 溧水县| 正镶白旗| 蚌埠市| 汤原县| 油尖旺区| 莲花县| 荣昌县| 建湖县| 抚松县| 武隆县| 泗水县| 图片| 潞西市| 龙泉市| 互助| 札达县| 左贡县| 满城县| 互助| 怀化市| 河池市| 苍南县| 囊谦县| 宜都市| 全南县| 固安县| 绍兴市| 新龙县|