<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>{|ihower.idv.tw| blog }</title>
	
	<link>http://ihower.idv.tw/blog</link>
	<description>experiences in Ruby and Rails</description>
	<lastBuildDate>Fri, 13 Nov 2009 05:04:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ihower" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Ruby 入門 第一次就上手 投影片</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/hQPeJSqV9Ps/3201</link>
		<comments>http://ihower.idv.tw/blog/archives/3201#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:35:03 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3201</guid>
		<description><![CDATA[感謝 OSSF 工作坊 安排這次的課程，投影片上傳到 slideshare 了：
Ruby 入門 第一次就上手
View more documents from Wen-Tien Chang.

如果真是高中生跟大學生為主的話，還真想把內容弄宅一點的 :p 不過主辦單位告訴我還是社會人士為主之後，就還是實用一點吧。
]]></description>
			<content:encoded><![CDATA[<p>感謝 <a href="http://whoswho.openfoundry.org/workshop/details/53--ruby--.html">OSSF 工作坊</a> 安排這次的課程，投影片上傳到 slideshare 了：</p>
<div style="width:425px;text-align:left" id="__ss_2484283"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/ihower/ruby-2484283" title="Ruby 入門 第一次就上手">Ruby 入門 第一次就上手</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=ruby-learn-to-program-091112093028-phpapp01&#038;stripped_title=ruby-2484283" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=ruby-learn-to-program-091112093028-phpapp01&#038;stripped_title=ruby-2484283" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ihower">Wen-Tien Chang</a>.</div>
</div>
<p>如果真是高中生跟大學生為主的話，還真想把內容弄宅一點的 :p 不過主辦單位告訴我還是社會人士為主之後，就還是實用一點吧。</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/hQPeJSqV9Ps" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3201/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3201</feedburner:origLink></item>
		<item>
		<title>關於找工作這件事情</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/aKnCsQPrfZU/3191</link>
		<comments>http://ihower.idv.tw/blog/archives/3191#comments</comments>
		<pubDate>Sun, 08 Nov 2009 10:28:51 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3191</guid>
		<description><![CDATA[謝謝大家的關心與指教，十分感謝。但幾經考慮之後，決定暫時移除 &#8220;我要找工作&#8221; 這篇公告。主要是眼下還有許多的工作正在進行，我也不急著下個月就找到工作，我想我還是放輕鬆一點 (well, 女朋友在抗議了 :/ )，給自己更多時間沈澱想法，先把手頭上的工作做好再說。
會有離開和多的想法，大概也是這幾個月的事情。我很幸運的，在我職涯初期，能夠與兩位厲害的 geeks 一同創業做一個小股東，學到非常多東西：如何 co-work 團隊開發、接觸 open source 及 geek 文化、實踐 Agile 專案開發等。也因為這樣的背景薰陶，我才能夠在這一兩年在 Ruby/Rails 上有不錯的心得跟經驗，並啟發了我有了一些新想法跟自己想要追求的事情，想要去經歷不同的環境，接觸更多不同的/潛在的 Rails 開發者。
再次謝謝大家的關心跟指教 :)
]]></description>
			<content:encoded><![CDATA[<p>謝謝大家的關心與指教，十分感謝。但幾經考慮之後，決定暫時移除 &#8220;我要找工作&#8221; 這篇公告。主要是眼下還有許多的工作正在進行，我也不急著下個月就找到工作，我想我還是放輕鬆一點 (well, 女朋友在抗議了 :/ )，給自己更多時間沈澱想法，先把手頭上的工作做好再說。</p>
<p>會有離開和多的想法，大概也是這幾個月的事情。我很幸運的，在我職涯初期，能夠與兩位厲害的 geeks 一同創業做一個小股東，學到非常多東西：如何 co-work 團隊開發、接觸 open source 及 geek 文化、實踐 Agile 專案開發等。也因為這樣的背景薰陶，我才能夠在這一兩年在 Ruby/Rails 上有不錯的心得跟經驗，並啟發了我有了一些新想法跟自己想要追求的事情，想要去經歷不同的環境，接觸更多不同的/潛在的 Rails 開發者。</p>
<p>再次謝謝大家的關心跟指教 :)</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/aKnCsQPrfZU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3191/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3191</feedburner:origLink></item>
		<item>
		<title>程式設計體驗營 – Ruby 入門課程</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/19eP_HjBxd8/3108</link>
		<comments>http://ihower.idv.tw/blog/archives/3108#comments</comments>
		<pubDate>Mon, 02 Nov 2009 14:36:43 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3108</guid>
		<description><![CDATA[再次應 OSSF 的邀請，11/12 會在中研院開一堂非常入門的程式設計三小時體驗營 Ruby 入門 課程，對象是高中、大一、大二的同學。
這麼入門的課程還是第一次教，主辦單位特別要求要教有趣一點的東西跟應用。除了基本的語法，本來想玩 shoes GUI，但是 shoes 網頁不能連了 :( 目前的想法是玩 Sinatra，或是用 nokogiri parsing HTML，或是來解 ACM 題目???
幫幫忙，有沒有什麼建議? 總不能教 Rails 吧&#8230; XD
]]></description>
			<content:encoded><![CDATA[<p>再次應 OSSF 的邀請，11/12 會在中研院開一堂非常入門的程式設計三小時體驗營 <a href="http://whoswho.openfoundry.org/workshop/details/53--ruby-.html">Ruby 入門</a> 課程，對象是高中、大一、大二的同學。</p>
<p>這麼入門的課程還是第一次教，主辦單位特別要求要教有趣一點的東西跟應用。除了基本的語法，本來想玩 shoes GUI，但是 shoes 網頁不能連了 :( 目前的想法是玩 <a href="http://www.sinatrarb.com/">Sinatra</a>，或是用 <a href="http://nokogiri.org/">nokogiri</a> parsing HTML，或是來解 <a href="http://dhcp.tcgs.tc.edu.tw/c/p013.htm">ACM 題目</a>???</p>
<p>幫幫忙，有沒有什麼建議? 總不能教 Rails 吧&#8230; XD</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/19eP_HjBxd8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3108/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3108</feedburner:origLink></item>
		<item>
		<title>Rails Best Practices 投影片</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/t8zL3iqXx6I/3075</link>
		<comments>http://ihower.idv.tw/blog/archives/3075#comments</comments>
		<pubDate>Sat, 24 Oct 2009 15:52:29 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3075</guid>
		<description><![CDATA[Update(2009/11/10): 被 Rails Envy Podcast – Episode #099 介紹了 (在 Podcast 7:45~8:50 之間)
Update(2009/11/4): 上了 Hacker News 當日第 #11 名新聞
Update(2009/11/4): 貼到 RubyFlow
這是今天在上海 KungFu Rails 演講的投影片，基本上跟週二在 Ruby Tuesday 講的差不多，新增了 Nested Model Forms、多選 checbox、簡化一些例子還有加強 RESTful 介紹。
Rails Best Practices
View more documents from Wen-Tien Chang.

因為準備的內容不少，所以一開始打的算盤就是盡量衝沒關係。週二的速度大概剛好 45min，這次又多了幾頁，沒想到竟然只花了 41min，好像又太趕了些，也許應該停下來閒聊一下 :p 不過光是兩岸名詞差異轉換就讓大夥噗哧了幾下。
會後得到了不少好評價，相信應該是有讓大家有些收穫。其中最爽的就是被 Rails3 Architect Yehuda 主動伸手跟我要這份投影片了，能被他稱讚真是高興啊 :D
]]></description>
			<content:encoded><![CDATA[<p>Update(2009/11/10): 被 <a href="http://railsenvy.com/2009/11/09/episode-099">Rails Envy Podcast – Episode #099</a> 介紹了 (在 Podcast 7:45~8:50 之間)<br />
Update(2009/11/4): 上了 <a href="http://news.ycombinator.com/item?id=918153">Hacker News</a> 當日第 #11 名新聞<br />
Update(2009/11/4): 貼到 <a href="http://rubyflow.com/items/2958">RubyFlow</a></p>
<p>這是今天在上海 <a href="http://kungfurails.com">KungFu Rails</a> 演講的投影片，基本上跟週二在 <a href="http://ihower.idv.tw/blog/archives/3068">Ruby Tuesday</a> 講的差不多，新增了 Nested Model Forms、多選 checbox、簡化一些例子還有加強 RESTful 介紹。</p>
<div style="width:425px;text-align:left" id="__ss_2334123"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/ihower/rails-best-practices" title="Rails Best Practices">Rails Best Practices</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails-best-practices-091024015011-phpapp01&#038;stripped_title=rails-best-practices" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails-best-practices-091024015011-phpapp01&#038;stripped_title=rails-best-practices" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ihower">Wen-Tien Chang</a>.</div>
</div>
<p>因為準備的內容不少，所以一開始打的算盤就是盡量衝沒關係。週二的速度大概剛好 45min，這次又多了幾頁，沒想到竟然只花了 41min，好像又太趕了些，也許應該停下來閒聊一下 :p 不過光是兩岸名詞差異轉換就讓大夥噗哧了幾下。</p>
<p>會後得到了不少好評價，相信應該是有讓大家有些收穫。其中最爽的就是被 Rails3 Architect <a href="http://yehudakatz.com/">Yehuda</a> 主動伸手跟我要這份投影片了，能被他稱讚真是高興啊 :D</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/t8zL3iqXx6I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3075/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3075</feedburner:origLink></item>
		<item>
		<title>我是專家 「I’m expert」@Yahoo! Open Hack Day</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/wtDrGhVHhGo/3076</link>
		<comments>http://ihower.idv.tw/blog/archives/3076#comments</comments>
		<pubDate>Mon, 19 Oct 2009 08:21:52 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3076</guid>
		<description><![CDATA[上週末去參加 Y! Open Hack Day 做的網站：「我是專家」，網站的詳細介紹隊長 xdite 已經很快地寫好了網站介紹，相較於去年參加用熬夜不睡覺的必勝壓力，這次用了比較輕鬆跟歡樂的心情來參加比賽，雖然沒得獎，但至少跟隊友們玩的蠻開心的，有些梗真是機車啊。

]]></description>
			<content:encoded><![CDATA[<p>上週末去參加 <a href="http://openhacktaiwan.pbworks.com/">Y! Open Hack Day</a> 做的網站：「<a href="http://imexpert.tw/">我是專家</a>」，網站的詳細介紹隊長 xdite 已經很快地寫好了<a href="http://blog.xdite.net/?p=1472">網站介紹</a>，相較於去年參加用熬夜不睡覺的必勝壓力，這次用了比較輕鬆跟歡樂的心情來參加比賽，雖然沒得獎，但至少跟隊友們玩的蠻開心的，有些梗真是機車啊。</p>
<p><img src="http://farm3.static.flickr.com/2591/4024366287_6ef18e3b3a.jpg" width="400" /></p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/wtDrGhVHhGo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3076/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3076</feedburner:origLink></item>
		<item>
		<title>Ruby Tuesday 十月場</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/BQuY9dYB79c/3068</link>
		<comments>http://ihower.idv.tw/blog/archives/3068#comments</comments>
		<pubDate>Wed, 07 Oct 2009 09:02:29 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3068</guid>
		<description><![CDATA[距離上次舉辦好像隔比較久，讓大家久等了：
時間: 2009/10/20（週二）晚上七點到九點。
地點: 台北市 果子咖啡
報名請前往活動網頁，這次的講題是：

Cardinal Blue Software: Rails on facebook
ihower: Rails best practices and refactoring
xdite: SEO tricks for Rails

Cardinal Blue Software 是一家專做 Facebook app 的軟體公司，這次很特別邀請來分享他們在 Facebook 上的經驗。xdite 則會分享她最近在做 Search Engine Optimization (SEO) 的不可外傳秘技。至於我自己則分享一些 Rails 的最佳實務跟重構技巧，眼尖的各位應該發現跟幾天之後我在 Kungfurails 演講是同個題目 :p
]]></description>
			<content:encoded><![CDATA[<p>距離上次舉辦好像隔比較久，讓大家久等了：</p>
<p>時間: 2009/10/20（週二）晚上七點到九點。<br />
地點: 台北市 果子咖啡</p>
<p>報名請前往<a href="http://registrano.com/events/ruby-tuesday-200910">活動網頁</a>，這次的講題是：</p>
<ul>
<li><a href="http://cardinalblue.com/">Cardinal Blue Software</a>: Rails on facebook</li>
<li><a href="http://ihower.idv.tw/blog/">ihower</a>: Rails best practices and refactoring</li>
<li><a href="http://blog.xdite.net/">xdite</a>: SEO tricks for Rails
</ul>
<p>Cardinal Blue Software 是一家專做 Facebook app 的軟體公司，這次很特別邀請來分享他們在 Facebook 上的經驗。xdite 則會分享她最近在做 Search Engine Optimization (SEO) 的不可外傳秘技。至於我自己則分享一些 Rails 的最佳實務跟重構技巧，眼尖的各位應該發現跟幾天之後我在 Kungfurails 演講是同個題目 :p</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/BQuY9dYB79c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3068/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3068</feedburner:origLink></item>
		<item>
		<title>演講: Rails Best Practice @ Kungfurails</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/H6bbJNmkOvo/3051</link>
		<comments>http://ihower.idv.tw/blog/archives/3051#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:42:35 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3051</guid>
		<description><![CDATA[Update(2009/10/25): 釋出投影片。

這次受邀到  Kungfurails &#8211; 中国rails开发者大会 演講，地點在上海，時間是 2009/10/24，這也是我第一次去大陸 :)
我的講題是 Rails Best Practice: Write Better Code
摘要:
隨著程式碼越趨龐大複雜，如果沒有好的程式規範，很容易隨著時光流逝而成為一團無法維護的程式碼。因此，我們需要一些好的原則、設計模式和最佳實務，來保持容易閱讀、高一致性、容易維護的好程式。本議程除了示範一些好的設計模式、也將瞄準一些常見的糟糕程式碼(AntiPatterns)加以重構。
]]></description>
			<content:encoded><![CDATA[<p>Update(2009/10/25): 釋出<a href="http://ihower.idv.tw/blog/archives/3075">投影片</a>。</p>
<p><a href="http://kungfurails.com/"><img src="http://ihower.idv.tw/blog/wp-content/uploads/2009/10/KungFu_Rails_Logo.gif" alt="KungFu_Rails_Logo" title="KungFu_Rails_Logo" width="257"  class="alignnone size-full wp-image-3063" /></a></p>
<p>這次受邀到 <a href="http://kungfurails.com/"> Kungfurails &#8211; 中国rails开发者大会</a> 演講，地點在上海，時間是 2009/10/24，這也是我第一次去大陸 :)</p>
<p>我的講題是 <strong>Rails Best Practice: Write Better Code</strong></p>
<p>摘要:</p>
<p>隨著程式碼越趨龐大複雜，如果沒有好的程式規範，很容易隨著時光流逝而成為一團無法維護的程式碼。因此，我們需要一些好的原則、設計模式和最佳實務，來保持容易閱讀、高一致性、容易維護的好程式。本議程除了示範一些好的設計模式、也將瞄準一些常見的糟糕程式碼(AntiPatterns)加以重構。</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/H6bbJNmkOvo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3051/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3051</feedburner:origLink></item>
		<item>
		<title>Ruby 程式語言與 Ruby on Rails 入門課程投影片 at KaLUG</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/RMKvwWC5G90/3040</link>
		<comments>http://ihower.idv.tw/blog/archives/3040#comments</comments>
		<pubDate>Mon, 21 Sep 2009 06:42:57 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3040</guid>
		<description><![CDATA[這次一次進行六小時的課程，包含上機練習。感謝 KaLUG 和 OSSF 的招待 :)
Ruby 程式語言入門導覽
View more documents from Wen-Tien Chang.

Ruby on Rails : 簡介與入門
View more documents from Wen-Tien Chang.

Ruby on Rails : RESTful&#38;Ajax
View more documents from Wen-Tien Chang.

最後五分鐘的 Rails 生態圈一覽 出自我四月在 OSDC 的演講。
關於課程，還是沒來得及(準備)深入 ActiveRecord，像是 Associations、Validation、Callback 等，看來需要更多時間才能包海包海的講完 Ruby on Rails :p 另外每次都會有人問 Deployment 的部份，以後有機會也可以加進來。
]]></description>
			<content:encoded><![CDATA[<p><a href="http://ihower.idv.tw/blog/archives/2990">這次</a>一次進行六小時的課程，包含<a href="http://ihower.idv.tw/course/rails.html">上機練習</a>。感謝 <a href="http://kalug.linux.org.tw/">KaLUG</a> 和 <a href="http://www.openfoundry.org">OSSF</a> 的招待 :)</p>
<div style="width:425px;text-align:left" id="__ss_2028958"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/ihower/ruby-2028958" title="Ruby 程式語言入門導覽">Ruby 程式語言入門導覽</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=ruby-tutoral-0920-090921013453-phpapp01&#038;stripped_title=ruby-2028958" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=ruby-tutoral-0920-090921013453-phpapp01&#038;stripped_title=ruby-2028958" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ihower">Wen-Tien Chang</a>.</div>
</div>
<div style="width:425px;text-align:left" id="__ss_2028956"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/ihower/ruby-on-rails-2028956" title="Ruby on Rails : 簡介與入門">Ruby on Rails : 簡介與入門</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails-introduction-0920-090921013456-phpapp01&#038;stripped_title=ruby-on-rails-2028956" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails-introduction-0920-090921013456-phpapp01&#038;stripped_title=ruby-on-rails-2028956" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ihower">Wen-Tien Chang</a>.</div>
</div>
<div style="width:425px;text-align:left" id="__ss_2028957"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/ihower/ruby-on-rails-restfulajax" title="Ruby on Rails : RESTful&amp;Ajax">Ruby on Rails : RESTful&amp;Ajax</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails-restful-0920-090921013507-phpapp01&#038;stripped_title=ruby-on-rails-restfulajax" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails-restful-0920-090921013507-phpapp01&#038;stripped_title=ruby-on-rails-restfulajax" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ihower">Wen-Tien Chang</a>.</div>
</div>
<p>最後五分鐘的 <a href="http://ihower.idv.tw/blog/archives/2714">Rails 生態圈一覽</a> 出自我四月在 OSDC 的演講。</p>
<p>關於課程，還是沒來得及(準備)深入 ActiveRecord，像是 Associations、Validation、Callback 等，看來需要更多時間才能包海包海的講完 Ruby on Rails :p 另外每次都會有人問 Deployment 的部份，以後有機會也可以加進來。</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/RMKvwWC5G90" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3040/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3040</feedburner:origLink></item>
		<item>
		<title>快速安裝 Rails 開發環境 Ubuntu 9.04</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/_o6Xfuelrx8/3002</link>
		<comments>http://ihower.idv.tw/blog/archives/3002#comments</comments>
		<pubDate>Fri, 04 Sep 2009 20:21:17 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=3002</guid>
		<description><![CDATA[最近有機會做一些 Ruby on Rails 的上機教學，根據之前上課的經驗，能夠讓學員快點開始寫 code 練習是最重要的事情，花時間在安裝軟體、排除不同安裝環境出現的問題之類的最浪費教學時間了。如果有人自備 NB，但是怎麼裝都裝不起來，而我又不能只顧解決他的環境問題&#8230;&#8230;..orz 另外如果每個人上課(和回家之後)的練習環境都一樣，這樣照著教學練習就不易出錯，我想新手最怕的就是照著教學打結果 error 卡關，學習的滿腔熱血就這樣被澆熄 :p
因為 Windows 環境實在有點討厭，總是有人裝不起來(?)，加上跑起 Ruby 效能又不太好，所以這次一不作二不休，乾脆改用 VM 環境，使用免費的 VirtualBox (註) 來模擬 Ubuntu 9.04 Desktop edition 作業系統，並使用內建就有的文字編輯器 gedit 來練習 (NetBeans 是另一個選擇)。BTW，熟悉 Ubuntu 環境對將來佈署 production server 也蠻有幫助的。
為了製作安裝快速、統一又乾淨的 Ruby on Rails 開發練習環境，所以花了點時間寫了安裝指令檔，只要在 Ubuntu 下執行這隻程式，然後大概五分鐘就可以開始寫 Rails 程式了。(當然是不包括把 VirtualBox 裝好，然後把 Ubuntu 安裝進去的時間&#8230;. zzz)。實際上課的話，可以用內網分享製作好的 Appliance 映像檔(~1G)，直到倒進 VirtualBox 裡，馬上就有熱騰騰的 Ubuntu 桌機版可以練習 Rails [...]]]></description>
			<content:encoded><![CDATA[<p>最近有機會做一些 Ruby on Rails 的上機教學，根據之前上課的經驗，能夠讓學員快點開始寫 code 練習是最重要的事情，花時間在安裝軟體、排除不同安裝環境出現的問題之類的最浪費教學時間了。如果有人自備 NB，但是怎麼裝都裝不起來，而我又不能只顧解決他的環境問題&#8230;&#8230;..orz 另外如果每個人上課(和回家之後)的練習環境都一樣，這樣照著教學練習就不易出錯，我想新手最怕的就是照著教學打結果 error 卡關，學習的滿腔熱血就這樣被澆熄 :p</p>
<p>因為 Windows 環境實在有點討厭，總是有人裝不起來(?)，加上跑起 Ruby 效能又不太好，所以這次一不作二不休，乾脆改用 VM 環境，使用免費的 <a href="http://www.virtualbox.org">VirtualBox</a> (註) 來模擬 <a href="http://www.ubuntu.com">Ubuntu</a> 9.04 Desktop edition 作業系統，並使用內建就有的文字編輯器 <a href="http://projects.gnome.org/gedit/">gedit</a> 來練習 (<a href="http://www.netbeans.org/features/ruby/index.html">NetBeans</a> 是另一個選擇)。BTW，熟悉 Ubuntu 環境對將來佈署 production server 也蠻有幫助的。</p>
<p>為了製作安裝快速、統一又乾淨的 Ruby on Rails 開發練習環境，所以花了點時間寫了<a href="http://gist.github.com/180820">安裝指令檔</a>，只要在 Ubuntu 下執行這隻程式，然後大概五分鐘就可以開始寫 Rails 程式了。(當然是不包括把 VirtualBox 裝好，然後把 Ubuntu 安裝進去的時間&#8230;. zzz)。實際上課的話，可以用內網分享製作好的 Appliance 映像檔(~1G)，直到倒進 VirtualBox 裡，馬上就有熱騰騰的 Ubuntu 桌機版可以練習 Rails 啦。</p>
<p>註一: 裝好進入 ubuntu 後，記得安裝<a href="http://ok2.tw/blog/142">客端額外功能</a>才能調整螢幕解析度大小及進入全螢幕模式。</p>
<p>註二: 除了 VirtualBox，<a href="http://wubi-installer.org/">wubi</a> 也是不錯的方式讓 Windows 與 Ubuntu 共存。</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/_o6Xfuelrx8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/3002/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/3002</feedburner:origLink></item>
		<item>
		<title>KaLUG 社群技術分享工作坊 – Ruby 程式語言與 Ruby on Rails 入門</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/9tRHdbhs_eg/2990</link>
		<comments>http://ihower.idv.tw/blog/archives/2990#comments</comments>
		<pubDate>Thu, 03 Sep 2009 14:08:10 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=2990</guid>
		<description><![CDATA[這次受 KaLUG 的邀請到高雄開課，內容是 Ruby 程式語言與 Ruby on Rails 入門，對象是從未接觸過 Ruby on Rails，但是有些網站程式設計背景的朋友。課程及報名網頁在 OSSF 工作坊。

活動時間: 2009-09-20 早上 9:30  ~  下午 17:00
活動地點: 高雄市左營區裕誠路1055號(三民家商正門口對面)

相較於上次工作坊三小時的課程，這次的時間又更充裕了，將從基本的 Ruby 程式語言、Rails MVC 介紹起，除了可以涵蓋上次的 RESTful Rails，也可以有時間講解 ActiveRecord 操作資料庫的部份。
]]></description>
			<content:encoded><![CDATA[<p>這次受 <a href="http://kalug.linux.org.tw/">KaLUG</a> 的邀請到高雄開課，內容是 Ruby 程式語言與 Ruby on Rails 入門，對象是從未接觸過 Ruby on Rails，但是有些網站程式設計背景的朋友。課程及報名網頁在 <a href="http://whoswho.openfoundry.org/workshop/details/48.html">OSSF 工作坊</a>。</p>
<ul>
<li>活動時間: 2009-09-20 早上 9:30  ~  下午 17:00</li>
<li>活動地點: 高雄市左營區裕誠路1055號(三民家商正門口對面)</li>
</ul>
<p>相較於<a href="http://ihower.idv.tw/blog/archives/2169">上次工作坊</a>三小時的課程，這次的時間又更充裕了，將從基本的 Ruby 程式語言、Rails MVC 介紹起，除了可以涵蓋上次的 <a href="http://ihower.idv.tw/course/rails.html">RESTful Rails</a>，也可以有時間講解 ActiveRecord 操作資料庫的部份。</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/9tRHdbhs_eg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/2990/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/2990</feedburner:origLink></item>
		<item>
		<title>Cucumber: 小黃瓜驗收測試工具@COSCUP 2009</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/gs3AAN8aP-g/2979</link>
		<comments>http://ihower.idv.tw/blog/archives/2979#comments</comments>
		<pubDate>Sat, 15 Aug 2009 13:29:40 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=2979</guid>
		<description><![CDATA[今天報名 COSCUP 2009 Lightning Talk 講的 cucumber 投影片：
Cucumber: 小黃瓜驗收測試工具
View more documents from Wen-Tien Chang.

不過效果似乎不太好，我沒這麼 high 好像不太適合講 Lightning talk &#8230;. XD，加上重點的 live demo 跌股了，應該很多人看不懂我在幹麼，果然是 never live demo 啊！watir 開出來的 safari 視窗畫面沒出現在投影機上，只出現在我的 MBP 上，然後跑完自動測試就自動關掉了，結果大家都看不到 :/ 時間有限一時也來不及把螢幕設定改成 Mirror，就這樣提早下台了&#8230; orz
]]></description>
			<content:encoded><![CDATA[<p>今天報名 <a href="http://coscup.org/2009">COSCUP 2009</a> Lightning Talk 講的 <a href="http://cukes.info/">cucumber</a> 投影片：</p>
<div style="width:425px;text-align:left" id="__ss_1866131"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/ihower/cucumber-1866131" title="Cucumber: 小黃瓜驗收測試工具">Cucumber: 小黃瓜驗收測試工具</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=cucumber-coscup2009-090815082146-phpapp02&#038;stripped_title=cucumber-1866131" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=cucumber-coscup2009-090815082146-phpapp02&#038;stripped_title=cucumber-1866131" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ihower">Wen-Tien Chang</a>.</div>
</div>
<p>不過效果似乎不太好，我沒這麼 high 好像不太適合講 Lightning talk &#8230;. XD，加上重點的 live demo 跌股了，應該很多人看不懂我在幹麼，果然是 never live demo 啊！watir 開出來的 safari 視窗畫面沒出現在投影機上，只出現在我的 MBP 上，然後跑完自動測試就自動關掉了，結果大家都看不到 :/ 時間有限一時也來不及把螢幕設定改成 Mirror，就這樣提早下台了&#8230; orz</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/gs3AAN8aP-g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/2979/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/2979</feedburner:origLink></item>
		<item>
		<title>Ruby HTTP clients</title>
		<link>http://feedproxy.google.com/~r/ihower/~3/MTlAEIHezs8/2941</link>
		<comments>http://ihower.idv.tw/blog/archives/2941#comments</comments>
		<pubDate>Tue, 11 Aug 2009 17:19:39 +0000</pubDate>
		<dc:creator>ihower</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ihower.idv.tw/blog/?p=2941</guid>
		<description><![CDATA[Update(2009/8/12): 加上 open-uri
透過 HTTP 抓取資料是一個常見的任務，即使只是最基本 GET 網頁，在 Ruby 社群之中也有蠻多選擇的，目前市面上我看到的方案有：

Standard Library 裡面的 net/http
Standard Library 裡面的 open-uri
rest-client
httparty
typhoeus
patron
curb
httpclient

open-uri 是 net/http, net/https 跟 net/ftp 的簡易 wrapper，可以 GET 網頁當作 IO 物件處理。
rest-client 跟 httparty 也都是基於 net/http 的實做，最大的特點在於 API 的改良及簡化，像 httparty 就做成 module 的形式，讓你可以用 include HTTParty 撰寫你自己的 library。如果只是單純的 REST 操作，使用 rest-client 也是不錯的選擇。
typhoeus, patron, curb 則是基於 libcurl 的實做，與 net/http 相比則大大地增加了程式效能。根據 Matt Aimonetti 的補充 [...]]]></description>
			<content:encoded><![CDATA[<p>Update(2009/8/12): 加上 open-uri</p>
<p>透過 HTTP 抓取資料是一個常見的任務，即使只是最基本 GET 網頁，在 Ruby 社群之中也有蠻多選擇的，目前市面上我看到的方案有：</p>
<ul>
<li>Standard Library 裡面的 <a href="http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html">net/http</a></li>
<li>Standard Library 裡面的 <a href="http://www.ruby-doc.org/stdlib/libdoc/open-uri/rdoc/classes/OpenURI.html">open-uri</a></li>
<li><a href="http://github.com/adamwiggins/rest-client/tree/master">rest-client</a></li>
<li><a href="http://github.com/jnunemaker/httparty/tree/master">httparty</a></li>
<li><a href="http://github.com/pauldix/typhoeus/tree/master">typhoeus</a></li>
<li><a href="http://github.com/toland/patron/tree/master">patron</a></li>
<li><a href="http://github.com/taf2/curb/tree/master">curb</a></li>
<li><a href="http://raa.ruby-lang.org/project/httpclient/">httpclient</a></li>
</ul>
<p>open-uri 是 net/http, net/https 跟 net/ftp 的簡易 wrapper，可以 GET 網頁當作 IO 物件處理。</p>
<p>rest-client 跟 httparty 也都是基於 net/http 的實做，最大的特點在於 API 的改良及簡化，像 httparty 就做成 module 的形式，讓你可以用 include HTTParty 撰寫你自己的 library。如果只是單純的 REST 操作，使用 rest-client 也是不錯的選擇。</p>
<p>typhoeus, patron, curb 則是基於 <a href="http://curl.haxx.se/">libcurl</a> 的實做，與 net/http 相比則大大地增加了程式效能。根據 <a href="http://www.rubyinside.com/patron-a-simpler-ruby-http-client-2067.html#11">Matt Aimonetti</a> 的補充 (BTW，他是要說得是，重新發明輪子沒什麼不對，因為實做細節人人不同啊。)，typhoeus 的強項是有 callback 機制及 non-blocking-multi query，而 patron 在於可以方便地 reuse HTTP session/connection。而 curb 最簡單只單純想做 libcurl 的 Ruby bindings。</p>
<p>httpclient 很奇怪我竟然找不到什麼的英文資源介紹，但好像也不奇怪因為作者是日本人 :p (另一個教訓是 Project 名字要取特別一點，越奇怪越好搜尋到 XD) 怎麼說呢? 去過一趟 RubyKaigi 之後發現日本的 Ruby 社群還蠻不為外(國)人知的，因為人口多加上又是 Ruby 原產国，所以是有不少的国產厲害 Ruby projects 跟 Ruby 書，而形成一個除了有 open source users 也有 open source developers 的健康社群，但是因為語言隔閡的關係，這些資訊產出絕少輸出到國外去，不像歐美的資源因為英文是共通語言的關係，全世界都能很容易的接觸到。英翻日的 Ruby/Rails 書也非常多，Pragmatic 跟 O&#8217;Reilly 的書我幾乎都有看到有日文版 (真好 :~)。</p>
<p>回到 httpclient，我是在 <a href="http://www.amazon.co.jp/Ruby-逆引きレシピ-すぐに美味しいサンプル-テクニック-232/dp/4798119881/ref=sr_1_48?ie=UTF8&#038;s=books&#038;qid=1247840195&#038;sr=8-48">Ruby 逆引きレシピ</a> 這本書中看到的 (well, 我看不懂日文, 只是瞎看 ruby code 而已)，安裝方式意外簡單也是用 gem install httpclient 即可，強項看起來有 Cookies support 和 streaming POST (POST with File/IO) 檔案上傳。</p>
<img src="http://feeds.feedburner.com/~r/ihower/~4/MTlAEIHezs8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ihower.idv.tw/blog/archives/2941/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://ihower.idv.tw/blog/archives/2941</feedburner:origLink></item>
	</channel>
</rss>
