Mustache Template Syntax Reference
Mustache is a logic-less template engine widely used for generating HTML pages and dynamic content. The syntax consists of a minimal set of tags that handle variable interpolation, conditional rendering, loops, and partial templates.
Syntax Overview
{{variable}} - Variable interpolation
{{#section}}{{/section}} - Section/block rendering ...
Posted on Tue, 08 Sep 2026 16:57:02 +0000 by morphius
Mastering Client-Side RPC Calls and Backend Routing in Odoo 14
Odoo's architecture relies heavily on remote procedure calls to bridge its JavaScript frontend and Python backend. While external API integrations require explicit authentication flows, internal frontend modules—such as custom widgets, dynamic views, or action handlers—communicate directly with the server through the built-in _rpc utility. This ...
Posted on Tue, 08 Sep 2026 16:56:41 +0000 by BillyMako
Using Server-Sent Events for Real-Time Data Push
Modern web applications often require real-time updates from server to client. A common approach is WebSockets, but another mechanism—Server-Sent Events (SSE)—can serve this purpose efficiently using standard HTTP. SSE relies on the Content-Type: text/event-stream header defined in HTML5.
Server-Sent Events Overveiw
SSE provides a lightweight u ...
Posted on Tue, 08 Sep 2026 16:46:05 +0000 by Perryl7
Intercepting Programmatic Input Value Changes in JavaScript
Programmatically assigning a new value to an <input> element bypasses the native change event listener. This occurs because the browser's implementation of onchange enforces strict activation criteria. Specifically, the event only fires when three conditions are met sequentially: the element receives focus, its content is modified, and it ...
Posted on Mon, 07 Sep 2026 16:28:34 +0000 by Dollar
Understanding and Implementing Web Workers in JavaScript Applications
Web Workers
JavaScript is a single-threaded language, and when browsers need to perform computationally intensive tasks, other operations on the page can become unresponsive due to the main thread being occupied. This creates a poor user experience. For example, when displaying large BIM models in the browser, the frontend needs to fetch and pa ...
Posted on Mon, 07 Sep 2026 16:17:54 +0000 by doctor_james
Creating Floating Heart Animations with Canvas and Bezier Curves
Implementing a floating heart animation for a "like" feature requires moving a heart image along a Bezier curve trajectory while gradually fading it out. The core challenge lies in calculating a series of points along the Bezier curve.
Calculating Bezier Curve Points
The mathematical formula for an n-order Bezier curve allows us to co ...
Posted on Sun, 06 Sep 2026 16:55:44 +0000 by AmiraSan
Display Table and Minimum Frogs Algorithm Problems
Display Table
Given an array of orders where each element contains a customer name, table number, and food item, return a display table showing how many of each dish was ordered at each table.
The table should have "Table" as the first column header, followed by alphabetical sorted food item names. Each row represents a table with its ...
Posted on Sun, 06 Sep 2026 16:36:50 +0000 by joebarker99
JavaScript Hoisting Mechanics and Scope Boundaries: Declarations, Expressions, and Block Contexts
JavaScript engines process source code in two distinct phases: compilation and execution. During the compilation phase, the engine scans for declarations and registers them in their respective lexical environments. This behavior, commonly known as hoisting, allows identifeirs to be referenced before their physical location in the codebase.
Vari ...
Posted on Sun, 06 Sep 2026 16:06:58 +0000 by lauriedunsire
Comprehensive JavaScript Fundamentals for Frontend Interviews
Computer Networking Interview Questions - Essential for Frontend Roles
CSS Interview Summary - Core Concepts - Study Guide
Vue Interview Questions - Core Concepts - Component Details - Vue Ecosystem - Source Code Analysis
This article covers JavaScript interview questions with both questions and answers. For deeper insights, refer to my detai ...
Posted on Sat, 05 Sep 2026 16:21:35 +0000 by bawla
Turning a Live2D HTML Character into a Desktop Executable with NW.js
This project converts an interactive Live2D character widget originally designed for web pages into a standalone desktop application using NW.js. The character can walk, talk, and respond to mouse interactions, making it a cute desktop copmanion.
Original HTML Embedding
The Live2D widget is typically embedded in a webpage with a few lines of HT ...
Posted on Fri, 04 Sep 2026 16:55:17 +0000 by shibbi3