<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>前端工程 on EasyRoc 的博客</title><link>https://www.easyroc.cn/tags/%E5%89%8D%E7%AB%AF%E5%B7%A5%E7%A8%8B/</link><description>Recent content in 前端工程 on EasyRoc 的博客</description><image><title>EasyRoc 的博客</title><url>https://www.easyroc.cn/images/og-default.png</url><link>https://www.easyroc.cn/images/og-default.png</link></image><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 18 Oct 2025 20:49:00 +0800</lastBuildDate><atom:link href="https://www.easyroc.cn/tags/%E5%89%8D%E7%AB%AF%E5%B7%A5%E7%A8%8B/index.xml" rel="self" type="application/rss+xml"/><item><title>从零部署一个全栈应用</title><link>https://www.easyroc.cn/posts/deploy-fullstack/</link><pubDate>Sat, 18 Oct 2025 20:49:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/deploy-fullstack/</guid><description>前端、后端、数据库在一台 VPS 的落位：Nginx、systemd、发布脚本与回滚。</description></item><item><title>Web 安全基础：XSS、CSRF 与点击劫持</title><link>https://www.easyroc.cn/posts/web-security-basics/</link><pubDate>Fri, 03 Oct 2025 09:17:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/web-security-basics/</guid><description>从攻击原理到防御代码：转义净化、SameSite 与安全响应头，挡住三类 Web 攻击。</description></item><item><title>前端项目的 SEO 自救指南</title><link>https://www.easyroc.cn/posts/frontend-seo/</link><pubDate>Sun, 31 Aug 2025 22:14:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/frontend-seo/</guid><description>SPA 为什么被搜索引擎看不见，以及从渲染策略到元信息治理的自救清单。</description></item><item><title>暗色模式实现：CSS 变量与媒体查询</title><link>https://www.easyroc.cn/posts/dark-mode/</link><pubDate>Sun, 03 Aug 2025 17:52:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/dark-mode/</guid><description>从颜色变量化到三态切换，讲暗色模式三种实现方案与首屏闪烁的成因和解法。</description></item><item><title>Markdown 写作流：从笔记到发布</title><link>https://www.easyroc.cn/posts/markdown-workflow/</link><pubDate>Wed, 23 Jul 2025 16:59:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/markdown-workflow/</guid><description>设计笔记、草稿、发布三段式写作管道，用统一 front matter 与脚本保证发布质量。</description></item><item><title>静态站生成器选型：Hugo、Astro 与 Next.js</title><link>https://www.easyroc.cn/posts/ssg-choose/</link><pubDate>Sat, 19 Jul 2025 14:42:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/ssg-choose/</guid><description>拆解 Hugo、Astro、Next.js 的定位差异与适用场景，给按需对号的选型思路。</description></item><item><title>前后端分离的鉴权方案</title><link>https://www.easyroc.cn/posts/auth-schemes/</link><pubDate>Thu, 17 Jul 2025 12:16:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/auth-schemes/</guid><description>讲清 Session、JWT、OAuth 的完整流程与选型依据，覆盖双令牌与刷新竞态。</description></item><item><title>浏览器存储全家桶</title><link>https://www.easyroc.cn/posts/browser-storage/</link><pubDate>Sun, 06 Jul 2025 08:24:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/browser-storage/</guid><description>Cookie、localStorage、IndexedDB 的容量与场景选型。</description></item><item><title>前端错误监控：上线前装好哨兵</title><link>https://www.easyroc.cn/posts/frontend-error-monitor/</link><pubDate>Thu, 12 Jun 2025 18:54:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/frontend-error-monitor/</guid><description>按捕获、上报、还原、降噪四步，搭一套最小可用的前端错误监控方案。</description></item><item><title>响应式设计实战：移动优先</title><link>https://www.easyroc.cn/posts/responsive-design/</link><pubDate>Mon, 26 May 2025 22:54:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/responsive-design/</guid><description>从移动优先的写法顺序讲起，覆盖断点策略、流式布局与移动端交互的实战要点。</description></item><item><title>CSS 现代布局：Flex 与 Grid 的分工</title><link>https://www.easyroc.cn/posts/css-layout/</link><pubDate>Thu, 08 May 2025 13:27:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/css-layout/</guid><description>用一维与二维的心智模型划分 Flex 与 Grid 的分工，并给出典型布局的实现代码。</description></item><item><title>前端性能优化：从 Lighthouse 分数开始</title><link>https://www.easyroc.cn/posts/frontend-perf/</link><pubDate>Mon, 28 Apr 2025 08:03:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/frontend-perf/</guid><description>拆解 Lighthouse 各项指标的含义与成因，给出按收益排序的前端性能优化清单。</description></item><item><title>Vite 为什么快：ESM 与按需编译</title><link>https://www.easyroc.cn/posts/vite-why-fast/</link><pubDate>Sat, 12 Apr 2025 16:45:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/vite-why-fast/</guid><description>拆解 Vite 开发与生产两条链路：ESM 按需编译、依赖预构建与 Rollup 打包。</description></item><item><title>React 状态管理：什么时候需要库</title><link>https://www.easyroc.cn/posts/react-state/</link><pubDate>Sun, 06 Apr 2025 17:07:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/react-state/</guid><description>把状态分成服务端、UI、URL、表单四类分别选工具，并给出何时需要状态库的清单。</description></item><item><title>现代前端项目结构：从面条到模块化</title><link>https://www.easyroc.cn/posts/frontend-structure/</link><pubDate>Wed, 26 Mar 2025 19:50:00 +0800</pubDate><guid>https://www.easyroc.cn/posts/frontend-structure/</guid><description>从按类型到按功能的目录组织，给一份可落地的功能模块模板与 lint 边界守卫。</description></item></channel></rss>