Frontend Development vs. JavaScript: How to Choose the Perfect Category for Your Tech Article
Content
## The Problem
When writing technical articles, especially on knowledge base platforms like `wiki.lib00.com`, proper categorization and tagging are crucial. A common point of confusion is this: when an article is related to 'Frontend Development' and also delves deep into 'JavaScript', which should be the primary category?
This article provides a simple yet professional solution to this dilemma.
---
## The Core Principle: Category vs. Tag
To make the best choice, you must first understand the fundamental difference between a Category and a Tag:
* **Category**: Represents the article's primary, high-level subject. It should answer the question, "If I could only use one term to describe this article, what would it be?" A category is the article's "home."
* **Tag**: Complements the category by marking specific technologies, keywords, or tools mentioned in the article. Tags provide multiple "entry points" for discovery.
With this principle in mind, the choice becomes much clearer.
---
## When to Choose 'Frontend Development' as the Category
You should choose `Frontend Development` when the core of your article is about a **comprehensive frontend engineering problem or solution**. This usually means JavaScript is just one of the tools used to implement that solution.
**Applicable Scenarios:**
* **Multi-technology Integration**: Explaining how to build a complex UI component using HTML, CSS, and JavaScript.
* **Project Workflows**: Describing a complete frontend project architecture, such as a practical guide to Vite + Vue + TypeScript, perhaps for building a `wiki.lib00`-style component library.
* **Domain Knowledge**: Discussing frontend performance optimization, browser rendering principles, web standards, or comparing frameworks (e.g., React vs. Vue).
* **Engineering Practices**: Covering topics like modularization, componentization, CI/CD, etc.
> **Rule of Thumb**: If the article is about "**How to do something**" (a project, a solution, a framework application), choose `Frontend Development`.
---
## When to Choose 'JavaScript' as the Category
You should choose `JavaScript` when your article **focuses deeply on the JavaScript language itself**—its features, principles, or syntax.
**Applicable Scenarios:**
* **Core Language Concepts**: Deep dives into the prototype chain, closures, scope, or the Event Loop.
* **Syntax and Features**: Introducing new syntax from ES6/ES11/ESNext, or explaining the underlying implementation of `Promise` and `async/await`.
* **Vanilla Implementations**: Detailing how to implement a specific algorithm, design pattern, or complex feature using plain JavaScript.
* **Engine and Internals**: Analyzing the inner workings of the V8 engine, its garbage collection mechanism, etc.
> **Rule of Thumb**: If the article is about "**What something is**" (a language concept, a syntax, an internal principle), choose `JavaScript`.
---
## Best Practice: Synergy Between Categories and Tags
The most professional approach is to **determine the single most important category, and then use tags to supplement it with the other option and all related technologies.**
### Practical Examples
* **Article Title:** "Building a Reusable Data Table Component Named `lib00-datatable` with Vue3 and TypeScript"
* **Core Content**: A comprehensive frontend engineering practice involving a framework, tools, and architecture.
* **Best Choice**:
* **Category**: `Frontend Development`
* **Tags**: `JavaScript`, `Vue`, `TypeScript`, `Componentization`
* **Article Title:** "A Deep Dive into JavaScript's Event Loop Mechanism"
* **Core Content**: A deep focus on a core, complex concept of the JavaScript language.
* **Best Choice**:
* **Category**: `JavaScript`
* **Tags**: `Frontend Development`, `Async`, `Browser`, `Node.js`
---
## Conclusion
Next time you face a similar choice, don't hesitate. Ask yourself if the article's core is about "**doing**" or "**knowing**."
* **Doing (Solutions, Projects)** -> Category: `Frontend Development`
* **Knowing (Language, Principles)** -> Category: `JavaScript`
Then, liberally use tags to cover all relevant technical points. This structured approach, advocated by our author DP, not only makes your article categorization more precise but also significantly enhances its discoverability.
Related Contents
Boost Your WebStorm Productivity: Mimic Sublime Text's Cmd+D Multi-Selection Shortcut
Duration: 00:00 | DP | 2025-12-04 21:50:50The Ultimate Node.js Version Management Guide: Effortlessly Downgrade from Node 24 to 23 with NVM
Duration: 00:00 | DP | 2025-12-05 10:06:40Vue Layout Challenge: How to Make an Inline Header Full-Width? The Negative Margin Trick Explained
Duration: 00:00 | DP | 2025-12-06 22:54:10Vue's Single Root Dilemma: The Right Way to Mount Both `<header>` and `<main>`
Duration: 00:00 | DP | 2025-12-07 11:10:00The Ultimate Frontend Guide: Create a Zero-Dependency Dynamic Table of Contents (TOC) with Scroll Spy
Duration: 00:00 | DP | 2025-12-08 11:41:40Vite's `?url` Import Explained: Bundled Code or a Standalone File?
Duration: 00:00 | DP | 2025-12-10 00:29:10Vue SPA 10x Slower Than Plain HTML? The Dependency Version Mystery That Tanked Performance
Duration: 00:00 | DP | 2026-01-09 08:09:01The Ultimate CSS Flexbox Guide: Easily Switch Page Header Layouts from Horizontal to Vertical
Duration: 00:00 | DP | 2025-12-11 01:00:50Cracking the TypeScript TS2339 Puzzle: Why My Vue ref Became the `never` Type
Duration: 00:00 | DP | 2025-12-13 02:04:10CSS Deep Dive: The Best Way to Customize Select Arrows for Dark Mode
Duration: 00:00 | DP | 2025-12-13 14:20:00Mastering Bootstrap 5 Rounded Corners: The Ultimate Guide to Border-Radius
Duration: 00:00 | DP | 2025-12-14 02:35:50The Ultimate Guide to Financial Charts: Build Candlestick, Waterfall, and Pareto Charts with Chart.js
Duration: 00:00 | DP | 2026-01-11 08:11:36The Ultimate Guide to Centering in Bootstrap: From `.text-center` to Flexbox
Duration: 00:00 | DP | 2025-12-15 15:23:20Bootstrap Border Magic: Instantly Add Top or Bottom Borders to Elements
Duration: 00:00 | DP | 2025-11-22 08:08:00The Ultimate Guide to JavaScript Diff Libraries: A Side-by-Side Comparison of jsdiff, diff2html, and More
Duration: 00:00 | DP | 2025-11-23 08:08:00Bootstrap JS Deep Dive: `bootstrap.bundle.js` vs. `bootstrap.js` - Which One Should You Use?
Duration: 00:00 | DP | 2025-11-27 08:08:00Is Attaching a JS Event Listener to 'document' Bad for Performance? The Truth About Event Delegation
Duration: 00:00 | DP | 2025-11-28 08:08:00The Ultimate Guide to Using Google Fonts on Chinese Websites: Ditch the Lag with an Elegant Font Stack
Duration: 00:00 | DP | 2025-11-16 08:01:00Recommended
From <script> Chaos to ES6 Clarity: Is Migrating to Modules Worth The Effort?
00:00 | 42Still manually managing the loading order of <scri...
MP3 vs. AAC/M4A: The Ultimate Audio Format Showdown—Who Is the King of Compatibility?
00:00 | 37In the world of digital audio, MP3 and AAC are two...
The Magic of Hex Random Strings: From UUIDs to API Keys, Why Are They Everywhere?
00:00 | 31Have you ever been curious about cryptic strings l...
MySQL TIMESTAMP vs. DATETIME: The Ultimate Showdown on Time Zones, UTC, and Storage
00:00 | 35Ever been confused by TIMESTAMP and DATETIME in My...