<?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>Web on RainFD&#39;s Blog</title>
    <link>https://rainfd.fun/categories/web/</link>
    <description>Recent content in Web on RainFD&#39;s Blog</description>
    <image>
      <title>RainFD&#39;s Blog</title>
      <url>https://rainfd.fun/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://rainfd.fun/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.146.6</generator>
    <language>en</language>
    <lastBuildDate>Wed, 14 Jun 2017 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://rainfd.fun/categories/web/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Bottle源码阅读笔记（二）：路由</title>
      <link>https://rainfd.fun/posts/4_bottle%E6%BA%90%E7%A0%81%E9%98%85%E8%AF%BB%E7%AC%94%E8%AE%B0%E4%BA%8C%E8%B7%AF%E7%94%B1/</link>
      <pubDate>Wed, 14 Jun 2017 00:00:00 +0000</pubDate>
      <guid>https://rainfd.fun/posts/4_bottle%E6%BA%90%E7%A0%81%E9%98%85%E8%AF%BB%E7%AC%94%E8%AE%B0%E4%BA%8C%E8%B7%AF%E7%94%B1/</guid>
      <description>&lt;p&gt;程序收到请求后，会根据URL来寻找相应的视图函数，随后由其生成页面发送回给客户端。其中，不同的URL对应着不同的视图函数，这就存在一个映射关系。而处理这个映射关系的功能就叫做路由。路由的实现分为两部分：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;生成URL映射关系&lt;/li&gt;
&lt;li&gt;根据请求匹配正确的视图函数
本文将围绕这两个部分进行分析。&lt;/li&gt;
&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Bottle源码阅读笔记（一）：WSGI</title>
      <link>https://rainfd.fun/posts/3_bottle%E6%BA%90%E7%A0%81%E9%98%85%E8%AF%BB%E7%AC%94%E8%AE%B0%E4%B8%80wsgi/</link>
      <pubDate>Mon, 05 Jun 2017 00:00:00 +0000</pubDate>
      <guid>https://rainfd.fun/posts/3_bottle%E6%BA%90%E7%A0%81%E9%98%85%E8%AF%BB%E7%AC%94%E8%AE%B0%E4%B8%80wsgi/</guid>
      <description>&lt;p&gt;Bottle是一个Python Web框架。整个框架只有一个文件，不到4k行的代码，没有Python标准库以外的依赖，却包含了路由、模板和插件等Web框架常用功能。通过阅读Bottle源码来了解什么是Web框架和Web框架是怎么工作是再合适不过了。由于Bottle是一个支持WSGI的框架，在阅读源码之前，我们先来了解什么是WSGI。&lt;/p&gt;</description>
    </item>
    <item>
      <title>[译]如何在Web开发中使用Python</title>
      <link>https://rainfd.fun/posts/1_%E8%AF%91%E5%A6%82%E4%BD%95%E5%9C%A8web%E5%BC%80%E5%8F%91%E4%B8%AD%E4%BD%BF%E7%94%A8python/</link>
      <pubDate>Thu, 23 Feb 2017 00:00:00 +0000</pubDate>
      <guid>https://rainfd.fun/posts/1_%E8%AF%91%E5%A6%82%E4%BD%95%E5%9C%A8web%E5%BC%80%E5%8F%91%E4%B8%AD%E4%BD%BF%E7%94%A8python/</guid>
      <description>&lt;p&gt;原文：&lt;a href=&#34;https://docs.python.org/3/howto/webservers.html&#34;&gt;HOWTO Use Python in the Web&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;这篇文档展示了Python如何融入到web中。它介绍了几种Python结合web服务器的方法，以及开发网站的一些常规做法。&lt;/em&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
