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

Summary

In this chapter, we looked at a different avatar of JavaScript—that of a server-side framework in the form of Node.js.

Node offers an asynchronous evented-model to program scalable and high-performance server applications in JavaScript. We ped deep into some core concepts on Node, such as an event loop, callbacks, modules, and timers. Understanding them is critical to write good Node code. We also discussed several techniques to structure Node code and callbacks in a better way.

With this, we reach the conclusion of our exploration of a brilliant programming language. JavaScript has been instrumental in the evolution of the World Wide Web because of its sheer versatility. The language continues to expand its horizons and improves with each new iteration.

We started our journey with understanding the building blocks of the grammar and syntax of the language. We grasped the fundamental ideas of closures and the functional behavior of JavaScript. These concepts are so essential that most of the JavaScript patterns are based on them. We looked at how we can utilize these patterns to write better code with JavaScript. We studied how JavaScript can operate on a DOM and how to use jQuery to manipulate the DOM effectively. Finally, we looked at the server-side avatar of JavaScript in Node.js.

This module should have enabled you to think differently when you start programming in JavaScript. Not only will you think about common patterns when you code, but also appreciate and use newer language features by ES6.

主站蜘蛛池模板: 四子王旗| 方城县| 旬邑县| 苏尼特右旗| 龙胜| 万载县| 临洮县| 灵武市| 阜阳市| 临猗县| 巨野县| 正安县| 达尔| 广平县| 陵川县| 玛曲县| 枣强县| 中宁县| 保靖县| 淳化县| 湄潭县| 龙州县| 安龙县| 铜陵市| 西畴县| 若尔盖县| 乡城县| 敦化市| 金山区| 北海市| 海门市| 平安县| 峨山| 富宁县| 阿克陶县| 泗洪县| 南木林县| 常山县| 靖远县| 烟台市| 綦江县|