<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Lloyd Sheng Blog</title><subtitle type="text">关注互联网技术与产品</subtitle><id>http://feed.cnblogs.com/blog/u/66088/rss</id><updated>2010-07-05T10:44:18Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/66088/rss"/><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/07/05/1771608.html</id><title type="text">Session和Cookie的关系</title><summary type="text">很多人了解Session和Cookie的区别，其实Session和Cookie是有非常密切联系的。可以这么说，浏览器禁用了Cookie，服务器端的Session也将失效。 Http协议本身是无状态的，Session机制在一定程度上解决了Web应用状态问题。服务器判断Session唯一性是通过每个Session独有的Session ID，通过在每次http传输的消息中附带Session ID解决了...</summary><published>2010-07-05T10:43:00Z</published><updated>2010-07-05T10:43:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/07/05/1771608.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/07/05/1771608.html"/><content type="html">&lt;p&gt;很多人了解Session和Cookie的区别，其实Session和Cookie是有非常密切联系的。可以这么说，浏览器禁用了Cookie，服务器端的Session也将失效。&lt;/p&gt;  &lt;p&gt;Http协议本身是无状态的，Session机制在一定程度上解决了Web应用状态问题。服务器判断Session唯一性是通过每个Session独有的Session ID，通过在每次http传输的消息中附带Session ID解决了维持会话状态的问题。&lt;/p&gt;  &lt;p&gt;那么Seesion的维持和Cookie有什么关系呢？&lt;/p&gt;  &lt;p&gt;&lt;a title="http://lloydsheng.com/2010/07/relationship-between-session-and-cookie.html" href="http://lloydsheng.com/2010/07/relationship-between-session-and-cookie.html"&gt;(阅读全文)&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/lloydsheng/aggbug/1771608.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/lloydsheng/archive/2010/07/05/1771608.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/06/24/1764106.html</id><title type="text">Django常用模板标签</title><summary type="text">a.for 标签，用来循环显示列表各项的值，比如要显示wordpress文章列表：（阅读全文）</summary><published>2010-06-24T00:21:00Z</published><updated>2010-06-24T00:21:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/06/24/1764106.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/06/24/1764106.html"/><content type="html">&lt;p&gt;a.for 标签，用来循环显示列表各项的值，比如要显示wordpress文章列表：&lt;/p&gt;{% for post in posts %} &lt;br/&gt;&amp;lt;div&amp;gt;&lt;br/&gt;&amp;lt;h2&amp;gt;&amp;lt;a href=”{{ post.guid }}”&amp;gt;{{ post.title }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;&lt;br/&gt;{{ post.content }}&lt;br/&gt;&amp;lt;/div&amp;gt;&lt;br/&gt;{% endfor&amp;nbsp; %}&lt;p&gt;&lt;a href="http://lloydsheng.com/2010/06/common-django-template-tags.html"&gt;（阅读全文）&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/lloydsheng/aggbug/1764106.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/lloydsheng/archive/2010/06/24/1764106.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/06/07/1753443.html</id><title type="text">Linux下如何给Subversion和Mercurial设置HTTP代理</title><summary type="text">Subversion就不介绍了，这里先介绍一下分布式版本控制系统Mercurial，可能知道的人还比较少，但是它已经是一个比较成熟的版本控制系统了。 （查看全文）</summary><published>2010-06-07T12:02:00Z</published><updated>2010-06-07T12:02:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/06/07/1753443.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/06/07/1753443.html"/><content type="html">&lt;p&gt;Subversion就不介绍了，这里先介绍一下分布式版本控制系统Mercurial，可能知道的人还比较少，但是它已经是一个比较成熟的版本控制系统了。&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lloydsheng.com/2010/06/set-http-proxy-for-subversion-and-mercurial-in-linux.html"&gt;（查看全文）&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/lloydsheng/aggbug/1753443.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/lloydsheng/archive/2010/06/07/1753443.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/06/02/1750097.html</id><title type="text">Ubuntu搭建Django+Flup+Nginx环境</title><summary type="text">首先我们必须明白这这3者在该环境下发挥的作用。 1.nginx：("engine x") 是一个高性能的 HTTP 和 反向代理 服务器，作用和apache的类似。它可以处理一些静态文件的请求，而对于动态的文件的请求，它可以通过fastcgi方式，来分发请求给不同的动态语言处理。  2.flup：本身是一个使用python写的web服务器软件，它可以接受ngin...</summary><published>2010-06-02T08:33:00Z</published><updated>2010-06-02T08:33:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/06/02/1750097.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/06/02/1750097.html"/><content type="text">首先我们必须明白这这3者在该环境下发挥的作用。 1.nginx：("engine x") 是一个高性能的 HTTP 和 反向代理 服务器，作用和apache的类似。它可以处理一些静态文件的请求，而对于动态的文件的请求，它可以通过fastcgi方式，来分发请求给不同的动态语言处理。  2.flup：本身是一个使用python写的web服务器软件，它可以接受ngin...</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/05/29/1747254.html</id><title type="text">Linux下安装Django1.2和Mysql-Python</title><summary type="text">写这个教程主要是因为今天想试用一下django1.2，需要个django的运行环境。也当做个记录，让其他人也能顺利的搭建django环境。 在安装之前，首先要保证你的系统中已经配置python环境，我使用的python版本是2.6.2，本文安装的是django1.2.1，它需要python2.4以上的版本。 安装django 1.下载 你可以下载2种版本，稳定版本如下方式： 最新版本，这...</summary><published>2010-05-29T15:44:00Z</published><updated>2010-05-29T15:44:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/29/1747254.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/29/1747254.html"/><content type="text">写这个教程主要是因为今天想试用一下django1.2，需要个django的运行环境。也当做个记录，让其他人也能顺利的搭建django环境。 在安装之前，首先要保证你的系统中已经配置python环境，我使用的python版本是2.6.2，本文安装的是django1.2.1，它需要python2.4以上的版本。 安装django 1.下载 你可以下载2种版本，稳定版本如下方式： 最新版本，这...</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/05/26/1744127.html</id><title type="text">浅谈Google Font API实现原理</title><summary type="text">在上一篇《使用Google Font API让网页的文字更漂亮》文章中，我向大家介绍了如何使用Google Font API来使用Google 字体目录中漂亮的英文字体。从大家的评论中我总结了2个问题： 1.对中文字体大小估计不足，中文字体的大小确实不是一般的大，如果要在Google的开放字体目录中提供完整的中文字体，估计有困难，依据现在的带宽来看，即使可以提供，用户也不愿意的那么长的时间。 ...</summary><published>2010-05-26T01:31:00Z</published><updated>2010-05-26T01:31:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/26/1744127.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/26/1744127.html"/><content type="text">在上一篇《使用Google Font API让网页的文字更漂亮》文章中，我向大家介绍了如何使用Google Font API来使用Google 字体目录中漂亮的英文字体。从大家的评论中我总结了2个问题： 1.对中文字体大小估计不足，中文字体的大小确实不是一般的大，如果要在Google的开放字体目录中提供完整的中文字体，估计有困难，依据现在的带宽来看，即使可以提供，用户也不愿意的那么长的时间。 ...</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/05/24/1742934.html</id><title type="text">使用Google Font API让网页的文字更漂亮</title><summary type="text">Google在5月20日宣布推出Google Font Directory和Google Font API两项服务。在Google Font Directory中，Google联合了众多的字体设计者为用户提供了多种漂亮的字体，但现在全部是英文字体，相信今后会有中文字体。Google Font API 和Google Font Directory是相辅相成的，用户正是通过Google Font AP...</summary><published>2010-05-24T10:01:00Z</published><updated>2010-05-24T10:01:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/24/1742934.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/24/1742934.html"/><content type="text">Google在5月20日宣布推出Google Font Directory和Google Font API两项服务。在Google Font Directory中，Google联合了众多的字体设计者为用户提供了多种漂亮的字体，但现在全部是英文字体，相信今后会有中文字体。Google Font API 和Google Font Directory是相辅相成的，用户正是通过Google Font AP...</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/05/22/1741733.html</id><title type="text">可永久玩Google首页吃豆子游戏的方法</title><summary type="text">今天是“吃豆子游戏”发布30周年的日子，为了纪念这个特殊的日子，Google第一次在首页提供了一个互动性的Logo，网友可以直接在Google首页玩到吃豆子游戏，并且体验到的游戏声音和配色与原作一样。一般来说，Google过了今天就会将这个Logo更换掉，也就不能再在首页玩到这个游戏了。如果你还意犹未尽的话，这里提供两种方法让可以永久玩到这个游戏：1.另一个可以玩在这个游戏...</summary><published>2010-05-22T12:20:00Z</published><updated>2010-05-22T12:20:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/22/1741733.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/22/1741733.html"/><content type="text">今天是“吃豆子游戏”发布30周年的日子，为了纪念这个特殊的日子，Google第一次在首页提供了一个互动性的Logo，网友可以直接在Google首页玩到吃豆子游戏，并且体验到的游戏声音和配色与原作一样。一般来说，Google过了今天就会将这个Logo更换掉，也就不能再在首页玩到这个游戏了。如果你还意犹未尽的话，这里提供两种方法让可以永久玩到这个游戏：1.另一个可以玩在这个游戏...</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/05/17/1737267.html</id><title type="text">玩转博客园的5个小技巧</title><summary type="text">写博客也有几年了，现在能找到的第一篇博文发布时间是2007年11月11日，那还是在百度空间里面的，其实更早的是在csai，不过帐号，密码，博客网址全忘记了。而真正来博客园的写博客时间不是很长，一直很喜欢这里的氛围。这段时间发现几个在博客园博客中可以使用的小技巧，不敢独享，介绍给大家。1.订阅菜单订阅对于博客的作用非常重要，提供订阅功能，有利于让读者获取博客的最新内容，几乎所有的博客都提供了订阅功能...</summary><published>2010-05-17T05:19:00Z</published><updated>2010-05-17T05:19:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/17/1737267.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/17/1737267.html"/><content type="text">写博客也有几年了，现在能找到的第一篇博文发布时间是2007年11月11日，那还是在百度空间里面的，其实更早的是在csai，不过帐号，密码，博客网址全忘记了。而真正来博客园的写博客时间不是很长，一直很喜欢这里的氛围。这段时间发现几个在博客园博客中可以使用的小技巧，不敢独享，介绍给大家。1.订阅菜单订阅对于博客的作用非常重要，提供订阅功能，有利于让读者获取博客的最新内容，几乎所有的博客都提供了订阅功能...</content></entry><entry><id>http://www.cnblogs.com/lloydsheng/archive/2010/05/10/1732018.html</id><title type="text">用Nginx 给Google App Engine 做负载均衡</title><summary type="text">周末突发奇想“能不能用nginx给自己的多个Google App Enine （以下简称GAE）应用作负载均衡呢？”想想蛮有意思的，动手试试看吧，不过这是我第一次用nginx做负载均衡，也是玩玩而已，我还没有那么大访问量的应用。关于nginx的介绍，百度百科，维基百科和官网都能找到，国内的张晏写很了个很详细的用nignx 搭建Web服务器的教程-《Nginx + PHP （...</summary><published>2010-05-10T11:46:00Z</published><updated>2010-05-10T11:46:00Z</updated><author><name>LloydSheng</name><uri>http://www.cnblogs.com/lloydsheng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/10/1732018.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/lloydsheng/archive/2010/05/10/1732018.html"/><content type="text">周末突发奇想“能不能用nginx给自己的多个Google App Enine （以下简称GAE）应用作负载均衡呢？”想想蛮有意思的，动手试试看吧，不过这是我第一次用nginx做负载均衡，也是玩玩而已，我还没有那么大访问量的应用。关于nginx的介绍，百度百科，维基百科和官网都能找到，国内的张晏写很了个很详细的用nignx 搭建Web服务器的教程-《Nginx + PHP （...</content></entry></feed>
