<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title> 文章订阅 | 后端开发 | CH前端社区</title>
    <description>PHP，ASP，nodejs，mysql等那些前端工程师必须要了解的后端开发技术。</description>
    <pubDate>Sun, 12 Apr 2026 22:06:45 +0000</pubDate>
    <lastBuildDate>Sun, 12 Apr 2026 22:06:45 +0000</lastBuildDate>
    <generator>CH前端社区</generator>
    <link>https://www.chinahtml.com/articles/category/9/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://www.chinahtml.com/articles/category/9/index.rss"/>
    <item>
      <title>OAuth 2 还是 JWT？如何设计安全的 API？</title>
      <pubDate>Fri, 08 Sep 2017 09:00:58 +0000</pubDate>
      <link>https://www.chinahtml.com/articles/35/</link>
      <guid>https://www.chinahtml.com/articles/35/</guid>
      <author>蔡老师</author>
      <dc:creator>蔡老师</dc:creator>
      <content:encoded><![CDATA[本文会详细描述两种通用的保证API安全性的方法：OAuth 2和JSON Web Token (JWT)<br />
<br />
假设：<br />
<ul>
<li>你已经或者正在实现API；</li>
<li>你正在考虑选择一个合适的方法保证API的安全性；</li>
</ul><br />
<h2>JWT和OAuth2比较？</h2><br />
要比较JWT和OAuth2？首先要明白一点就是，这两个根本没有可比性，是两个完全不同的东西。<br />
<br />
<ul>
<li><b>JWT是一种认证协议</b> <br />
JWT提供了一种用于发布接入令牌（Access Token）,并对发布的签名接入令牌进行验证的方法。 令牌（Token）本身包含了一系列声明，应用程序可以根据这些声明限制用户对资源的访问。</li>
<li><b>OAuth2是一种授权框架</b> <br />
另一方面，OAuth2是一种授权框架，提供了一套详细的授权机制（指导）。用户或应用可以通过公开的或私有的设置，授权第三方应用访问特定资源。</li>
</ul>...<br />
<br />
<a href="https://www.chinahtml.com/articles/35/" target="_blank" class="externalLink" rel="nofollow">OAuth 2 还是 JWT？如何设计安全的 API？</a>]]></content:encoded>
    </item>
    <item>
      <title>10个最佳Node.js企业应用案例：从Uber到LinkedIn</title>
      <pubDate>Sat, 17 Jun 2017 13:51:52 +0000</pubDate>
      <link>https://www.chinahtml.com/articles/23/</link>
      <guid>https://www.chinahtml.com/articles/23/</guid>
      <author>CH首席编辑</author>
      <dc:creator>CH首席编辑</dc:creator>
      <content:encoded><![CDATA[微软、IBM、思科、Netflix、PayPal……这些只是部分使用Node.js的顶级公司。自2009年初发布以来，Node.js已经获得了飞速的发展。为什么？ Node.js 使用非常易用，它可以让前端开发人员也可以在服务器端构建和执行代码，而不用切换语言，开发更加高效。 那么谁在使用它，为什么？ 我们这里列举了几个最好的Node.js应用示例和背后的原因，希望能对大家有所帮助。<br />
<br />
<span style="font-size: 15px"><b>1. Uber</b></span><br />
在过去的两年里，Uber的规模每半年就会翻倍。Node.js之所以被选中，正是由于它强大的数据处理能力。<br />
<br />
Uber需要为用户和司机提供可靠的服务，因此用车需求增加时，需要扩展服务，这是另外一个考虑因素。根据<a href="https://nodejs.org/static/documents/casestudies/Nodejs-at-Uber.pdf" target="_blank" class="externalLink" rel="nofollow">How Uber Uses Node.js to Scale Their Business</a>，Uber选择Node.js的原因如下:<br />
<br />
<ul>
<li>...</li>
</ul><br />
<a href="https://www.chinahtml.com/articles/23/" target="_blank" class="externalLink" rel="nofollow">10个最佳Node.js企业应用案例：从Uber到LinkedIn</a>]]></content:encoded>
    </item>
    <item>
      <title>7 个你现在就该学习 Python 的理由</title>
      <pubDate>Sat, 03 Jun 2017 04:07:13 +0000</pubDate>
      <link>https://www.chinahtml.com/articles/17/</link>
      <guid>https://www.chinahtml.com/articles/17/</guid>
      <author>shenlan</author>
      <dc:creator>shenlan</dc:creator>
      <content:encoded><![CDATA[Python 是一门更注重可读性和效率的语言，尤其是相较于 Java，PHP 以及 C++ 这样的语言，它的这两个优势让其在开发者中大受欢迎。<br />
<br />
诚然，它有点老了，但仍是80后啊 —— 至少没有 Cobol 或者 Fortran 那么老。而且，如果还能派上用场的话，为啥要折腾着改变它呢 (尤其在这个还有那么多方法可以提升它性能的时候)?<br />
<br />
实际上这要看你怎么看待它，生命线长本身就是件好事 —— 说明它稳定且可靠。<br />
<br />
如果你是像其他许多人一样都是从 Java，C 或者 Perl 开始进入职业生涯的，那么学习 Python 的曲线基本上是不存在的。然而也正是由于 Python 易于上手这一事实，让有些人没有意识到 Python 也应该是一项必要的编程技能。<br />
<br />
我要向各位坦诚，我对 Python 的喜爱也是从几年以前才开始的。不经历长期的痛苦教训，我们是不会对这门语言以及它的平台所提供的一切心生感激的。我写下这篇短文的目的就是要将你从同样的痛苦中拯救出来，让你明白为什么需要去了解 Python。<br />
<br />
<span style="font-size: 18px"><b>1. Python 易于学习</b><br />
</span>...<br />
<br />
<a href="https://www.chinahtml.com/articles/17/" target="_blank" class="externalLink" rel="nofollow">7 个你现在就该学习 Python 的理由</a>]]></content:encoded>
    </item>
    <item>
      <title>一文读懂 HTTP/2</title>
      <pubDate>Fri, 26 May 2017 16:25:27 +0000</pubDate>
      <link>https://www.chinahtml.com/articles/14/</link>
      <guid>https://www.chinahtml.com/articles/14/</guid>
      <author>CH首席编辑</author>
      <dc:creator>CH首席编辑</dc:creator>
      <content:encoded><![CDATA[今天，HTTP 1.1 已经变成互联网中主要的协议。但是在 HTTP 协议诞生初期却被认为是简单直接的协议。1996 年在 RFC 1945 中定义了 HTTP 1.0 规范，仅 60 页，到 1999 年在 RFC 2616 定义了 HTTP 1.1，增长到了 176 页。但是，随着 web 技术的飞速发展。 HTTP 1.1 已经无法满足用户对性能的要求，此后 Google 推出协议 SPDY，意在解决 HTTP 1.1 中广为人知的性能问题。SPDY 得到了 Chrome、Firefox 和 Opera 的支持，很多大型网站（如谷歌、Twitter、Facebook）都对兼容客户端使用 SPDY。SPDY 在被行业采用并证明能够大幅提升性能之后，已经具备了成为一个标准的条件。<br />
<br />
HTTP/2 是 HTTP 协议自 1999 年 HTTP 1.1 发布后的首个更新，主要基于 SPDY 协议。它由互联网工程任务组（IETF）的Hypertext Transfer Protocol...<br />
<br />
<a href="https://www.chinahtml.com/articles/14/" target="_blank" class="externalLink" rel="nofollow">一文读懂 HTTP/2</a>]]></content:encoded>
    </item>
    <item>
      <title>在 PHP7 中不要做这10件事</title>
      <pubDate>Sat, 20 May 2017 04:59:00 +0000</pubDate>
      <link>https://www.chinahtml.com/articles/9/</link>
      <guid>https://www.chinahtml.com/articles/9/</guid>
      <author>CH首席编辑</author>
      <dc:creator>CH首席编辑</dc:creator>
      <content:encoded><![CDATA[很多程序员都在使用PHP7编写代码，然而要想用好这种语言，有10个地方必须格外注意，尤其是刚刚入门的同学更应该牢牢记住这些内容。<br />
<br />
<span style="font-size: 18px">1、不要使用mysql_函数</span><br />
<br />
这一天终于来了，从此你不仅仅“不应该”使用mysql_函数。PHP 7已经把它们从核心中全部移除了，也就是说你需要迁移到好得多的mysqli_函数，或者更灵活的PDO实现。<br />
<br />
<span style="font-size: 18px">2、不要编写垃圾代码</span><br />
<br />
这一条可能易于理解，但是会变得越来越重要，因为PHP 7的速度提升可能会隐藏你的一些问题。不要仅仅满足于你的站点速度，因为迁移到PHP 7才让它变快。<br />
<br />
为了理解速度有多重要，以及如何把事情做得更好，请看一看我们的文章速度优化入门指南。<br />
<br />
作为一名开发者，你应该总是确保按需加载脚本，尽可能连接它们，编写高效的数据库查询，尽可能使用缓存，以及其它。<br />
<br />
<span style="font-size: 18px">3、不要在文件末尾使用PHP闭合标签</span>...<br />
<br />
<a href="https://www.chinahtml.com/articles/9/" target="_blank" class="externalLink" rel="nofollow">在 PHP7 中不要做这10件事</a>]]></content:encoded>
    </item>
    <item>
      <title>Python入门深度学习完整指南</title>
      <pubDate>Fri, 19 May 2017 14:41:24 +0000</pubDate>
      <link>https://www.chinahtml.com/articles/6/</link>
      <guid>https://www.chinahtml.com/articles/6/</guid>
      <author>CH首席编辑</author>
      <dc:creator>CH首席编辑</dc:creator>
      <content:encoded><![CDATA[<span style="font-size: 18px"><b>介绍</b></span><br />
深度学习目前已经成为了人工智能领域的突出话题。它在“计算机视觉”和游戏（AlphaGo）等领域的突出表现而闻名，甚至超越了人类的能力。近几年对深度学习的关注度也在不断上升，这里有一个<a href="https://www.analyticsvidhya.com/blog/2014/06/deep-learning-attention/" target="_blank" class="externalLink" rel="nofollow">调查结果</a>可以参考。<br />
<br />
这里有一个 Google 的搜索趋势图：<br />


	<a href="https://down1.chinahtml.com/attachments/9732/" target="_blank">浏览附件9732</a>
	
 <br />
<br />
如果你对这个话题感兴趣，这里有一个很好的<a href="https://www.techinasia.com/ai-machine-deep-learning" target="_blank" class="externalLink" rel="nofollow">非技术性的介绍</a>。如果你有兴趣了解最近的趋势，那么这里有一个很好的<a href="https://www.linkedin.com/pulse/heres-what-we-can-expect-from-deep-learning-2016-beyond-sophie-curtis" target="_blank" class="externalLink" rel="nofollow">汇总</a>。...<br />
<br />
<a href="https://www.chinahtml.com/articles/6/" target="_blank" class="externalLink" rel="nofollow">Python入门深度学习完整指南</a>]]></content:encoded>
    </item>
  </channel>
</rss>
