<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UUTAN BLOG</title>
	<atom:link href="http://www.uutan.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uutan.net</link>
	<description>PHP攻城师的必经之路</description>
	<lastBuildDate>Fri, 23 Mar 2012 09:46:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>关于联动下拉的一些思考</title>
		<link>http://www.uutan.net/2012/03/%e5%85%b3%e4%ba%8e%e8%81%94%e5%8a%a8%e4%b8%8b%e6%8b%89%e7%9a%84%e4%b8%80%e4%ba%9b%e6%80%9d%e8%80%83/</link>
		<comments>http://www.uutan.net/2012/03/%e5%85%b3%e4%ba%8e%e8%81%94%e5%8a%a8%e4%b8%8b%e6%8b%89%e7%9a%84%e4%b8%80%e4%ba%9b%e6%80%9d%e8%80%83/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 09:45:49 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=144</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2012/03/%e5%85%b3%e4%ba%8e%e8%81%94%e5%8a%a8%e4%b8%8b%e6%8b%89%e7%9a%84%e4%b8%80%e4%ba%9b%e6%80%9d%e8%80%83/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>有很多情况，需要做成多次选择下拉的框，而第二次数据需要根据上级选择的结果，才能得出结果。现在我在这方面做了一个通用解决方案。但需要做一些约定。因此，有了这些思考。还有一些不足的地方。还请各位看官指正。 &#160; 举例：省，市二级联动，最为常见。虽然目前有很多js都解决了这个问题。如出名的一个为pcasunzip.js,它就做到了带数据的三级联动。 看html的写法 1 2 3 &#38;lt;?php echo CHtml::dropDownList&#40;'area_id','', array&#40;''=&#38;gt;'全部'&#41;+Area::getOptions&#40;&#41;,array&#40;'class'=&#38;gt;'linkage','data-url'=&#38;gt;$this-&#38;gt;createUrl&#40;'areaselect'&#41;,'data-sub'=&#38;gt;'#subareaid'&#41;&#41;;?&#38;gt; &#38;lt;?php echo CHtml::dropDownList&#40;'area_id','', array&#40;''=&#38;gt;'全部'&#41;,array&#40;'id'=&#38;gt;'subareaid','class'=&#38;gt;'linkage','data-url'=&#38;gt;$this-&#38;gt;createUrl&#40;'hospitalselect'&#41;,'data-sub'=&#38;gt;'#hospitalid'&#41;&#41;;?&#38;gt; &#38;lt;?php echo CHtml::dropDownList&#40;'hospital_id','', array&#40;''=&#38;gt;'全部'&#41;,array&#40;'id'=&#38;gt;'hospitalid'&#41;&#41;;?&#38;gt; 从上面的select下拉选择框中，前两个下拉选择框有共同的css伪类linkage,data-url和data-sub。三个参数这些参数就是所谓做的约定，它在select上当做一个属性显示，实际对下拉选择框没有实际意义。是我们自己规定的。 .linkage : 约定为 只要带有该类名的select元素，都会支持change事件，并通过当前的选中值和属性值data-url，发起ajax请求 data-url : ajax请求网址，该网址反馈出data-sub的元素下面需要显示的值 data-sub : 需要显示下拉的元素名称 js的表现 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 $(function(){ var D = $('.linkage'); &#160; D.change(function(){ [...]]]></description>
		<wfw:commentRss>http://www.uutan.net/2012/03/%e5%85%b3%e4%ba%8e%e8%81%94%e5%8a%a8%e4%b8%8b%e6%8b%89%e7%9a%84%e4%b8%80%e4%ba%9b%e6%80%9d%e8%80%83/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>html5使宽度会被设定为设备的屏幕宽度</title>
		<link>http://www.uutan.net/2012/01/html5%e4%bd%bf%e5%ae%bd%e5%ba%a6%e4%bc%9a%e8%a2%ab%e8%ae%be%e5%ae%9a%e4%b8%ba%e8%ae%be%e5%a4%87%e7%9a%84%e5%b1%8f%e5%b9%95%e5%ae%bd%e5%ba%a6/</link>
		<comments>http://www.uutan.net/2012/01/html5%e4%bd%bf%e5%ae%bd%e5%ba%a6%e4%bc%9a%e8%a2%ab%e8%ae%be%e5%ae%9a%e4%b8%ba%e8%ae%be%e5%a4%87%e7%9a%84%e5%b1%8f%e5%b9%95%e5%ae%bd%e5%ba%a6/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 02:55:27 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=138</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2012/01/html5%e4%bd%bf%e5%ae%bd%e5%ba%a6%e4%bc%9a%e8%a2%ab%e8%ae%be%e5%ae%9a%e4%b8%ba%e8%ae%be%e5%a4%87%e7%9a%84%e5%b1%8f%e5%b9%95%e5%ae%bd%e5%ba%a6/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>会使宽度会被设定为设备的屏幕宽度 &#60;meta name=”viewport” content=”width=device-width, initial-scale=1&#8243;&#62; 完整一点的代码： &#60;!DOCTYPE html&#62; &#60;html&#62; &#60;head&#62; &#60;title&#62;Page Title&#60;/title&#62; &#60;meta name="viewport" content="width=device-width, initial-scale=1"&#62; &#60;/head&#62; &#60;body&#62; &#8230; &#60;/body&#62; &#60;/html&#62;]]></description>
		<wfw:commentRss>http://www.uutan.net/2012/01/html5%e4%bd%bf%e5%ae%bd%e5%ba%a6%e4%bc%9a%e8%a2%ab%e8%ae%be%e5%ae%9a%e4%b8%ba%e8%ae%be%e5%a4%87%e7%9a%84%e5%b1%8f%e5%b9%95%e5%ae%bd%e5%ba%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>html5的声明</title>
		<link>http://www.uutan.net/2012/01/html5%e7%9a%84%e5%a3%b0%e6%98%8e/</link>
		<comments>http://www.uutan.net/2012/01/html5%e7%9a%84%e5%a3%b0%e6%98%8e/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 02:51:15 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=136</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2012/01/html5%e7%9a%84%e5%a3%b0%e6%98%8e/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>html5代码的声明，看代码 &#60;!DOCTYPE html&#62; &#60;html&#62; &#60;head&#62; &#60;title&#62;Page Title&#60;/title&#62; &#60;/head&#62; &#60;body&#62; content &#60;/body&#62; &#60;/html&#62;]]></description>
		<wfw:commentRss>http://www.uutan.net/2012/01/html5%e7%9a%84%e5%a3%b0%e6%98%8e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android 设置无标题栏，全屏，横屏方法</title>
		<link>http://www.uutan.net/2012/01/android-%e8%ae%be%e7%bd%ae%e6%97%a0%e6%a0%87%e9%a2%98%e6%a0%8f%ef%bc%8c%e5%85%a8%e5%b1%8f%ef%bc%8c%e6%a8%aa%e5%b1%8f%e6%96%b9%e6%b3%95/</link>
		<comments>http://www.uutan.net/2012/01/android-%e8%ae%be%e7%bd%ae%e6%97%a0%e6%a0%87%e9%a2%98%e6%a0%8f%ef%bc%8c%e5%85%a8%e5%b1%8f%ef%bc%8c%e6%a8%aa%e5%b1%8f%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 01:23:15 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[android基础]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=130</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2012/01/android-%e8%ae%be%e7%bd%ae%e6%97%a0%e6%a0%87%e9%a2%98%e6%a0%8f%ef%bc%8c%e5%85%a8%e5%b1%8f%ef%bc%8c%e6%a8%aa%e5%b1%8f%e6%96%b9%e6%b3%95/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>// 设置为无标题栏 requestWindowFeature(Window.FEATURE_NO_TITLE); // 设置为全屏模式 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); // 设置为模屏 //setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); &#160; 使用该代码应该放在setContentView方法的前面。不然会报错。]]></description>
		<wfw:commentRss>http://www.uutan.net/2012/01/android-%e8%ae%be%e7%bd%ae%e6%97%a0%e6%a0%87%e9%a2%98%e6%a0%8f%ef%bc%8c%e5%85%a8%e5%b1%8f%ef%bc%8c%e6%a8%aa%e5%b1%8f%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu下SVN服务器安装配置</title>
		<link>http://www.uutan.net/2011/12/ubuntu%e4%b8%8bsvn%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae/</link>
		<comments>http://www.uutan.net/2011/12/ubuntu%e4%b8%8bsvn%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 11:50:19 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[杂物间]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=127</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2011/12/ubuntu%e4%b8%8bsvn%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>SVN安装 1.安装包 $ sudo apt-get install subversion 2.添加svn管理用户及subversion组 $ sudo adduser svnuser $ sudo addgroup subversion $ sudo addgroup svnuser subversion 3.创建项目目录 $ sudo mkdir /home/svn $ cd /home/svn $ sudo mkdir fitness $ sudo chown -R root:subversion fitness $ sudo chmod -R g+rws fitness 4.创建SVN文件仓库 $ sudo svnadmin create /home/svn/fitness]]></description>
		<wfw:commentRss>http://www.uutan.net/2011/12/ubuntu%e4%b8%8bsvn%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>漫谈YII 表单的内置验证规则</title>
		<link>http://www.uutan.net/2011/11/%e6%bc%ab%e8%b0%88yii-%e8%a1%a8%e5%8d%95%e7%9a%84%e5%86%85%e7%bd%ae%e9%aa%8c%e8%af%81%e8%a7%84%e5%88%99/</link>
		<comments>http://www.uutan.net/2011/11/%e6%bc%ab%e8%b0%88yii-%e8%a1%a8%e5%8d%95%e7%9a%84%e5%86%85%e7%bd%ae%e9%aa%8c%e8%af%81%e8%a7%84%e5%88%99/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 05:54:19 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=124</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2011/11/%e6%bc%ab%e8%b0%88yii-%e8%a1%a8%e5%8d%95%e7%9a%84%e5%86%85%e7%bd%ae%e9%aa%8c%e8%af%81%e8%a7%84%e5%88%99/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Yii 有内置数据验证，我将它列出来： required: 必填字段验证， 来自 CRequiredValidator类的别名 array(&#8216;字段名列表用逗号隔开&#8217;, &#8216;required&#8217;),    就这样的一个小小的写法，可以让字段前面加个 * 星号显示出来，表示必填字段 filter: 过滤验证， 来自 CFilterValidator 类的别名 match: 使用正则表达式，来自CRegularExpressionValidator的别名，　用于 验证属性是否匹配一个正则表达式 email: 验证邮箱，来自CEmailValidator类的别名 url: 验证网址， 来自CUrlValidator的别名 unique: 验证唯一性， 来自CUniqueValidator的别名 compare: 多字段对比验证，来自CCompareValidator的别名 length: 验证字符串的长度验证，来自CStringValidator的别名 in: 验证属性值是否在一个预订的值列表里面，来自CRangeValidator的别名 numerical: 验证字符串是否为整数，来自CNumberValidator的别名 captcha: 验证码啦，来自CCaptchaValidator的别名 type: 验证字符串类型，来自 CTypeValidator的别名 file: 文件验证，来自CFileValidator的别名 default: 默认值验证， 来自CDefaultValueValidator的别名 exist: 验证数据是否存在， 来自CExistValidator的别名 boolean: 验证真假值， 来自CBooleanValidator的别名 date: 验证日期时间， 来自CDateValidator的别名 safe:验证数据是否安全，来自 [...]]]></description>
		<wfw:commentRss>http://www.uutan.net/2011/11/%e6%bc%ab%e8%b0%88yii-%e8%a1%a8%e5%8d%95%e7%9a%84%e5%86%85%e7%bd%ae%e9%aa%8c%e8%af%81%e8%a7%84%e5%88%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>开始新的学习内容</title>
		<link>http://www.uutan.net/2011/09/%e5%bc%80%e5%a7%8b%e6%96%b0%e7%9a%84%e5%ad%a6%e4%b9%a0%e5%86%85%e5%ae%b9/</link>
		<comments>http://www.uutan.net/2011/09/%e5%bc%80%e5%a7%8b%e6%96%b0%e7%9a%84%e5%ad%a6%e4%b9%a0%e5%86%85%e5%ae%b9/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 22:57:50 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[技术研究]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=118</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2011/09/%e5%bc%80%e5%a7%8b%e6%96%b0%e7%9a%84%e5%ad%a6%e4%b9%a0%e5%86%85%e5%ae%b9/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>在本年，想学习的知识为python和gtk。大家都知道，python已经流行很久了。它是属于那种万能胶的语言。给我们带来的好处，非常的多。从事该web也很久了，数据任务完成由后台批量去完成。前台网页，只是展示给浏览者看，接收人机交互的相关信息，这往往属于对数据库的添加，修改，删除之类的操作。 更多的重心，应该为后台任务。 gtk 为一个界面展示包。与python搭配开发桌面小工具，是一个不错的选择。]]></description>
		<wfw:commentRss>http://www.uutan.net/2011/09/%e5%bc%80%e5%a7%8b%e6%96%b0%e7%9a%84%e5%ad%a6%e4%b9%a0%e5%86%85%e5%ae%b9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>漫谈yii预定义验证</title>
		<link>http://www.uutan.net/2011/09/%e6%bc%ab%e8%b0%88yii%e9%a2%84%e5%ae%9a%e4%b9%89%e9%aa%8c%e8%af%81/</link>
		<comments>http://www.uutan.net/2011/09/%e6%bc%ab%e8%b0%88yii%e9%a2%84%e5%ae%9a%e4%b9%89%e9%aa%8c%e8%af%81/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 22:34:44 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[技术研究]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=115</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2011/09/%e6%bc%ab%e8%b0%88yii%e9%a2%84%e5%ae%9a%e4%b9%89%e9%aa%8c%e8%af%81/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>在每一个Model中，总会一些自动生成的验证规则。它是入库前验证是否报错的先决条件。模型中，model的示例如下： 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 public function rules&#40;&#41; &#123; // NOTE: you should only define rules for those attributes that // will receive user inputs. return array&#40; array&#40;'realname, gender, mobile, province, city, district, address, zipcode', 'required'&#41;, array&#40;'realname, mobile, province, city, district', 'length', 'max'=&#38;gt;30&#41;, [...]]]></description>
		<wfw:commentRss>http://www.uutan.net/2011/09/%e6%bc%ab%e8%b0%88yii%e9%a2%84%e5%ae%9a%e4%b9%89%e9%aa%8c%e8%af%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP协议状态码的含义</title>
		<link>http://www.uutan.net/2011/09/http%e5%8d%8f%e8%ae%ae%e7%8a%b6%e6%80%81%e7%a0%81%e7%9a%84%e5%90%ab%e4%b9%89/</link>
		<comments>http://www.uutan.net/2011/09/http%e5%8d%8f%e8%ae%ae%e7%8a%b6%e6%80%81%e7%a0%81%e7%9a%84%e5%90%ab%e4%b9%89/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 22:19:21 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[前端]]></category>
		<category><![CDATA[技术研究]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[状态码]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=111</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2011/09/http%e5%8d%8f%e8%ae%ae%e7%8a%b6%e6%80%81%e7%a0%81%e7%9a%84%e5%90%ab%e4%b9%89/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>HTTP状态码 1**：请求收到，继续处理 2**：操作成功收到，分析、接受 3**：完成此请求必须进一步处理 4**：请求包含一个错误语法或不能完成 5**：服务器执行一个完全有效请求失败 100——客户必须继续发出请求 101——客户要求服务器根据请求转换HTTP协议版本 200——交易成功 201——提示知道新文件的URL 202——接受和处理、但处理未完成 203——返回信息不确定或不完整 204——请求收到，但返回信息为空 205——服务器完成了请求，用户代理必须复位当前已经浏览过的文件 206——服务器已经完成了部分用户的GET请求 300——请求的资源可在多处得到 301——永久转移 302——在其他地址发现了请求数据 303——建议客户访问其他URL或访问方式 304——客户端已经执行了GET，但文件未变化 305——请求的资源必须从服务器指定的地址得到 306——前一版本HTTP中使用的代码，现行版本中不再使用 307——申明请求的资源临时性删除 400——错误请求，如语法错误 401——请求授权失败 402——保留有效ChargeTo头响应 403——请求不允许 404——没有发现文件、查询或URl 405——用户在Request-Line字段定义的方法不允许 406——根据用户发送的Accept拖，请求资源不可访问 407——类似401，用户必须首先在代理服务器上得到授权 408——客户端没有在用户指定的饿时间内完成请求 409——对当前资源状态，请求不能完成 410——服务器上不再有此资源且无进一步的参考地址 411——服务器拒绝用户定义的Content-Length属性请求 412——一个或多个请求头字段在当前请求中错误 413——请求的资源大于服务器允许的大小 414——请求的资源URL长于服务器允许的长度 415——请求资源不支持请求项目格式 416——请求中包含Range请求头字段，在当前请求资源范围内没有range指示值，请求也不包含If-Range请求头字段 417——服务器不满足请求Expect头字段指定的期望值，如果是代理服务器，可能是下一级服务器不能满足请求 500——服务器产生内部错误 501——服务器不支持请求的函数 502——服务器暂时不可用，有时是为了防止发生系统过载 503——服务器过载或暂停维修 504——关口过载，服务器使用另一个关口或服务来响应用户，等待时间设定值较长 505——服务器不支持或拒绝支请求头中指定的HTTP版本]]></description>
		<wfw:commentRss>http://www.uutan.net/2011/09/http%e5%8d%8f%e8%ae%ae%e7%8a%b6%e6%80%81%e7%a0%81%e7%9a%84%e5%90%ab%e4%b9%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>memcache在Yii中如何应用</title>
		<link>http://www.uutan.net/2011/09/memcache%e5%9c%a8yii%e4%b8%ad%e5%a6%82%e4%bd%95%e5%ba%94%e7%94%a8/</link>
		<comments>http://www.uutan.net/2011/09/memcache%e5%9c%a8yii%e4%b8%ad%e5%a6%82%e4%bd%95%e5%ba%94%e7%94%a8/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 00:40:36 +0000</pubDate>
		<dc:creator>UUTAN</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[技术研究]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://www.uutan.net/?p=107</guid>
		<description><![CDATA[<a href="http://www.uutan.net/2011/09/memcache%e5%9c%a8yii%e4%b8%ad%e5%a6%82%e4%bd%95%e5%ba%94%e7%94%a8/"><img align="left" hspace="5" width="150" height="150" src="http://www.uutan.net/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Memcache是一个高性能的分布式的内存对象缓存系统，通过在内存里维护一个统一的巨大的hash表，它能够用来存储各种格式的数据，包括图像、视频、文件以及数据库检索的结果等。简单的说就是将数据调用到内存中，然后从内存中读取，从而大大提高读取速度。 　　Memcache是danga的一个项目，最早是LiveJournal 服务的，最初为了加速 LiveJournal 访问速度而开发的，后来被很多大型的网站采用。 　　Memcached是以守护程序方式运行于一个或多个服务器中，随时会接收客户端的连接和操作。 正确使用 memcache 的前提是先在 system/protected/config/main.php 中配置好组件 memcache。 1 2 3 4 5 6 7 8 9 10 ...... &#160; 'cache' =&#62; array&#40; 'class' =&#62; 'system.caching.CMemCache', 'servers' =&#62; array&#40; array&#40;'host' =&#62; '222.0.27.35', 'port' =&#62; 11213, 'weight' =&#62; 60&#41;, &#41;, &#41;, &#160; ...... 使用就更简单了 1 2 3 4 5 6 //设置 Yii::app&#40;&#41;-&#62;cache-&#62;set&#40;$key, [...]]]></description>
		<wfw:commentRss>http://www.uutan.net/2011/09/memcache%e5%9c%a8yii%e4%b8%ad%e5%a6%82%e4%bd%95%e5%ba%94%e7%94%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

