<?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>天生我才必有用</title>
	<atom:link href="http://ray.imiddle.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://ray.imiddle.net</link>
	<description>狂人的成长史</description>
	<lastBuildDate>Fri, 20 Nov 2009 06:28:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>使用PHP读取Excel文件</title>
		<link>http://ray.imiddle.net/2009/11/20/how-to-read-the-excel-with-php/</link>
		<comments>http://ray.imiddle.net/2009/11/20/how-to-read-the-excel-with-php/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 06:28:01 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[COM]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[OLE]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=601</guid>
		<description><![CDATA[可能这应该算得上一个很古老的问题，解决的也有多种多样，不过Internet上比较多的是Excel的保存的范例，所以写一篇如何读取Excel，可能对大家有所帮助。

使用COM接口调用，把Excel应用程序作为一个Server，PHP间接使用Excel来读取文件。
使用PHPExcel的程序包。它的优点不单单读取资料而且可以保存资料为Excel文件，同时还支持Excel 2007的格式。方法就是把Excel看作一个普通的Excel文件读取。
还有一种是PHP Excel Reader，它把Excel文件看作一个二进制文件读取，不过不支持新版本Excel文件。

方法2可能看起来不错，不过当你在读取资料大比较大的文件时，会有一个致命的缺点：内存溢出。因为它必须把整个Excel读入内存。有点像XML的DOM接口，不清楚是否有类型XML的SAX的方法。
方法3有类似方法2内存溢出的问题，同时对新版的支持较差。
方法1应该是属于非常传统的方式，只有支持COM程序接口就可。同时只有你能用当前安装的Excel打开此文件，你就可以通过COM接口读取文件。缺点就是你必须在你的电脑上安装Excel。不过对于大文件现在只能使用这个方法。
$doc = "test.xls" ;
$excel_app = new COM("Excel.Application", NULL, CP_UTF8) or die ("Please install the Excel. \n");

#$excel_app-&#62;Visible = 1;

$workbook = $excel_app-&#62;Workbooks-&#62;Open($doc) or die("Can't open ".$doc);
$worksheet = $workbook-&#62;WorkSheets(1);
$worksheet-&#62;activate;

$min_row    = $worksheet-&#62;UsedRange-&#62;Row;
$min_col    = $worksheet-&#62;UsedRange-&#62;Column;
$max_row    = $worksheet-&#62;UsedRange-&#62;Rows-&#62;Count;
$max_col    = $worksheet-&#62;UsedRange-&#62;Columns-&#62;Count;

for ($row = $min_row ; $row &#60; $max_row; $row ++){
    for ($column = $min_col ; $column &#60;= $max_col; [...]]]></description>
			<content:encoded><![CDATA[<p>可能这应该算得上一个很古老的问题，解决的也有多种多样，不过Internet上比较多的是Excel的保存的范例，所以写一篇如何读取Excel，可能对大家有所帮助。</p>
<ol>
<li>使用COM接口调用，把Excel应用程序作为一个Server，PHP间接使用Excel来读取文件。</li>
<li>使用<a href="http://www.phpexcel.net/" target="_blank">PHPExcel</a>的程序包。它的优点不单单读取资料而且可以保存资料为Excel文件，同时还支持Excel 2007的格式。方法就是把Excel看作一个普通的Excel文件读取。</li>
<li>还有一种是<a href="http://sourceforge.net/projects/phpexcelreader">PHP Excel Reader</a>，它把Excel文件看作一个二进制文件读取，不过不支持新版本Excel文件。</li>
</ol>
<p>方法2可能看起来不错，不过当你在读取资料大比较大的文件时，会有一个致命的缺点：内存溢出。因为它必须把整个Excel读入内存。有点像XML的DOM接口，不清楚是否有类型XML的SAX的方法。</p>
<p>方法3有类似方法2内存溢出的问题，同时对新版的支持较差。</p>
<p>方法1应该是属于非常传统的方式，只有支持COM程序接口就可。同时只有你能用当前安装的Excel打开此文件，你就可以通过COM接口读取文件。缺点就是你必须在你的电脑上安装Excel。不过对于大文件现在只能使用这个方法。</p>
<pre name="code" class="php">$doc = "test.xls" ;
$excel_app = new COM("Excel.Application", NULL, CP_UTF8) or die ("Please install the Excel. \n");

#$excel_app-&gt;Visible = 1;

$workbook = $excel_app-&gt;Workbooks-&gt;Open($doc) or die("Can't open ".$doc);
$worksheet = $workbook-&gt;WorkSheets(1);
$worksheet-&gt;activate;

$min_row    = $worksheet-&gt;UsedRange-&gt;Row;
$min_col    = $worksheet-&gt;UsedRange-&gt;Column;
$max_row    = $worksheet-&gt;UsedRange-&gt;Rows-&gt;Count;
$max_col    = $worksheet-&gt;UsedRange-&gt;Columns-&gt;Count;

for ($row = $min_row ; $row &lt; $max_row; $row ++){
    for ($column = $min_col ; $column &lt;= $max_col; $column ++){
       $value = $worksheet-&gt;Cells($row, $column)-&gt;value;
       echo $value."\n";
    }
}
$excel_app-&gt;Workbooks-&gt;Close();
$excel_app-&gt;Quit();</pre>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/11/20/how-to-read-the-excel-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Cocoa with Ruby: Create Compelling Mac Apps Using RubyCocoa</title>
		<link>http://ray.imiddle.net/2009/08/17/programming-cocoa-with-ruby-create-compelling-mac-apps-using-rubycocoa/</link>
		<comments>http://ray.imiddle.net/2009/08/17/programming-cocoa-with-ruby-create-compelling-mac-apps-using-rubycocoa/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 02:07:30 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Pragmatic]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=596</guid>
		<description><![CDATA[
Introduction:
This is a book for the Ruby programmer who&#8217;s never written a Mac app before. Through this hands-on tutorial, you&#8217;ll learn all about the Cocoa framework for programming on Mac OS X. Join the author&#8217;s journey as this experienced Ruby programmer delves into the Cocoa framework right from the beginning, answering the same questions and [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img title="ruby" src="../wp-content/uploads/2009/08/ruby.jpg" alt="ruby" width="261" height="300" /></strong></p>
<p><strong>Introduction:</strong></p>
<p>This is a book for the Ruby programmer who&#8217;s never written a Mac app before. Through this hands-on tutorial, you&#8217;ll learn all about the Cocoa framework for programming on Mac OS X. Join the author&#8217;s journey as this experienced Ruby programmer delves into the Cocoa framework right from the beginning, answering the same questions and solving the same problems that you&#8217;ll face.</p>
<p>Together you&#8217;ll build a single application that threads throughout the book, and it&#8217;s not a toy. You&#8217;ll cover topics that may not be the flashiest parts of Cocoa, but they&#8217;re ones you&#8217;ll need to know to create robust, feature-rich applications for yourself. And you&#8217;ll learn more than just Cocoa and RubyCocoa, you&#8217;ll get first-hand effective agile development practices. You&#8217;ll see test-first development of user-interface code, little domain-specific languages that take advantage of Ruby features, and other Rubyish tricks.</p>
<p>At the end of the book, you&#8217;ll be ready to write a real Mac OS X application that can be distributed to real users.</p>
<p><strong>Publisher:</strong> Pragmatic Bookshelf</p>
<p><strong>Date: </strong>2009-08-10</p>
<p><strong> ISBN: </strong>1934356190</p>
<p><strong>Page: </strong>300  pages</p>
<p><strong>Size:</strong> 6,2 MB</p>
<p><span id="more-596"></span>Click <a href="http://www.megaupload.com/?d=QO5U414F">here</a> to download</p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/08/17/programming-cocoa-with-ruby-create-compelling-mac-apps-using-rubycocoa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Facebook Platform Applications with Rails</title>
		<link>http://ray.imiddle.net/2009/08/17/developing-facebook-platform-applications-with-rails/</link>
		<comments>http://ray.imiddle.net/2009/08/17/developing-facebook-platform-applications-with-rails/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 02:00:05 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Pragmatic]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=594</guid>
		<description><![CDATA[
Introduction:
Developing Facebook Platform Applications with Rails leads you through the steps necessary to build your first application. You&#8217;ll get hands-on experience with Facebook technologies such as FBML and FQL, and master messaging and news feeds.
You&#8217;ll do more than just study the Facebook API-you&#8217;ll get practical tips from an experienced Facebook developer. We&#8217;ll cover advanced techniques [...]]]></description>
			<content:encoded><![CDATA[<p><img title="facebook" src="../wp-content/uploads/2009/08/facebook.jpg" alt="facebook" width="261" height="300" /></p>
<p><strong>Introduction:</strong></p>
<p>Developing Facebook Platform Applications with Rails leads you through the steps necessary to build your first application. You&#8217;ll get hands-on experience with Facebook technologies such as FBML and FQL, and master messaging and news feeds.</p>
<p>You&#8217;ll do more than just study the Facebook API-you&#8217;ll get practical tips from an experienced Facebook developer. We&#8217;ll cover advanced techniques such as AJAX and asynchronous messaging, and you&#8217;ll see how to slash development time with facebooker, the leading Ruby library for Facebook Platform development.</p>
<p>Together, we&#8217;ll build Karate Poke, a real Facebook Platform application, from configuration to deployment. You&#8217;ll get deep into Facebook requests right off the bat. From there, you&#8217;ll build the core of Karate Poke and then get a detailed look at the Facebook canvas and social features. We&#8217;ll finish by looking at advanced features and tips for handling millions of users.</p>
<p>Developing for the Facebook Platform can seem like a different world at first. Developing Facebook Platform Applications with Rails is your tour guide.</p>
<p><strong>Publisher: </strong>Pragmatic Bookshelf</p>
<p><strong>Date: </strong>2008-10-28</p>
<p><strong> ISBN: </strong>1934356123</p>
<p><strong>Page: </strong>196  pages</p>
<p><strong>Size:</strong> 2,8 MB</p>
<p><span id="more-594"></span>Click <a href="http://www.megaupload.com/?d=R5DAB4EB">here</a> to download it.</p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/08/17/developing-facebook-platform-applications-with-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pragmatic Version Control Using Git</title>
		<link>http://ray.imiddle.net/2009/08/14/pragmatic-version-control-using-git/</link>
		<comments>http://ray.imiddle.net/2009/08/14/pragmatic-version-control-using-git/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 01:59:16 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[eBook]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Pragmatic]]></category>
		<category><![CDATA[SCM]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=587</guid>
		<description><![CDATA[
Introduction:
# Whether you’re making the switch from a traditional centralized version control system or are a new programmer just getting started, this book prepares you to start using Git in your everyday programming.Pragmatic Version Control Using Git starts with an overview of version control systems, and shows how being distributed enables you to work more [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-588" title="Pragmatic Version Control Using Git" src="http://ray.imiddle.net/wp-content/uploads/2009/08/Pragmatic-Version-Control-Using-Git.jpeg" alt="Pragmatic Version Control Using Git" width="240" height="240" /></p>
<p><strong>Introduction:</strong></p>
<p># Whether you’re making the switch from a traditional centralized version control system or are a new programmer just getting started, this book prepares you to start using Git in your everyday programming.Pragmatic Version Control Using Git starts with an overview of version control systems, and shows how being distributed enables you to work more efficiently in our increasingly mobile society. It then progresses through the basics necessary to get started using Git.You’ll get a thorough overview of how to take advantage of Git. By the time you finish this book you’ll have a firm grounding in how to use Git, both by yourself and as part of a team. Learn how to use how to use Git to protect all the pieces of your project<br />
# Work collaboratively in a distributed environment<br />
# Learn how to use Git’s cheap branches to streamline your development<br />
# Install and administer a Git server to share your repository<br />
<strong><br />
About the Author</strong>:<br />
Travis Swicegood is part of the AppDev team at Ning helping to build the platform that lets you create a social network. He’s been programming professionally for nearly a decade, but would still be doing it for fun even if he was selling cars for a living.</p>
<p>He is actively involved in the development of several open-source automation tools in the PHP community, including several testing frameworks. He is also an active member of his local programming community, founding Lawrence Programmers. When not learning new programming languages or tools, he’s normally found on one of his many bikes, tasting his latest culinary creation, or experimenting with a new home brew.</p>
<p><strong>Publisher: </strong>Pragmatic Bookshelf<br />
<strong>Publish Date:</strong> December 28, 2008<br />
<strong>ISBN: </strong>1934356158<br />
<strong>pages: </strong>190<br />
<strong>Size:</strong> 6 MB</p>
<p><span id="more-587"></span>Please click <a href="http://http://bitroad.net/download/593be2533d8854c7c4d4a6ef7034dc745/Pragmatic.Pragmatic.Version.Control.Using.Git.Dec.2008.rar.html">here</a> to download</p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/08/14/pragmatic-version-control-using-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OReilly Version Control with Git</title>
		<link>http://ray.imiddle.net/2009/08/14/oreilly-version-control-with-git/</link>
		<comments>http://ray.imiddle.net/2009/08/14/oreilly-version-control-with-git/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 01:52:21 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[eBook]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Oreilly]]></category>
		<category><![CDATA[SCM]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=582</guid>
		<description><![CDATA[
Version Control with Git takes you step-by-step through ways to track, merge, and manage software projects, using this highly flexible, open source version control system. Git permits virtually an infinite variety of methods for development and collaboration. Created by Linus Torvalds to manage development of the Linux kernel, it&#8217;s become the principal tool for distributed [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-585" title="oreilly_git" src="http://ray.imiddle.net/wp-content/uploads/2009/08/oreilly_git.jpeg" alt="oreilly_git" width="300" height="300" /></p>
<p>Version Control with Git takes you step-by-step through ways to track, merge, and manage software projects, using this highly flexible, open source version control system. Git permits virtually an infinite variety of methods for development and collaboration. Created by Linus Torvalds to manage development of the Linux kernel, it&#8217;s become the principal tool for distributed version control. But Git&#8217;s flexibility also means that some users don&#8217;t understand how to use it to their best advantage. Version Control with Git offers tutorials on the most effective ways to use it, as well as friendly yet rigorous advice to help you navigate Git&#8217;s many functions. With this book, you will: * Learn how to use Git in several real-world development environments * Gain insight into Git&#8217;s common-use cases, initial tasks, and basic functions * Understand how to use Git for both centralized and distributed version control * Use Git to manage patches, diffs, merges, and conflicts * Acquire advanced techniques such as rebasing, hooks, and ways to handle submodules (subprojects) * Learn how to use Git with Subversion Git has earned the respect of developers around the world. Find out how you can benefit from this amazing tool with Version Control with Git.</p>
<p>Publisher: OReilly<br />
Publish Date: 06-2009<br />
ISBN-10: 0596520123<br />
Size: 5 MB<br />
Pages: 330 Pages</p>
<p><span id="more-582"></span></p>
<p>Please click <a href="http://rapidshare.com/files/242830435/oreiverscon.rar">here</a> to download.</p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/08/14/oreilly-version-control-with-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework 1.9发布</title>
		<link>http://ray.imiddle.net/2009/08/10/zend-framework-19-released/</link>
		<comments>http://ray.imiddle.net/2009/08/10/zend-framework-19-released/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 03:49:17 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=576</guid>
		<description><![CDATA[感觉现在Zend Framework 更新了很快，可能和日益受到关注有关。不知不觉中已经发布到了1.9版本。
更新的内容可以查看：http://devzone.zend.com/article/4906-Zend-Framework-1.9.0-Released
我对Zend_Test_PHPUnit_Db和Zend_Queue比较感兴趣，特别是Zend_Queue的支持，特别是加入了对MemcacheQ的原生支持。
有空学习一下这些新内容，感觉Zend Framework在逐渐缩短和RoR之间的差距。在新版本发布之际，更新一下Zend Framework的帮助chm.

中文Chm: http://ray.imiddle.net/download/zend_framework_1_9_cn.chm
英文Chm: http://ray.imiddle.net/download/zend_framework_1_9_en.chm

]]></description>
			<content:encoded><![CDATA[<p>感觉现在Zend Framework 更新了很快，可能和日益受到关注有关。不知不觉中已经发布到了1.9版本。</p>
<p>更新的内容可以查看：<a href="http://devzone.zend.com/article/4906-Zend-Framework-1.9.0-Released">http://devzone.zend.com/article/4906-Zend-Framework-1.9.0-Released</a></p>
<p>我对<code>Zend_Test_PHPUnit_Db和</code><code>Zend_Queue比较感兴趣，特别是Zend_Queue的支持，特别是加入了对</code>MemcacheQ的原生支持。</p>
<p>有空学习一下这些新内容，感觉Zend Framework在逐渐缩短和RoR之间的差距。在新版本发布之际，更新一下Zend Framework的帮助chm.</p>
<ul>
<li>中文Chm: <a href="http://ray.imiddle.net/download/zend_framework_1_9_cn.chm">http://ray.imiddle.net/download/zend_framework_1_9_cn.chm</a></li>
<li>英文Chm: <a href="http://ray.imiddle.net/download/zend_framework_1_9_en.chm">http://ray.imiddle.net/download/zend_framework_1_9_en.chm</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/08/10/zend-framework-19-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework command line console tools</title>
		<link>http://ray.imiddle.net/2009/07/21/zend-framework-command-line-console-tools/</link>
		<comments>http://ray.imiddle.net/2009/07/21/zend-framework-command-line-console-tools/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 07:15:50 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=569</guid>
		<description><![CDATA[Zend Framework Command Line Console Tool v1.8.4
 Usage:
zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]

Providers and their actions:

 Version

zf show version mode[=mini] name-included[=1]
查看当前Zend Framework的版本信息。你可以使用zf show version ? 获得更多的帮助信息。

 Phpinfo

zf show phpinfo
查看PHP配置信息。

 Manifest

 zf show manifest
查看项目的Manifest

Profile

 zf show profile
查看项目的Profile

Project

zf create project path
创建新的项目


View

zf create view controller-name action-name-or-simple-name
创建View

Controller

zf create controller name index-action-included[=1] module
创建Controller


Action

zf create action name controller-name[=index] [...]]]></description>
			<content:encoded><![CDATA[<p><code><strong>Zend Framework Command Line Console Tool v1.8.4</strong></code></p>
<p><code> Usage:</code></p>
<p><code><em>zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]</em><br />
</code></p>
<p>Providers and their actions:</p>
<ul>
<li> <strong>Version</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf show version mode[=mini] name-included[=1]</em><br />
查看当前Zend Framework的版本信息。你可以使用<em>zf show version ?</em> 获得更多的帮助信息。</p>
<ul>
<li> <strong>Phpinfo</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf show phpinfo<br />
</em>查看PHP配置信息。</p>
<ul>
<li> <strong>Manifest</strong></li>
</ul>
<p style="padding-left: 30px;"><em> zf show manifest<br />
</em>查看项目的Manifest<em></em></p>
<ul>
<li><strong>Profile</strong></li>
</ul>
<p style="padding-left: 30px;"><em> zf show profile<br />
</em>查看项目的Profile</p>
<ul>
<li><strong>Project</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf create project path<br />
</em>创建新的项目</p>
<p style="padding-left: 30px;">
<ul>
<li><strong>View</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf create view controller-name action-name-or-simple-name<br />
</em>创建View</p>
<ul>
<li><strong>Controller</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf create controller name index-action-included[=1] module<br />
</em>创建Controller</p>
<p style="padding-left: 30px;">
<ul>
<li><strong>Action</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf create action name controller-name[=index] view-included[=1] module</em></p>
<ul>
<li><strong>Module</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf create module name</em></p>
<ul>
<li><strong>ProjectProvider</strong></li>
</ul>
<p style="padding-left: 30px;"><em>zf create project-provider name actions</em></p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/07/21/zend-framework-command-line-console-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决MySQL server has gone away的问题</title>
		<link>http://ray.imiddle.net/2009/06/08/trouble-shoot-mysql-server-has-gone-away/</link>
		<comments>http://ray.imiddle.net/2009/06/08/trouble-shoot-mysql-server-has-gone-away/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 14:23:18 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[数据库]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=566</guid>
		<description><![CDATA[今天再汇入一个1GB的 Mysql文件时，突然出现&#8221;MySQL server has gone away&#8221;的问题，通过google查了一下。原来是MySQL的设置有问题。因为数据库表中有个栏位使用了Longtext（其实使用MediumText也会发生这个错)，而MySQL的my.cnf中的max_allowed_packet默认设定值为1M，此时栏位的内容超过了1M的设定值。所以针对这样的错误其实只要修改一下此max_allowed_packet设定值即可。
当修改此设定值为16M时，此错误就不再发生了，可能不需要16M这么大，具体看数据的事件大小即可。
]]></description>
			<content:encoded><![CDATA[<p>今天再汇入一个1GB的 Mysql文件时，突然出现&#8221;MySQL server has gone away&#8221;的问题，通过google查了一下。原来是MySQL的设置有问题。因为数据库表中有个栏位使用了Longtext（其实使用MediumText也会发生这个错)，而MySQL的my.cnf中的max_allowed_packet默认设定值为1M，此时栏位的内容超过了1M的设定值。所以针对这样的错误其实只要修改一下此max_allowed_packet设定值即可。</p>
<p>当修改此设定值为16M时，此错误就不再发生了，可能不需要16M这么大，具体看数据的事件大小即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/06/08/trouble-shoot-mysql-server-has-gone-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 常用模块</title>
		<link>http://ray.imiddle.net/2009/05/17/drupal-userful-module/</link>
		<comments>http://ray.imiddle.net/2009/05/17/drupal-userful-module/#comments</comments>
		<pubDate>Sun, 17 May 2009 09:39:43 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[网站设计]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=556</guid>
		<description><![CDATA[1. 内容编辑
1.1 BUEditor （http://drupal.org/project/bueditor）


1.2 Textile (http://drupal.org/project/textile)
使用自定义的标签来转换成Html文本
1.3 Wysiwyg API (http://drupal.org/project/wysiwyg)
一款所见即所得(WYSIWYG)编辑器。
1.4 FCKeditor (http://drupal.org/project/fckeditor)
另一款所见即所得的编辑器，同时也是较早被Drupal支持，所以维护和支持都不错。



]]></description>
			<content:encoded><![CDATA[<h3><strong>1. </strong>内容编辑</h3>
<h4><strong>1.1 </strong>BUEditor （<a href="http://drupal.org/project/bueditor" target="_blank">http://drupal.org/project/bueditor</a>）</h4>
<p><img class="alignnone size-full wp-image-558" title="bueditor1" src="http://ray.imiddle.net/wp-content/uploads/2009/05/bueditor1.png" alt="bueditor1" width="491" height="326" /><strong><br />
</strong></p>
<p><strong>1.2 </strong>Textile (<a href="http://drupal.org/project/textile" target="_blank">http://drupal.org/project/textile</a>)</p>
<p style="padding-left: 30px;">使用自定义的标签来转换成Html文本</p>
<p><strong>1.3</strong> Wysiwyg API (<a href="http://drupal.org/project/wysiwyghttp://" target="_blank">http://drupal.org/project/wysiwyg</a>)</p>
<p style="padding-left: 30px;">一款所见即所得(WYSIWYG)编辑器。</p>
<p class="title withtabs node-type-project_project"><strong>1.4</strong> FCKeditor (<a href="http://drupal.org/project/fckeditor" target="_blank">http://drupal.org/project/fckeditor</a>)</p>
<p class="title withtabs node-type-project_project" style="padding-left: 30px;">另一款所见即所得的编辑器，同时也是较早被Drupal支持，所以维护和支持都不错。</p>
<p class="title withtabs node-type-project_project">
<p class="title withtabs node-type-project_project" style="padding-left: 30px;">
<p class="title withtabs node-type-project_project" style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/05/17/drupal-userful-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用jQuery创建Tooltips</title>
		<link>http://ray.imiddle.net/2009/04/02/build-a-better-tooltip-with-jquery-awesomeness/</link>
		<comments>http://ray.imiddle.net/2009/04/02/build-a-better-tooltip-with-jquery-awesomeness/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 04:26:58 +0000</pubDate>
		<dc:creator>Ray</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[网站设计]]></category>

		<guid isPermaLink="false">http://ray.imiddle.net/?p=550</guid>
		<description><![CDATA[NetTuts最新教材：
Build a Better Tooltip with jQuery Awesomeness
效果如下：

]]></description>
			<content:encoded><![CDATA[<p>NetTuts最新教材：</p>
<p><a href="http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/" target="_blank">Build a Better Tooltip with jQuery Awesomeness</a></p>
<p><strong>效果如下：</strong></p>
<p><img class="alignnone size-full wp-image-552" title="initial-design" src="http://ray.imiddle.net/wp-content/uploads/2009/04/initial-design.gif" alt="initial-design" width="600" height="482" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ray.imiddle.net/2009/04/02/build-a-better-tooltip-with-jquery-awesomeness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
