JavaScript Modules

JavaScript Modules

In Day 14 of the JavaScript and Node.js series, the focus is on JavaScript Modules, which enhance code organization, reusability, testability, and collaboration. The article covers ES6 and CommonJS modules, their exporting/importing methods, and also discusses bundlers like Webpack, Rollup, and Parcel, emphasizing their roles in optimizing performance and modularity.
Understanding JavaScript Objects: A Comprehensive Guide

Understanding JavaScript Objects: A Comprehensive Guide

JavaScript objects are versatile data structures that allow you to store and organize data in key-value pairs. You can create objects using object literals, constructor functions, or the Object.create() method. Access and modify properties using dot or bracket notation. Objects can hold various data types, including other objects, arrays, and functions. By understanding objects, you can build complex and dynamic applications in JavaScript.
Extracting Property Names from DTOs with TypeScript: A How-To Guide

Extracting Property Names from DTOs with TypeScript: A How-To Guide

This blog post explains a method for extracting property names from Data Transfer Objects (DTOs) and converting them into arrays by using TypeScript decorators. DTOs are used to transfer data between application layers. By applying the CollectKeys decorator to each property, property names are collected in a static array, allowing for dynamic retrieval and manipulation.