Tagged articles
Template Engine
45 articles · Page 1 of 1
This tutorial demonstrates how to use JXLS 2.11.0 for complex Excel exports in Java, covering Maven setup, template creation with xlsx format, and key expressions like jx:area, jx:each, jx:mergeCells, and dynamic columns with code examples.
Apache POIDynamic ColumnsExcel Export
0 likes · 9 min read

JJTemplate compiles JSON-compatible templates into optimized ASTs for fast rendering, preserving type fidelity and offering conditional insertion, spread, pipes, ternary, safe access, and namespaced functions.
AST compilationJJTemplateJSON template
0 likes · 10 min read

This article introduces an open-source code generator that automatically creates complete Spring Boot CRUD layers—entities, DAOs, MyBatis mappers, services, converters, and controllers—from database schemas or SQL, featuring customizable templates with dynamic parameters and reusable code blocks for team-specific conventions.
JavaMyBatisSpring Boot
0 likes · 19 min read


o-ai.techJul 16, 2026 · Artificial Intelligence
This document details a language‑agnostic design for generating system prompts via a structured data‑to‑template pipeline and introduces two runtime reminder mechanisms—TodoNudge and TodoGate—that help an AI programming agent keep its todo list up to date during interaction.
AI agentJinja2Template Engine
0 likes · 19 min read

This article introduces the open‑source POI‑TL Word template engine, shows how to add the Maven dependency, prepare Word templates and data models, and demonstrates generating tables, lists, sections, charts, and SpEL‑driven content in Spring Boot 3, including a downloadable controller endpoint.
JavaPoi-tlTemplate Engine
0 likes · 11 min read


21CTOSep 28, 2025 · Backend Development
This tutorial explains Twig’s key features, installation via Composer, basic usage with environment and rendering, template inheritance, blocks, caching, loops, conditionals, filters, and debugging, providing clear code examples for PHP developers.
PHPTemplate EngineTwig
0 likes · 12 min read

The article introduces a self‑built utility that automatically generates Java backend code—including entity classes, DAO interfaces, service implementations, and controllers—based on database table definitions, dramatically reducing the manual effort of creating dozens of tables and their associated CRUD logic.
CRUDJavaMyBatis
0 likes · 17 min read

ThinkTemplate is a high‑performance, XML‑based compiled PHP template engine originally built for ThinkPHP, offering customizable delimiters, native PHP support, file inclusion, multi‑level nesting, caching, variable defaults, security controls, and flexible tag types, with detailed installation and usage examples for web frameworks.
PHPTemplate EngineThinkTemplate
0 likes · 7 min read

The Chengwu low-code platform chose Pebble over FreeMarker after a detailed comparison of usability, extensibility, security, and performance, emphasizing Pebble's modern collection handling, unified syntax, rich filters, native Map support, default security, and easier extensibility for non-developer users.
FreeMarkerJavaPebble
0 likes · 7 min read

This article introduces Mustache as a logic‑less template engine, explains its purpose and syntax, and provides step‑by‑step Spring Boot 3 examples—including data models, controllers, templates, collections, and form handling—to help developers quickly build dynamic web pages without embedding complex logic.
Form HandlingPartial TemplatesSpring Boot
0 likes · 10 min read

This article explains how to use the poi‑tl Java library to create Word report templates, define common tags such as text, images, tables, lists, and charts, encapsulate them with enums and factories, and generate complete reports through a reusable utility class.
BackendJavaPoi-tl
0 likes · 19 min read

This guide explains how to use the JXLS Java library to create complex, template‑driven Excel reports, covering setup, core concepts like XlsArea, looping, conditional rendering, dynamic grids, merging cells, image insertion, and formula handling with practical code examples.
ExcelJXLSJava
0 likes · 9 min read

This article introduces the JTE template engine for Spring Boot 3, compares its performance with other engines, provides step‑by‑step code examples for defining models, writing templates, rendering them, and integrating JTE into a Spring Boot project, along with configuration tips and advanced features such as loops, conditionals, and template inclusion.
JTESpring BootTemplate Engine
0 likes · 10 min read

This article introduces an open‑source tool that automatically generates all Java business code—including entity classes, DAO interfaces, SQL statements, service implementations, and controllers—for new database tables, dramatically reducing the hours spent on repetitive CRUD scaffolding.
CRUDJavaMyBatis
0 likes · 17 min read

This article shows how to use SpringBoot together with the POI‑TL template engine to create Word reports that embed text, images, tables and charts, providing a step‑by‑step guide, code snippets and a reusable utility class for rapid document generation.
JavaPoi-tlSpringBoot
0 likes · 17 min read

This article walks through using the Apache POI and POI‑TL libraries to render Word (.docx) files from custom templates, covering version compatibility, template syntax, data model definitions, and step‑by‑step code examples for text, images, tables, and charts.
Document GenerationJavaPOI
0 likes · 8 min read

This article introduces a SpringBoot‑based code generation tool that automatically creates entity classes, DAO interfaces, service implementations, and controller code from database tables, explains its design principles, demonstrates usage with screenshots, and provides a comprehensive set of customizable templates and dynamic parameters for developers.
SpringBootTemplate Enginebackend development
0 likes · 21 min read


58 TechAug 10, 2023 · Frontend Development
This article describes how to engineer Java Velocity templates for local development within a Vue project by creating a Node‑based rendering engine and a custom Webpack loader, enabling hot‑reloading, mock data injection, and seamless integration of Velocity‑generated HTML into the Vue build pipeline.
Frontend DevelopmentNode.jsTemplate Engine
0 likes · 11 min read

This article walks through nine practical JavaScript patterns—including dynamic script loading, a lightweight template engine, data transformation with reduce, default parameters, one‑time execution, currying, singleton implementation, a simple CommonJS loader, and recursive property access—providing clear code examples for each.
Dynamic LoadingFrontend DevelopmentJavaScript
0 likes · 11 min read

This article provides a comprehensive technical analysis of GaiaX, Alibaba's cross‑platform high‑performance rendering engine, covering its core concepts, three‑layer architecture, rendering pipeline, node‑tree calculations, view‑hierarchy merging, text auto‑fit logic, and key open‑source resources.
GaiaXRustStretch
0 likes · 17 min read

This article explains GaiaX, Alibaba's cross‑platform template engine, detailing its core concepts, DSL structure, three‑layer architecture, Rust‑based Stretch layout engine, rendering pipeline, and optimization techniques such as node‑tree calculation, view‑hierarchy merging, and text auto‑fit for Android and iOS.
GaiaXMobile UIRendering
0 likes · 17 min read

This article analyzes the original template‑variable replacement logic used in Alipay's card package, identifies costly String.replace operations, and presents five iterative optimizations—including removal of indexOf/substring, caching with Guava, and replacing String.replace with StringBuilder—that together achieve more than a ten‑fold speedup while discussing trade‑offs in readability and resource consumption.
CachingJavaStringBuilder
0 likes · 8 min read

GaiaX is a cross‑platform template engine created for Alibaba’s Youku ecosystem that tackles multi‑terminal UI development bottlenecks by using a custom DSL with native rendering, offering high performance, dynamic updates, reusable components, containerized solutions, and integrated preview and design‑to‑code tools.
AlibabaDynamic TemplatingGaiaX
0 likes · 15 min read

An in‑depth case study of Alipay’s card‑coupon template engine reveals that replacing costly String.replace calls with a custom StringBuilder implementation, combined with caching strategies, can boost rendering performance by more than tenfold, while also reducing memory overhead and improving scalability.
CachingJavaStringBuilder
0 likes · 11 min read

Vue adopts the Mustache template syntax, an elegant data‑to‑view solution, and the article reviews historical rendering methods, explains why Mustache is called “beard”, describes its token‑based compilation process, and compares it with other front‑end template engines.
Template EngineVuedata binding
0 likes · 2 min read

This article introduces POI‑TL, a lightweight Java template engine built on Apache POI that lets developers generate Word documents with a single line of code, explains its core API, configuration options, rendering pipeline, and provides practical code examples for quick adoption.
Apache POIPoi-tlTemplate Engine
0 likes · 9 min read

This article explains how to disable template engine caching and use various hot‑deployment methods—including property settings, Debug mode, spring‑boot‑devtools, Spring Loaded, and JRebel—to achieve real‑time updates of Spring Boot web pages.
DevToolsHot DeploymentTemplate Engine
0 likes · 4 min read

The article details JD.com's Mozi dynamic UI framework, describing its background, problem scope, design choices, version evolution, architecture, SDK, integration workflow, tooling, and future plans for mobile Android and iOS applications.
AndroidMoziTemplate Engine
0 likes · 15 min read

Chaplin Project replaces costly image‑to‑video synthesis on Xianyu by using centrally managed, OpenGL‑shader templates that combine product images with dynamic effects at playback, supported by a visual editor, resource platform, recommendation engine, and multi‑threaded client architecture, delivering richer browsing while conserving resources.
MultithreadingOpenGLTemplate Engine
0 likes · 9 min read

This article explains how to use the Java Poi‑tl library to generate Word .docx documents from templates, covering solution comparison, API usage, code examples for text, images, tables, and block structures, and provides a quick start guide.
Document GenerationJavaPoi-tl
0 likes · 8 min read

This article explains the three kinds of Smarty template variables—PHP‑assigned, reserved, and custom—illustrates how to assign scalar, array, and object data from PHP, lists common reserved variables, and shows how to define variables directly in templates with code examples.
BackendPHPSmarty
0 likes · 5 min read

This article explains the scenarios, workflow, and implementation details of creating a Java code generator using Freemarker templates, including template design, data binding, and sample code that produces POJO classes automatically.
FreeMarkerJavaPOJO
0 likes · 9 min read

This article explains how to implement infrastructure‑as‑code for CI/CD tools on a shared Kubernetes cluster by using a lightweight variable‑template engine, configuring Jenkins, Gogs, and Nexus via ConfigMaps, initContainers, and REST/Script APIs, and combining multiple automation techniques for seamless deployment.
CI/CDGitOpsInfrastructure as Code
0 likes · 12 min read

The article describes how Youzan Retail built a unified, cross‑platform printing library—using JavaScript as a common runtime—to replace duplicated native implementations, evolve its template language from JSON to HTML, and translate rendered receipts into ESC/POS commands, supporting iOS, Android, Java, PC and future Node.js services.
ESC/POSJavaScriptPrinting
0 likes · 19 min read

This tutorial explains how to serve static resources, configure Thymeleaf as the template engine, and create a Spring Boot controller that renders HTML pages, including step‑by‑step code examples and configuration tips for customizing template locations and caching.
BackendJavaSpring Boot
0 likes · 10 min read

This tutorial walks through the fundamentals of Thymeleaf, its key features, a side‑by‑side comparison with FreeMarker, and provides a complete Spring Boot example—including Maven dependencies, entity and controller code, template markup, and essential configuration settings—to help developers integrate the template engine quickly and correctly.
JavaMVCSpring Boot
0 likes · 8 min read


WecTeamJan 14, 2020 · Frontend Development
This article explains how JD’s self‑built Mart Page Maker (MPM) enables large‑scale e‑commerce teams to create complex marketplace pages instantly without coding, by leveraging rich component templates, a three‑layer configuration model, unified data sources, and a high‑performance Node rendering layer.
Template Enginee-commercefrontend
0 likes · 21 min read

This article introduces the concept of templates, explains Jinja2's advantages, installation steps, core syntax—including variables, filters, control structures, loops, macros, and inheritance—and demonstrates how to render templates in Python using Environment with PackageLoader and FileSystemLoader.
Jinja2Template EngineTemplating
0 likes · 10 min read

This article explains why a template engine is needed for web applications that mix large static HTML with dynamic data, describes the supported template syntax based on Django, and walks through the implementation of a Python‑based engine that parses templates, compiles them into Python code, and renders the final HTML efficiently.
PythonTemplate Enginecode generation
0 likes · 17 min read

This guide explains how Spring Boot serves static assets from classpath directories, how to configure and access them, and how to render dynamic HTML pages using Thymeleaf—including template locations, sample code, and property customizations for seamless web development.
Spring BootTemplate EngineThymeleaf
0 likes · 7 min read

The article analyzes doT.js, a compact 6 KB, dependency‑free JavaScript template engine that builds rendering functions via regex‑based code generation, avoids the costly with statement, caches compiled templates, and delivers superior performance in benchmarks compared with jQuery‑tmpl and other minimal engines, while noting its less intuitive syntax for complex conditionals.
JavaScriptTemplate EnginedoT.js
0 likes · 14 min read

This tutorial explains how to create a Node.js command‑line generator from scratch by initializing a module, adding a CLI binary, integrating a template engine, parsing arguments and paths, and finally publishing the package to npm, all with clear code examples.
Node.jsNunjucksTemplate Engine
0 likes · 12 min read

This guide introduces Express, a Node.js web framework, covering its advantages, environment setup, a step‑by‑step demo project, directory layout, core concepts such as routing, middleware and template engines, and practical code examples to help beginners launch a functional server quickly.
BackendExpressRouting
0 likes · 15 min read


21CTOApr 19, 2016 · Backend Development
This article walks through the fundamentals of creating a tiny template engine, explaining how templates are split into text, variables and blocks, how delimiters are parsed, how an abstract syntax tree is built, and how both Python and JavaScript can render the template using eval or Function constructors.
ASTJavaScriptPython
0 likes · 8 min read

The article discusses static resource management and a template framework to optimize front‑end performance by collecting resource requirements via require, widget, and script tags, deduplicating them, placing CSS in the head and JavaScript at the bottom, and enabling on‑demand loading while reducing HTTP requests.
On-Demand LoadingTemplate EngineWeb Performance
0 likes · 11 min read
