<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>实战项目 on 疯狂的技术宅</title><link>https://fe-tech.viewnode.com/tags/%E5%AE%9E%E6%88%98%E9%A1%B9%E7%9B%AE/</link><description>Recent content in 实战项目 on 疯狂的技术宅</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Thu, 27 May 2021 10:00:00 +0800</lastBuildDate><atom:link href="https://fe-tech.viewnode.com/tags/%E5%AE%9E%E6%88%98%E9%A1%B9%E7%9B%AE/index.xml" rel="self" type="application/rss+xml"/><item><title>10 分钟用vue实现自定义 Tag Input 功能</title><link>https://fe-tech.viewnode.com/post/202105/27/</link><pubDate>Thu, 27 May 2021 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202105/27/</guid><description>在做项目时，经常需要添加标签内容的功能。这是通过标签输入完成的，标签输入是一种收集信息并创建流畅的用户体验的元素。 本文实现一个可重用的 Vue 标签</description></item><item><title>用 Vue 3 写一个桌面应用程序</title><link>https://fe-tech.viewnode.com/post/202105/14/</link><pubDate>Fri, 14 May 2021 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202105/14/</guid><description>https://learnvue.co/2021/05/build-vue-3-desktop-apps-in-just-5-minutes-vite-electron-quick-start-guide/ 在本文中，我们将研究如何通过 Vite 开发 Vue 3 桌面项目。 在项目中会用到 Electron ， 一种最流行的框架，可使用Javascript构建跨平台的桌面应用程序。 因</description></item><item><title>用 WebGL 创建一个在线画廊</title><link>https://fe-tech.viewnode.com/post/202103/11/</link><pubDate>Thu, 11 Mar 2021 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202103/11/</guid><description>本文源代码: https://github.com/lhbizarro/infinite-circular-webgl-gallery/archive/master.zip 在本文中，我们将基于 WebGL 与 OGL 来实现一个无限循环画廊。 本文中所用到的大多数套路也可以用在其他 WebGL 库中，例如 Three.js 或 Babylon.js 中，但是需要一些小小</description></item><item><title>用 Javascript 和 Node.js 爬取网页</title><link>https://fe-tech.viewnode.com/post/202006/22/</link><pubDate>Mon, 22 Jun 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202006/22/</guid><description>本文讲解怎样用 Node.js 高效地从 Web 爬取数据。 前提条件 本文主要针对具有一定 JavaScript 经验的程序员。如果你对 Web 抓取有深刻的了解，但对 JavaScript 并不熟悉，那么本文仍然能够</description></item><item><title>在 React.js 中自动复制文本到剪贴板</title><link>https://fe-tech.viewnode.com/post/202005/13/</link><pubDate>Wed, 13 May 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202005/13/</guid><description>介绍 在本文中，我们将学习怎样在 ReactJS 中把文本复制到剪贴板。 依赖的知识与环境 React 基本知识。 Visual Studio Code IDE。 Bootstrap 和 HTML 的基本知识。 创建一个 React 项目 首先，用以下</description></item><item><title>通过 TypeScript 和 webpack 创建 Web 应用</title><link>https://fe-tech.viewnode.com/post/202004/26/</link><pubDate>Sun, 26 Apr 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202004/26/</guid><description>本文介绍了如何通过 TypeScript 和 webpack 创建 Web 应用程序。我们仅使用 DOM API，而不使用特定的前端框架。源码文件 ts-demo-webpack 可以从 GitHub 下载。 **必需的知识：**如果你对 Ty</description></item><item><title>JavaScript 实现酷炫的粒子追踪动画</title><link>https://fe-tech.viewnode.com/post/202004/20/</link><pubDate>Mon, 20 Apr 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202004/20/</guid><description>你是否曾经想过用花哨的、闪闪发光的粒子动画分吸引你网站用户的注意力，而同时又在后台加载一些数据呢？幸运的是，没有必要用诸如 Three.js 之类的 3D 库进行非</description></item><item><title>用 Node.js 爬虫下载音乐</title><link>https://fe-tech.viewnode.com/post/202004/14/</link><pubDate>Tue, 14 Apr 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202004/14/</guid><description>互联网上有许多可供人类消费的信息。但是如果这些数据不是以专用的 REST API 的形式出现，通常很难以编程方式对其进行访问。使用 jsdom 之类的 Node.js 工具，你可以直接</description></item><item><title>创建自己的新冠病毒疫情跟踪器（Node.js+React+TS）</title><link>https://fe-tech.viewnode.com/post/202004/01/</link><pubDate>Wed, 01 Apr 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202004/01/</guid><description>数据 现在，网络上有数百个新冠疫情跟踪器。首先我想知道他们把数据放在了哪里。经过研究，很快确定了两个主要来源。我最初使用了其中的一个。那就是约</description></item><item><title>如何制作自己的原生 JavaScript 路由</title><link>https://fe-tech.viewnode.com/post/202003/25/</link><pubDate>Wed, 25 Mar 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202003/25/</guid><description>当你想到路由时，通常会想到类似 React 之类的库。但实际上，这些库和框架仍然使用 vanilla JavaScript。那么该怎么实现呢？ 我希望这个“JavaScr</description></item><item><title>在React 中缩放、裁剪和缩放图像</title><link>https://fe-tech.viewnode.com/post/202002/20/</link><pubDate>Thu, 20 Feb 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202002/20/</guid><description>在本文中，我们将了解如何使用 Cropper.js 在 React Web 应用中裁剪图像。尽管我们不会将这些图像上传到远程服务器进行存储，但是很容易就能完成这个任务。 要了解我们要</description></item><item><title>在React应用程序中使用RegEx测试密码强度</title><link>https://fe-tech.viewnode.com/post/202002/07/</link><pubDate>Fri, 07 Feb 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202002/07/</guid><description>尽管一些组织认为应该由用户选择健壮的用户名和密码来保护自己，但是开发人员可以通过将规则包含在程序的设计中来帮助进行良好的密码选择。例如，开发</description></item><item><title>用 MelonJS 开发一个游戏</title><link>https://fe-tech.viewnode.com/post/201910/24/</link><pubDate>Thu, 24 Oct 2019 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201910/24/</guid><description>游戏开发并不需要局限于使用 Unity 或 Unreal Engine4 的用户。 JavaScript 游戏开发已经有一段时间了。实际上，最流行的浏览器（例如Chrome，Firefox和Edge）的</description></item><item><title>用 cURL 请求测试 ETag 浏览器缓存</title><link>https://fe-tech.viewnode.com/post/201910/08/</link><pubDate>Tue, 08 Oct 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201910/08/</guid><description>最近，我一直在玩Netlify ，结果我对内容交付网络（CDN）常见的缓存策略越来越熟悉。有一种将 ETag标识符用于 Web 资源的策略。 简而言之，E</description></item><item><title>用 NodeJS 充分利用多核 CPU 的资源</title><link>https://fe-tech.viewnode.com/post/201909/30/</link><pubDate>Mon, 30 Sep 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201909/30/</guid><description>介绍 单个 Node.js 程序的实例仅在一个线程上运行，因此无法充分利用 CPU 的多核系统。有时你可能需要启动 Node.js 进程集群来利用本地计算机或生产服务器上的每个 CPU 内核</description></item><item><title>用纯 JavaScript 撸一个 MVC 框架</title><link>https://fe-tech.viewnode.com/post/201908/07/</link><pubDate>Wed, 07 Aug 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201908/07/</guid><description>我想用 model-view-controller 架构模式在纯 JavaScript 中写一个简单的程序，于是我这样做了。希望它可以帮你理解 MVC，因为当你刚开始接触它时，它是一个难以理解的概念。 我做了这</description></item><item><title>用TypeScript + GraphQL查询SpaceX火箭发射数据🚀</title><link>https://fe-tech.viewnode.com/post/201906/10/</link><pubDate>Mon, 10 Jun 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201906/10/</guid><description>近一两年来 GraphQL 和 TypeScript 的使用都程爆发式增长 ，当两者与React结合使用时，它们可以为开发人员提供理想的开发体验。 GraphQL 改变了我们对 API 的思考方式，并利用</description></item><item><title>用 Vue 开发自己的 Chrome 扩展程序</title><link>https://fe-tech.viewnode.com/post/201906/05/</link><pubDate>Wed, 05 Jun 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201906/05/</guid><description>浏览器扩展程序是可以修改和增强 Web 浏览器功能的小程序。它们可用于各种任务，例如阻止广告，管理密码，组织标签，改变网页的外观和行为等等。 好消息是</description></item><item><title>使用 TypeScript 和依赖注入实现一个聊天机器人</title><link>https://fe-tech.viewnode.com/post/201905/27/</link><pubDate>Mon, 27 May 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201905/27/</guid><description>类型和可测试代码是避免错误的两种最有效方法，尤其是代码随会时间而变化。我们可以分别通过利用 TypeScript 和依赖注入（DI）将这两种技术应用于JavaSc</description></item><item><title>30分钟用Node.js构建一个API服务器</title><link>https://fe-tech.viewnode.com/post/201905/21/</link><pubDate>Tue, 21 May 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201905/21/</guid><description>Node.js 对初学者来说可能是令人望而却步的，其灵活的结构和缺乏严格的规范使它看起来很复杂。 本教程是 Node.js，Express 框架和 MongoDB 的快速指南，</description></item><item><title>一步步教你用 WebVR 实现虚拟现实游戏</title><link>https://fe-tech.viewnode.com/post/201905/09/</link><pubDate>Thu, 09 May 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201905/09/</guid><description>在本教程中，我们将创建三维对象并为它们添加简单的交互。此外，你还可以学到如何在客户端和服务器之间建立简单的消息传递系统。 虚拟现实（VR）是一</description></item><item><title>为你的网页添加深色模式</title><link>https://fe-tech.viewnode.com/post/201904/01/</link><pubDate>Mon, 01 Apr 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201904/01/</guid><description>CSS 规范一直在不断发展。尽管在 CSS 新功能的实现很复杂，但是 CSS 工作组还是决定要把简化版作为新元素添加到规范中。然后由浏览器来实现这些新元素，浏览器</description></item><item><title>一步步教你用 CSS 为 SVG 添加过滤器</title><link>https://fe-tech.viewnode.com/post/201903/30/</link><pubDate>Sat, 30 Mar 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201903/30/</guid><description>自21世纪初以来，SVG就存在了，但仍有一些有趣的方法去用它。在本教程中，重点将放在 SVG 的过滤器上 —— 但不只是将它们应用于 SVG 图像，我将向你展示</description></item><item><title>把HTML转成PDF的4个方案及实现方法</title><link>https://fe-tech.viewnode.com/post/201903/29/</link><pubDate>Fri, 29 Mar 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201903/29/</guid><description>在本文中，我将展示如何使用 Node.js、Puppeteer、headless Chrome 和 Docker 从样式复杂的 React 页面生成 PDF 文档。 背景：几个月前，一个客户要</description></item><item><title>如何用自己喜欢的 CSS 风格重置网站的样式</title><link>https://fe-tech.viewnode.com/post/201903/27/</link><pubDate>Wed, 27 Mar 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201903/27/</guid><description>许多前端开发人员都在用 Normalize 为他们的网站设计样式。一些人喜欢在 Normalize.css 中添加一些自己偏好的样式，我也一样。 在本文中，我会与你分享我自己的 CSS reset 项目（除了</description></item><item><title>用 Node.js 写一个多人游戏服务器引擎</title><link>https://fe-tech.viewnode.com/post/201903/06/</link><pubDate>Wed, 06 Mar 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201903/06/</guid><description>摘要 听说过文字冒险游戏吗？ 如果你的年龄足够大的话（就像我一样），那么你可能听说过、甚至玩过“back in zhe day”。在本文中，我将向你展示编写</description></item><item><title>实战：半小时用JavaScript写一个脑力小游戏</title><link>https://fe-tech.viewnode.com/post/201902/01/</link><pubDate>Fri, 01 Feb 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201902/01/</guid><description>本教程使用了HTML5，CSS3和JavaScript的基本的技术。 我们将讨论数据属性、定位、透视、转换、flexbox、事件处理、超时和三</description></item><item><title>一步步教你用HTML5 SVG实现动画效果</title><link>https://fe-tech.viewnode.com/post/201901/18/</link><pubDate>Fri, 18 Jan 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201901/18/</guid><description>摘要 在本文中你将了解Awwwards网是怎样实现动画的。 本文介绍了HTML5 SVG中的circle 元素，它的stroke属性，以及如何使用C</description></item></channel></rss>