- 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.
- HoloLens Beginner's Guide
- 編寫高質(zhì)量代碼:改善Python程序的91個(gè)建議
- iOS開發(fā)實(shí)戰(zhàn):從零基礎(chǔ)到App Store上架
- 零基礎(chǔ)學(xué)MQL:基于EA的自動(dòng)化交易編程
- 學(xué)Python也可以這么有趣
- 軟件測(cè)試技術(shù)指南
- RSpec Essentials
- Create React App 2 Quick Start Guide
- R用戶Python學(xué)習(xí)指南:數(shù)據(jù)科學(xué)方法
- Python機(jī)器學(xué)習(xí)開發(fā)實(shí)戰(zhàn)
- Xamarin Cross-Platform Development Cookbook
- Java Web開發(fā)基礎(chǔ)與案例教程
- 征服C指針(第2版)
- 前端架構(gòu)設(shè)計(jì)
- Practical Responsive Typography