- JavaScript:Moving to ES2015
- Ved Antani Simon Timms Narayan Prusty
- 249字
- 2021-07-09 19:07:45
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.
- PHP動態網站程序設計
- SQL Server 2016從入門到精通(視頻教學超值版)
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- Android Studio Essentials
- FFmpeg入門詳解:音視頻原理及應用
- 正則表達式經典實例(第2版)
- The DevOps 2.5 Toolkit
- jQuery炫酷應用實例集錦
- Visual Basic程序設計習題與上機實踐
- 深入解析Java編譯器:源碼剖析與實例詳解
- SignalR:Real-time Application Development(Second Edition)
- Python面試通關寶典
- Node.js應用開發
- C語言程序設計教程
- 例說FPGA:可直接用于工程項目的第一手經驗