<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>First Project on PlumePHP</title><link>https://plumephp.com/tags/first-project/</link><description>Recent content in First Project on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 28 Feb 2020 09:35:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/first-project/index.xml" rel="self" type="application/rss+xml"/><item><title>Go Web 入门：只用标准库写一个小而清楚的 HTTP 服务</title><link>https://plumephp.com/go-http-server-first-project/</link><pubDate>Fri, 28 Feb 2020 09:35:00 +0800</pubDate><guid>https://plumephp.com/go-http-server-first-project/</guid><description>&lt;h2 id="为什么建议先用标准库写一次-web-服务"&gt;为什么建议先用标准库写一次 Web 服务&lt;/h2&gt;
&lt;p&gt;很多人学 Go Web 的第一步是找框架。Gin、Echo、Fiber 都很好用，但如果完全跳过标准库，后面很容易只会照框架文档写代码，却不理解请求、响应、路由和中间件到底是什么。Go 的 &lt;code&gt;net/http&lt;/code&gt; 标准库已经足够写一个小型 JSON 服务。先用它做一次完整项目，会让你对所有框架的理解都更扎实。&lt;/p&gt;</description></item></channel></rss>