TUTORIAL
NodeJS
<p> </p><h2><strong>🧱 Phần 1: Kiến thức nền tảng (Fundamentals)</strong></h2><h2><strong>1. Giới thiệu về Node.js</strong></h2><p>Mô hình <strong>single-threaded non-blocking</strong></p><p><strong>V8 Engine</strong>, Event Loop, Call Stack</p><p>Cài đặt Node.js, chạy file .mjs, .ts</p><h2><strong>2. Modules & Package Manager</strong></h2><p><strong>ECMAScript Modules</strong> (import/export)</p><p>Built-in Modules: fs, path, events, http</p><p><strong>npm / yarn / pnpm</strong>, semantic versioning, npx</p><h2><strong>3. Asynchronous Programming</strong></h2><p><strong>Callback</strong>, <strong>Promise</strong>, <strong>Async/Await</strong></p><p>Error handling: try/catch, Promise.allSettled</p><h2><strong>4. File System & Streams</strong></h2><p>Read/write file, create server</p><p><strong>Streams</strong>: readable/writable, pipe, zlib compression</p>
- BASIC
- Vietnam
testc 111
gadg