From ec9d52033f726d75729785e673cb02141364fc60 Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Fri, 20 Feb 2026 21:59:52 +0800 Subject: [PATCH] feat: add 30 interactive components for computer fundamentals section Added comprehensive interactive demos covering: - Operating systems (2): OS overview, process/memory/filesystem - Data encoding (2): data lifecycle, encoding/storage/transmission - Network basics (5): overview, physical/data-link/transport/application layers - Data structures (5): overview, linear structures, hash table, tree, selector - Algorithms (4): overview, recursion, greedy thinking, paradigms - Programming languages (5): evolution, paradigms, scenarios, comparison, type models - Compilers (2): analogy, practice demo - Additional (5): search/sort algorithms, network principles, encoding basics, storage hierarchy, graph structures Also updated component registration in theme index.js and fixed minor formatting issues in related docs. --- .../theme/components/HomeFeatures.vue | 48 +- .../AlgorithmOverviewDemo.vue | 514 ++++++++++++++ .../AlgorithmParadigmDemo.vue | 490 ++++++++++++++ .../ApplicationLayerDemo.vue | 531 +++++++++++++++ .../CompilationPracticeDemo.vue | 327 +++++++++ .../CompilerAnalogyDemo.vue | 529 +++++++++++++++ .../DataEncodingBasicsDemo.vue | 263 ++++++++ .../DataLifecycleDemo.vue | 401 +++++++++++ .../DataLinkLayerDemo.vue | 480 +++++++++++++ .../DataStructureOverviewDemo.vue | 530 +++++++++++++++ .../DataStructureSelectorDemo.vue | 486 +++++++++++++ .../EncodingStorageTransmissionDemo.vue | 637 ++++++++++++++++++ .../GraphStructureDemo.vue | 309 +++++++++ .../GreedyThinkingDemo.vue | 560 +++++++++++++++ .../computer-fundamentals/HashTableDemo.vue | 434 ++++++++++++ .../LanguageEvolutionDemo.vue | 514 ++++++++++++++ .../LanguageScenarioDemo.vue | 505 ++++++++++++++ .../LanguageTypeModelDemo.vue | 255 +++++++ .../LinearStructuresDemo.vue | 579 ++++++++++++++++ .../NetworkOverviewDemo.vue | 474 +++++++++++++ .../NetworkPrincipleDemo.vue | 236 +++++++ .../OSSystemOverviewDemo.vue | 324 +++++++++ .../PhysicalLayerDemo.vue | 397 +++++++++++ .../ProcessMemoryFilesystemDemo.vue | 429 ++++++++++++ .../ProgrammingLanguageComparisonDemo.vue | 441 ++++++++++++ .../ProgrammingParadigmDemo.vue | 418 ++++++++++++ .../RecursiveThinkingDemo.vue | 531 +++++++++++++++ .../SearchAlgorithmDemo.vue | 368 ++++++++++ .../SortingAlgorithmDemo.vue | 319 +++++++++ .../StorageHierarchyDemo.vue | 246 +++++++ .../TransportLayerDemo.vue | 567 ++++++++++++++++ .../TreeStructureDemo.vue | 530 +++++++++++++++ docs/.vitepress/theme/index.js | 68 +- .../cloud-platforms.md | 4 +- .../monitoring-logging.md | 10 +- docs/zh-cn/guide/introduction.md | 2 +- .../index.md | 4 +- .../1.1-introduction-to-ai-ide/index.md | 8 +- .../1.3-integrating-ai-capabilities/index.md | 8 +- 39 files changed, 13733 insertions(+), 43 deletions(-) create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmOverviewDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmParadigmDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/ApplicationLayerDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilationPracticeDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilerAnalogyDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DataEncodingBasicsDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLifecycleDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLinkLayerDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureOverviewDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureSelectorDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/EncodingStorageTransmissionDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/GraphStructureDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/GreedyThinkingDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/HashTableDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageEvolutionDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageScenarioDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageTypeModelDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/LinearStructuresDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkOverviewDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkPrincipleDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/OSSystemOverviewDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/PhysicalLayerDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/ProcessMemoryFilesystemDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingLanguageComparisonDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingParadigmDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/RecursiveThinkingDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/SearchAlgorithmDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/SortingAlgorithmDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/StorageHierarchyDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/TransportLayerDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/TreeStructureDemo.vue diff --git a/docs/.vitepress/theme/components/HomeFeatures.vue b/docs/.vitepress/theme/components/HomeFeatures.vue index f1c9504..e91ac8f 100644 --- a/docs/.vitepress/theme/components/HomeFeatures.vue +++ b/docs/.vitepress/theme/components/HomeFeatures.vue @@ -155,62 +155,62 @@ const i18n = { { title: 'AI 进化史', desc: '回顾人工智能发展历程中的关键里程碑。', - link: '/zh-cn/appendix/ai-evolution' + link: '/zh-cn/appendix/8-artificial-intelligence/ai-history' }, { title: '提示词工程', desc: '掌握与 AI 高效对话的技巧,解锁潜力。', - link: '/zh-cn/appendix/prompt-engineering' + link: '/zh-cn/appendix/8-artificial-intelligence/prompt-engineering' }, { title: '大语言模型', desc: '深入浅出解析 LLM 的工作原理与应用。', - link: '/zh-cn/appendix/llm-intro' + link: '/zh-cn/appendix/8-artificial-intelligence/llm-principles' }, { title: 'Agent 智能体', desc: '探索具备自主决策与执行能力的 AI 架构。', - link: '/zh-cn/appendix/agent-intro' + link: '/zh-cn/appendix/8-artificial-intelligence/ai-agents' }, { title: '前端基础', desc: 'HTML/CSS/JS 三大基石,入门必修课。', - link: '/zh-cn/appendix/web-basics' + link: '/zh-cn/appendix/3-browser-and-frontend/javascript-deep-dive' }, { title: '前端进化史', desc: '了解前端技术栈演变,把握发展趋势。', - link: '/zh-cn/appendix/frontend-evolution' + link: '/zh-cn/appendix/3-browser-and-frontend/frontend-frameworks' }, { title: '后端架构', desc: '从单体到微服务,探索架构演进之路。', - link: '/zh-cn/appendix/backend-evolution' + link: '/zh-cn/appendix/4-server-and-backend/backend-layered-architecture' }, { title: '后端语言', desc: '对比主流后端语言特性,选择最佳技术栈。', - link: '/zh-cn/appendix/backend-languages' + link: '/zh-cn/appendix/4-server-and-backend/backend-languages' }, { title: '数据库原理', desc: '理解数据库核心原理,掌握数据存储艺术。', - link: '/zh-cn/appendix/database-intro' + link: '/zh-cn/appendix/5-data/database-fundamentals' }, { title: 'API 设计', desc: 'API 接口设计与开发的基础知识。', - link: '/zh-cn/appendix/api-intro' + link: '/zh-cn/appendix/4-server-and-backend/api-intro' }, { title: 'Git 版本控制', desc: '深入理解 Git 原理与高级用法。', - link: '/zh-cn/appendix/git-intro' + link: '/zh-cn/appendix/2-development-tools/git-version-control' }, { title: '计算机网络', desc: '网络协议与通信原理的基础知识。', - link: '/zh-cn/appendix/computer-networks' + link: '/zh-cn/appendix/1-computer-fundamentals/computer-networks' } ] }, @@ -1552,73 +1552,73 @@ const appendixCards = [ title: '人工智能', desc: 'LLM、Agent、RAG,深入 AI 底层原理。', tag: 'AI', - link: '/zh-cn/appendix/ai-evolution' + link: '/zh-cn/appendix/8-artificial-intelligence/ai-history' }, { title: '提示词工程', desc: '掌握与 AI 高效对话的技巧,解锁潜力。', tag: 'AI', - link: '/zh-cn/appendix/prompt-engineering' + link: '/zh-cn/appendix/8-artificial-intelligence/prompt-engineering' }, { title: '大语言模型', desc: '深入浅出解析 LLM 的工作原理与应用。', tag: 'AI', - link: '/zh-cn/appendix/llm-intro' + link: '/zh-cn/appendix/8-artificial-intelligence/llm-principles' }, { title: 'Agent 智能体', desc: '探索具备自主决策与执行能力的 AI 架构。', tag: 'AI', - link: '/zh-cn/appendix/agent-intro' + link: '/zh-cn/appendix/8-artificial-intelligence/ai-agents' }, { title: '前端基础', desc: 'HTML/CSS/JS 三大基石,入门必修课。', tag: 'Frontend', - link: '/zh-cn/appendix/web-basics' + link: '/zh-cn/appendix/3-browser-and-frontend/javascript-deep-dive' }, { title: '前端进化史', desc: '了解前端技术栈演变,把握发展趋势。', tag: 'Frontend', - link: '/zh-cn/appendix/frontend-evolution' + link: '/zh-cn/appendix/3-browser-and-frontend/frontend-frameworks' }, { title: '后端架构', desc: '从单体到微服务,探索架构演进之路。', tag: 'Backend', - link: '/zh-cn/appendix/backend-evolution' + link: '/zh-cn/appendix/4-server-and-backend/backend-layered-architecture' }, { title: '后端语言', desc: '对比主流后端语言特性,选择最佳技术栈。', tag: 'Backend', - link: '/zh-cn/appendix/backend-languages' + link: '/zh-cn/appendix/4-server-and-backend/backend-languages' }, { title: '数据库原理', desc: '理解数据库核心原理,掌握数据存储艺术。', tag: 'Database', - link: '/zh-cn/appendix/database-intro' + link: '/zh-cn/appendix/5-data/database-fundamentals' }, { title: 'API 设计', desc: 'API 接口设计与开发的基础知识。', tag: 'API', - link: '/zh-cn/appendix/api-intro' + link: '/zh-cn/appendix/4-server-and-backend/api-intro' }, { title: 'Git 版本控制', desc: '深入理解 Git 原理与高级用法。', tag: 'General', - link: '/zh-cn/appendix/git-intro' + link: '/zh-cn/appendix/2-development-tools/git-version-control' }, { title: '计算机网络', desc: '网络协议与通信原理的基础知识。', tag: 'General', - link: '/zh-cn/appendix/computer-networks' + link: '/zh-cn/appendix/1-computer-fundamentals/computer-networks' } ] diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmOverviewDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmOverviewDemo.vue new file mode 100644 index 0000000..9aa3a9e --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmOverviewDemo.vue @@ -0,0 +1,514 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmParadigmDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmParadigmDemo.vue new file mode 100644 index 0000000..8aaf089 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/AlgorithmParadigmDemo.vue @@ -0,0 +1,490 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/ApplicationLayerDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ApplicationLayerDemo.vue new file mode 100644 index 0000000..f3e41a3 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ApplicationLayerDemo.vue @@ -0,0 +1,531 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilationPracticeDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilationPracticeDemo.vue new file mode 100644 index 0000000..a24f472 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilationPracticeDemo.vue @@ -0,0 +1,327 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilerAnalogyDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilerAnalogyDemo.vue new file mode 100644 index 0000000..47ded51 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompilerAnalogyDemo.vue @@ -0,0 +1,529 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataEncodingBasicsDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataEncodingBasicsDemo.vue new file mode 100644 index 0000000..e2fa3b0 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataEncodingBasicsDemo.vue @@ -0,0 +1,263 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLifecycleDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLifecycleDemo.vue new file mode 100644 index 0000000..8fa8072 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLifecycleDemo.vue @@ -0,0 +1,401 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLinkLayerDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLinkLayerDemo.vue new file mode 100644 index 0000000..e00c308 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataLinkLayerDemo.vue @@ -0,0 +1,480 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureOverviewDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureOverviewDemo.vue new file mode 100644 index 0000000..83d09c1 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureOverviewDemo.vue @@ -0,0 +1,530 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureSelectorDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureSelectorDemo.vue new file mode 100644 index 0000000..40394b2 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/DataStructureSelectorDemo.vue @@ -0,0 +1,486 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/EncodingStorageTransmissionDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/EncodingStorageTransmissionDemo.vue new file mode 100644 index 0000000..24b78b2 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/EncodingStorageTransmissionDemo.vue @@ -0,0 +1,637 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/GraphStructureDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/GraphStructureDemo.vue new file mode 100644 index 0000000..44e7869 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/GraphStructureDemo.vue @@ -0,0 +1,309 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/GreedyThinkingDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/GreedyThinkingDemo.vue new file mode 100644 index 0000000..c825692 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/GreedyThinkingDemo.vue @@ -0,0 +1,560 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/HashTableDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/HashTableDemo.vue new file mode 100644 index 0000000..0b0504f --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/HashTableDemo.vue @@ -0,0 +1,434 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageEvolutionDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageEvolutionDemo.vue new file mode 100644 index 0000000..7b9e668 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageEvolutionDemo.vue @@ -0,0 +1,514 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageScenarioDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageScenarioDemo.vue new file mode 100644 index 0000000..fa4d5a5 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageScenarioDemo.vue @@ -0,0 +1,505 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageTypeModelDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageTypeModelDemo.vue new file mode 100644 index 0000000..3a5b0dd --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageTypeModelDemo.vue @@ -0,0 +1,255 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/LinearStructuresDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LinearStructuresDemo.vue new file mode 100644 index 0000000..3c2b79f --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/LinearStructuresDemo.vue @@ -0,0 +1,579 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkOverviewDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkOverviewDemo.vue new file mode 100644 index 0000000..437dcc1 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkOverviewDemo.vue @@ -0,0 +1,474 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkPrincipleDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkPrincipleDemo.vue new file mode 100644 index 0000000..528dae6 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/NetworkPrincipleDemo.vue @@ -0,0 +1,236 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/OSSystemOverviewDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/OSSystemOverviewDemo.vue new file mode 100644 index 0000000..d7d7bad --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/OSSystemOverviewDemo.vue @@ -0,0 +1,324 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/PhysicalLayerDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/PhysicalLayerDemo.vue new file mode 100644 index 0000000..ae30c18 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/PhysicalLayerDemo.vue @@ -0,0 +1,397 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProcessMemoryFilesystemDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProcessMemoryFilesystemDemo.vue new file mode 100644 index 0000000..d91a3e9 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProcessMemoryFilesystemDemo.vue @@ -0,0 +1,429 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingLanguageComparisonDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingLanguageComparisonDemo.vue new file mode 100644 index 0000000..198b2c3 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingLanguageComparisonDemo.vue @@ -0,0 +1,441 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingParadigmDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingParadigmDemo.vue new file mode 100644 index 0000000..49990b3 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingParadigmDemo.vue @@ -0,0 +1,418 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/RecursiveThinkingDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/RecursiveThinkingDemo.vue new file mode 100644 index 0000000..b6990c1 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/RecursiveThinkingDemo.vue @@ -0,0 +1,531 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/SearchAlgorithmDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/SearchAlgorithmDemo.vue new file mode 100644 index 0000000..eb4d413 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/SearchAlgorithmDemo.vue @@ -0,0 +1,368 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/SortingAlgorithmDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/SortingAlgorithmDemo.vue new file mode 100644 index 0000000..de85455 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/SortingAlgorithmDemo.vue @@ -0,0 +1,319 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/StorageHierarchyDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/StorageHierarchyDemo.vue new file mode 100644 index 0000000..b0ec1ca --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/StorageHierarchyDemo.vue @@ -0,0 +1,246 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/TransportLayerDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/TransportLayerDemo.vue new file mode 100644 index 0000000..de62701 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/TransportLayerDemo.vue @@ -0,0 +1,567 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/TreeStructureDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/TreeStructureDemo.vue new file mode 100644 index 0000000..56b9058 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/TreeStructureDemo.vue @@ -0,0 +1,530 @@ + + + + + diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js index 8659bee..1b9e764 100644 --- a/docs/.vitepress/theme/index.js +++ b/docs/.vitepress/theme/index.js @@ -127,6 +127,39 @@ import CFNetworkLayers from './components/appendix/computer-fundamentals/Network import CFSubnetCalculator from './components/appendix/computer-fundamentals/SubnetCalculator.vue' import CFTcpUdpComparison from './components/appendix/computer-fundamentals/TcpUdpComparison.vue' +// Computer Fundamentals Additional Components +import OSSystemOverviewDemo from './components/appendix/computer-fundamentals/OSSystemOverviewDemo.vue' +import ProcessMemoryFilesystemDemo from './components/appendix/computer-fundamentals/ProcessMemoryFilesystemDemo.vue' +import DataLifecycleDemo from './components/appendix/computer-fundamentals/DataLifecycleDemo.vue' +import EncodingStorageTransmissionDemo from './components/appendix/computer-fundamentals/EncodingStorageTransmissionDemo.vue' +import NetworkOverviewDemo from './components/appendix/computer-fundamentals/NetworkOverviewDemo.vue' +import PhysicalLayerDemo from './components/appendix/computer-fundamentals/PhysicalLayerDemo.vue' +import DataLinkLayerDemo from './components/appendix/computer-fundamentals/DataLinkLayerDemo.vue' +import TransportLayerDemo from './components/appendix/computer-fundamentals/TransportLayerDemo.vue' +import ApplicationLayerDemo from './components/appendix/computer-fundamentals/ApplicationLayerDemo.vue' +import DataStructureOverviewDemo from './components/appendix/computer-fundamentals/DataStructureOverviewDemo.vue' +import LinearStructuresDemo from './components/appendix/computer-fundamentals/LinearStructuresDemo.vue' +import HashTableDemo from './components/appendix/computer-fundamentals/HashTableDemo.vue' +import TreeStructureDemo from './components/appendix/computer-fundamentals/TreeStructureDemo.vue' +import DataStructureSelectorDemo from './components/appendix/computer-fundamentals/DataStructureSelectorDemo.vue' +import AlgorithmOverviewDemo from './components/appendix/computer-fundamentals/AlgorithmOverviewDemo.vue' +import RecursiveThinkingDemo from './components/appendix/computer-fundamentals/RecursiveThinkingDemo.vue' +import GreedyThinkingDemo from './components/appendix/computer-fundamentals/GreedyThinkingDemo.vue' +import AlgorithmParadigmDemo from './components/appendix/computer-fundamentals/AlgorithmParadigmDemo.vue' +import LanguageEvolutionDemo from './components/appendix/computer-fundamentals/LanguageEvolutionDemo.vue' +import ProgrammingParadigmDemo from './components/appendix/computer-fundamentals/ProgrammingParadigmDemo.vue' +import LanguageScenarioDemo from './components/appendix/computer-fundamentals/LanguageScenarioDemo.vue' +import ProgrammingLanguageComparisonDemo from './components/appendix/computer-fundamentals/ProgrammingLanguageComparisonDemo.vue' +import CompilerAnalogyDemo from './components/appendix/computer-fundamentals/CompilerAnalogyDemo.vue' +import SearchAlgorithmDemo from './components/appendix/computer-fundamentals/SearchAlgorithmDemo.vue' +import SortingAlgorithmDemo from './components/appendix/computer-fundamentals/SortingAlgorithmDemo.vue' +import NetworkPrincipleDemo from './components/appendix/computer-fundamentals/NetworkPrincipleDemo.vue' +import DataEncodingBasicsDemo from './components/appendix/computer-fundamentals/DataEncodingBasicsDemo.vue' +import StorageHierarchyDemo from './components/appendix/computer-fundamentals/StorageHierarchyDemo.vue' +import GraphStructureDemo from './components/appendix/computer-fundamentals/GraphStructureDemo.vue' +import LanguageTypeModelDemo from './components/appendix/computer-fundamentals/LanguageTypeModelDemo.vue' +import CompilationPracticeDemo from './components/appendix/computer-fundamentals/CompilationPracticeDemo.vue' + // Deployment appendix components import DeploymentOverviewDemo from './components/appendix/deployment/DeploymentOverviewDemo.vue' import DeploymentBuildDemo from './components/appendix/deployment/DeploymentBuildDemo.vue' @@ -652,6 +685,39 @@ export default { app.component('CFSubnetCalculator', CFSubnetCalculator) app.component('CFTcpUdpComparison', CFTcpUdpComparison) + // Computer Fundamentals Additional Components Registration + app.component('OSSystemOverviewDemo', OSSystemOverviewDemo) + app.component('ProcessMemoryFilesystemDemo', ProcessMemoryFilesystemDemo) + app.component('DataLifecycleDemo', DataLifecycleDemo) + app.component('EncodingStorageTransmissionDemo', EncodingStorageTransmissionDemo) + app.component('NetworkOverviewDemo', NetworkOverviewDemo) + app.component('PhysicalLayerDemo', PhysicalLayerDemo) + app.component('DataLinkLayerDemo', DataLinkLayerDemo) + app.component('TransportLayerDemo', TransportLayerDemo) + app.component('ApplicationLayerDemo', ApplicationLayerDemo) + app.component('DataStructureOverviewDemo', DataStructureOverviewDemo) + app.component('LinearStructuresDemo', LinearStructuresDemo) + app.component('HashTableDemo', HashTableDemo) + app.component('TreeStructureDemo', TreeStructureDemo) + app.component('DataStructureSelectorDemo', DataStructureSelectorDemo) + app.component('AlgorithmOverviewDemo', AlgorithmOverviewDemo) + app.component('RecursiveThinkingDemo', RecursiveThinkingDemo) + app.component('GreedyThinkingDemo', GreedyThinkingDemo) + app.component('AlgorithmParadigmDemo', AlgorithmParadigmDemo) + app.component('LanguageEvolutionDemo', LanguageEvolutionDemo) + app.component('ProgrammingParadigmDemo', ProgrammingParadigmDemo) + app.component('LanguageScenarioDemo', LanguageScenarioDemo) + app.component('ProgrammingLanguageComparisonDemo', ProgrammingLanguageComparisonDemo) + app.component('CompilerAnalogyDemo', CompilerAnalogyDemo) + app.component('SearchAlgorithmDemo', SearchAlgorithmDemo) + app.component('SortingAlgorithmDemo', SortingAlgorithmDemo) + app.component('NetworkPrincipleDemo', NetworkPrincipleDemo) + app.component('DataEncodingBasicsDemo', DataEncodingBasicsDemo) + app.component('StorageHierarchyDemo', StorageHierarchyDemo) + app.component('GraphStructureDemo', GraphStructureDemo) + app.component('LanguageTypeModelDemo', LanguageTypeModelDemo) + app.component('CompilationPracticeDemo', CompilationPracticeDemo) + // Deployment appendix app.component('DeploymentOverviewDemo', DeploymentOverviewDemo) app.component('DeploymentBuildDemo', DeploymentBuildDemo) @@ -877,7 +943,7 @@ export default { // Backend Languages Components Registration app.component('BackendLanguagesDemo', BackendLanguagesDemo) - app.component('LanguageComparisonDemo', LanguageComparisonDemo) + app.component('ProgrammingLanguageComparisonDemo', ProgrammingLanguageComparisonDemo) app.component('PerformanceBenchmarkDemo', PerformanceBenchmarkDemo) app.component('SyntaxComparisonDemo', SyntaxComparisonDemo) app.component('ConcurrencyModelDemo', ConcurrencyModelDemo) diff --git a/docs/zh-cn/appendix/7-infrastructure-and-operations/cloud-platforms.md b/docs/zh-cn/appendix/7-infrastructure-and-operations/cloud-platforms.md index ccf5318..7bda7d9 100644 --- a/docs/zh-cn/appendix/7-infrastructure-and-operations/cloud-platforms.md +++ b/docs/zh-cn/appendix/7-infrastructure-and-operations/cloud-platforms.md @@ -3,8 +3,8 @@ 在开始之前,建议你先了解: -- **基础网络概念**:如果你还不熟悉 IP 地址、端口、域名等概念,建议先阅读 [网络基础知识](/zh-cn/appendix/computer-networks) -- **API 是什么**:如果你对 API 还不了解,可以先看 [API 入门](/zh-cn/appendix/api-intro) +- **基础网络概念**:如果你还不熟悉 IP 地址、端口、域名等概念,建议先阅读 [网络基础知识](/zh-cn/appendix/1-computer-fundamentals/computer-networks) +- **API 是什么**:如果你对 API 还不了解,可以先看 [API 入门](/zh-cn/appendix/4-server-and-backend/api-intro) --- diff --git a/docs/zh-cn/appendix/7-infrastructure-and-operations/monitoring-logging.md b/docs/zh-cn/appendix/7-infrastructure-and-operations/monitoring-logging.md index be8ae62..53b0fcb 100644 --- a/docs/zh-cn/appendix/7-infrastructure-and-operations/monitoring-logging.md +++ b/docs/zh-cn/appendix/7-infrastructure-and-operations/monitoring-logging.md @@ -632,8 +632,8 @@ resource "aws_security_group" "web" { ## 12. 延伸阅读 -- **[系统缓存设计](/zh-cn/appendix/cache-design)** - 缓存原理、模式与最佳实践 -- **[消息队列设计](/zh-cn/appendix/queue-design)** - 削峰填谷、异步解耦 -- **[鉴权原理与实战](/zh-cn/appendix/auth-design)** - 认证授权、安全加固 -- **[后端进化史](/zh-cn/appendix/backend-evolution)** - 从单体到微服务到 Serverless -- **[部署与上线](/zh-cn/appendix/deployment)** - 从开发到生产的最后一公里 +- **[系统缓存设计](/zh-cn/appendix/4-server-and-backend/caching)** - 缓存原理、模式与最佳实践 +- **[消息队列设计](/zh-cn/appendix/4-server-and-backend/message-queues)** - 削峰填谷、异步解耦 +- **[鉴权原理与实战](/zh-cn/appendix/4-server-and-backend/auth-authorization)** - 认证授权、安全加固 +- **[后端进化史](/zh-cn/appendix/4-server-and-backend/backend-layered-architecture)** - 从单体到微服务到 Serverless +- **[部署与上线](/zh-cn/appendix/7-infrastructure-and-operations/ci-cd)** - 从开发到生产的最后一公里 diff --git a/docs/zh-cn/guide/introduction.md b/docs/zh-cn/guide/introduction.md index 8dddece..189d04c 100644 --- a/docs/zh-cn/guide/introduction.md +++ b/docs/zh-cn/guide/introduction.md @@ -18,7 +18,7 @@ ### 总附录 -[AI 能力词典:常见 AI 核心概念与名词、场景解释](/zh-cn/appendix/ai-capability-dictionary) +[AI 能力词典:常见 AI 核心概念与名词、场景解释](/zh-cn/appendix/8-artificial-intelligence/ai-capability-dictionary) ### 零、幼儿园 diff --git a/docs/zh-cn/stage-0/0.2-ai-capabilities-through-games/index.md b/docs/zh-cn/stage-0/0.2-ai-capabilities-through-games/index.md index e74265c..eea82d9 100644 --- a/docs/zh-cn/stage-0/0.2-ai-capabilities-through-games/index.md +++ b/docs/zh-cn/stage-0/0.2-ai-capabilities-through-games/index.md @@ -300,7 +300,7 @@ AI 出现之后,第一次给了普通人一个全新的可能:你不需要会 此外,我们还可以要求 LLM 帮你直接生成项目级的提示词。在上一节中,我们只自己写了贪吃蛇游戏的提示词。现在让我们尝试让大模型生成一个带有整体框架和实现路径的提示词(你可以直接用 z.ai 生成)。 -如果你想学习如何写出更好的提示词,可以查看[提示词工程附录](../../appendix/prompt-engineering/index.md)。 +如果你想学习如何写出更好的提示词,可以查看[提示词工程附录](/zh-cn/appendix/8-artificial-intelligence/prompt-engineering)。 > 我想让 AI 生成一个网页贪吃蛇游戏,需要一个更完整的提示词,让生成结果更令人印象深刻和有趣。请生成相应的提示词。当前目标是:生成一个贪吃蛇游戏,需要实现吃不同单词生成诗歌的功能,并且应该包含图像生成模块。 @@ -639,7 +639,7 @@ z.ai 的回复将会是这样的: > "用 React 做一个排行榜页面,右侧显示分数列表,点击某行在下方展示玩家详情,风格简洁现代。" -如果你想深入理解 HTML、CSS、JavaScript 等前端基础知识,可以查看[Web 基础附录](../../appendix/web-basics.md)。想了解前端技术的发展历程,可以查看[前端进化史附录](../../appendix/frontend-evolution.md)。 +如果你想深入理解 HTML、CSS、JavaScript 等前端基础知识,可以查看[Web 基础附录](/zh-cn/appendix/3-browser-and-frontend/javascript-deep-dive)。想了解前端技术的发展历程,可以查看[前端进化史附录](/zh-cn/appendix/3-browser-and-frontend/frontend-frameworks)。 ## [附录 2:到底什么是 Vibe Coding](#appendix-nav) diff --git a/docs/zh-cn/stage-1/1.1-introduction-to-ai-ide/index.md b/docs/zh-cn/stage-1/1.1-introduction-to-ai-ide/index.md index bf262a5..07006ab 100644 --- a/docs/zh-cn/stage-1/1.1-introduction-to-ai-ide/index.md +++ b/docs/zh-cn/stage-1/1.1-introduction-to-ai-ide/index.md @@ -64,7 +64,7 @@ const duration = '约 1 天,可分多次完成' ## 2. 什么是 IDE,为什么需要 IDE ::: info 预习提示 -如果你还不熟悉 IDE 是什么、各个界面元素有什么作用,建议先阅读 [IDE 简介](../../appendix/ide-intro/) 进行预习,了解 IDE 的基本概念和常见功能。 +如果你还不熟悉 IDE 是什么、各个界面元素有什么作用,建议先阅读 [IDE 简介](/zh-cn/appendix/2-development-tools/ide-basics) 进行预习,了解 IDE 的基本概念和常见功能。 ::: 在早期编程时代,我们只需要简单文本编辑器和语言处理器即可。但随着项目复杂度增加,开发者迫切需要一种能高效管理文件、支持语法高亮和调试的工具,于是集成开发环境(IDE)应运而生。 @@ -99,7 +99,7 @@ VS Code 的核心理念是“一切皆插件”。它通过插件机制支持各 总之,IDE 是一套帮助开发者高效写代码和运行程序的工具集。 -更具体的详细内容解释,请查看[附录中的 虚拟 IDE 可视化 IDE 原理部分](/zh-cn/appendix/ide-intro/)。 +更具体的详细内容解释,请查看[附录中的 虚拟 IDE 可视化 IDE 原理部分](/zh-cn/appendix/2-development-tools/ide-basics)。 ## 3. AI IDE 和普通 IDE 有什么不同 @@ -487,7 +487,7 @@ AI 会根据你的描述,直接修改 React 组件和样式。保存后刷新 - **Panel(底部面板)**:包含终端和输出窗口。 - **Status Bar(状态栏)**:显示当前环境状态。 -更具体的详细内容解释,请查看[附录中的 虚拟 IDE 可视化 IDE 原理部分](/zh-cn/appendix/ide-intro/)。 +更具体的详细内容解释,请查看[附录中的 虚拟 IDE 可视化 IDE 原理部分](/zh-cn/appendix/2-development-tools/ide-basics)。
@@ -745,7 +745,7 @@ AI 很认真地给了你一段代码,你也老老实实地复制进去了, 看到不懂的计算机名词时,来这里快速查含义,推荐通读一遍。 - 附录二:Visual Studio Code 菜单栏解析
+ 附录二:Visual Studio Code 菜单栏解析
不知道 AI IDE 的界面有什么用的时候,拿以下内容和 AI 对话进行查阅,或者直接查看。
diff --git a/docs/zh-cn/stage-1/1.3-integrating-ai-capabilities/index.md b/docs/zh-cn/stage-1/1.3-integrating-ai-capabilities/index.md index f792c42..e9eda81 100644 --- a/docs/zh-cn/stage-1/1.3-integrating-ai-capabilities/index.md +++ b/docs/zh-cn/stage-1/1.3-integrating-ai-capabilities/index.md @@ -54,7 +54,7 @@ API 是计算机领域的一个重要抽象概念,我们可以简单理解为 6. **错误处理**:当出现问题时(如API Key错误、请求太频繁等),知道如何排查解决。 ::: info ℹ️ 什么是 API -对于 API 的更深入的解释,请看附录:[API 入门](/zh-cn/appendix/api-intro)。 +对于 API 的更深入的解释,请看附录:[API 入门](/zh-cn/appendix/4-server-and-backend/api-intro)。 ::: warning 🔐 **API 安全注意事项** API Key 是你请求 AI 服务的「通行证」,它是一串密码字符串,用于身份验证和计费。 @@ -89,7 +89,7 @@ API Key 是你请求 AI 服务的「通行证」,它是一串密码字符串 在 `1.2 动手做出原型` 里,你已经做出了一个可交互的原型。接下来我们要做的,是把原型里“看起来像 AI 的功能”变成真正可用的能力:**当用户点击按钮时,原型会向外部的 AI 服务发出请求,并把返回的文字展示出来。** ::: info ℹ️ 原理延伸 -如果你想了解更多原理相关的内容,请查看附录:[大语言模型(LLM)入门](/zh-cn/appendix/llm-intro)。 +如果你想了解更多原理相关的内容,请查看附录:[大语言模型(LLM)入门](/zh-cn/appendix/8-artificial-intelligence/llm-principles)。 ::: details 了解更多:DeepSeek 是什么? **杭州深度求索人工智能基础技术研究有限公司**(Hangzhou DeepSeek Artificial Intelligence Basic Technology Research Co., Ltd.),以 DeepSeek 为商号,是一家**开发大语言模型(LLMs)的中国人工智能(AI)公司**。DeepSeek 总部位于浙江杭州,由中国对冲基金幻方量化(High-Flyer)拥有并资助。DeepSeek 由幻方量化的联合创始人梁文锋于 2023 年 7 月创立,他也同时担任这两家公司的 CEO。该公司于 2025 年 1 月推出了同名聊天机器人及其 DeepSeek-R1 模型。 @@ -164,7 +164,7 @@ curl \ # 3. 接入图像转文字 API:Qwen3 VL ::: info ℹ️ 原理延伸 -如果你想了解更多原理相关的内容,请查看附录:[视觉语言模型(VLM)入门](/zh-cn/appendix/vlm-intro)。 +如果你想了解更多原理相关的内容,请查看附录:[视觉语言模型(VLM)入门](/zh-cn/appendix/8-artificial-intelligence/multimodal-models)。 ::: details 了解更多:Qwen3 VL 是什么? @@ -314,7 +314,7 @@ caption = caption_image(image_path) 在前面的部分我们主要和文本相关的任务打交道,接下来我们将尝试接入图片生成的功能,支持从文字描述生成图片,或者对图片进行修改。 ::: info ℹ️ 原理延伸 -如果你想了解更多原理相关的内容,请查看附录:[图像生成入门](/zh-cn/appendix/image-gen-intro)。 +如果你想了解更多原理相关的内容,请查看附录:[图像生成入门](/zh-cn/appendix/8-artificial-intelligence/image-generation)。 ::: details 了解更多:什么是 [Seedream 即梦](https://seed.bytedance.com/en/seedream4_5)?