<?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>Sooey &#187; iolanguage</title>
	<atom:link href="http://old-journal.sooey.com/tag/iolanguage/feed/" rel="self" type="application/rss+xml" />
	<link>http://old-journal.sooey.com</link>
	<description></description>
	<lastBuildDate>Fri, 04 Dec 2009 08:44:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ion &#8211; Io MVC (Django style) web-framework</title>
		<link>http://old-journal.sooey.com/2008/07/28/764/</link>
		<comments>http://old-journal.sooey.com/2008/07/28/764/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 18:24:07 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iolanguage]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/?p=764</guid>
		<description><![CDATA[まだ7月20日にコミットが始ったばかりですが、Ion — AisysInsideというIoLanguage用のWebフレームワークを発見。開発者はロシアの方なので、Ionのサイトのヘッダやフッタがさっぱり読めない。

この方はIoのリポジトリもforkして積極的にいじっているので、継続的にウォッチしていくことにする。
]]></description>
			<content:encoded><![CDATA[<p>まだ7月20日にコミットが始ったばかりですが、<a href="http://in.aisys.ru/Ion">Ion — AisysInside</a>という<a href="http://www.iolanguage.com/">IoLanguage</a>用のWebフレームワークを発見。開発者はロシアの方なので、Ionのサイトのヘッダやフッタがさっぱり読めない。</p>

<p>この方はIoのリポジトリも<a href="http://github.com/temiy/io/tree">fork</a>して積極的にいじっているので、継続的にウォッチしていくことにする。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2008/07/28/764/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IoをCGIで使う</title>
		<link>http://old-journal.sooey.com/2007/09/12/658/</link>
		<comments>http://old-journal.sooey.com/2007/09/12/658/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 18:26:53 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iolanguage]]></category>
		<category><![CDATA[lighttpd]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2007/09/12/658/</guid>
		<description><![CDATA[IoLanguage CGI (originally uploaded by juno_)

なんとなくウェブサーバ上でIo (IoLanguage)のスクリプトが動かしたくなって、mod_ioを入れようとしたらサイトが落ちているようでダウンロードできず。しかたないので、lighttpdでCGIとして動かしました。

lighttpd側の準備は、server.modulesにmod_cgiを加えて、

server.modules = (
               ...,
               "mod_cgi"
               )

拡張子が.ioのファイルにIoのインタプリタをアサインすれば完了。

cgi.assign = [...]
]]></description>
			<content:encoded><![CDATA[<div class="flickr">
<a class="flickr-image" href="http://www.flickr.com/photos/sooey/1360980113/" title="View this photo at Flickr"><img src="http://farm2.static.flickr.com/1392/1360980113_c9004af235.jpg" width="500" height="402" alt="IoLanguage CGI" /></a><br />
<span class="small"><b>IoLanguage CGI</b> (originally uploaded by <a href="http://www.flickr.com/people/juno_/" title="View profile at Flickr">juno_</a>)</span>
</div>

<p>なんとなくウェブサーバ上で<a href="http://www.iolanguage.com/">Io (IoLanguage)</a>のスクリプトが動かしたくなって、<code>mod_io</code>を入れようとしたらサイトが落ちているようでダウンロードできず。しかたないので、lighttpdでCGIとして動かしました。</p>

<p>lighttpd側の準備は、<code>server.modules</code>に<code>mod_cgi</code>を加えて、</p>

<pre><code>server.modules = (
               ...,
               "mod_cgi"
               )
</code></pre>

<p>拡張子が<code>.io</code>のファイルにIoのインタプリタをアサインすれば完了。</p>

<pre><code>cgi.assign = ( ".io" =&gt; "/usr/local/bin/io" )
</code></pre>

<p>あとは、以下のようなスクリプトを用意してブラウザからアクセスすれば、古き良きCGIとして動いてくれます。</p>

<p><pre class="io"><span class="co2">#!/usr/local/bin/io</span>
&nbsp;
<span class="st0">&quot;Content-Type: text/html<span class="es0">\n</span><span class="es0">\n</span>&quot;</span> <span class="kw2">print</span>
&nbsp;
page := <span class="kw3">Object</span> <span class="kw2">clone</span> <span class="kw2">do</span><span class="br0">&#40;</span>
  html := <span class="st0">&quot;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;{title}&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;{title}&lt;/h1&gt;
    &lt;ul&gt;
    &lt;/ul&gt;
    &lt;p&gt;
      Generated at {now}&lt;br/&gt;
      Powered by {version}&lt;br/&gt;
    &lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;&quot;</span>
&nbsp;
  values := <span class="kw3">Map</span> <span class="kw2">clone</span>
  bind := <span class="kw2">method</span><span class="br0">&#40;</span>key, value,
    <span class="kw2">self</span> values atPut<span class="br0">&#40;</span>key, value<span class="br0">&#41;</span>
  <span class="br0">&#41;</span>
&nbsp;
  render := <span class="kw2">method</span><span class="br0">&#40;</span>
    buf := <span class="kw2">self</span> html asBuffer
    <span class="kw2">self</span> values <span class="kw1">foreach</span><span class="br0">&#40;</span>key, value,
      buf replaceSeq<span class="br0">&#40;</span><span class="st0">&quot;{&quot;</span> .. key .. <span class="st0">&quot;}&quot;</span>, value<span class="br0">&#41;</span>
    <span class="br0">&#41;</span>
    buf <span class="kw2">print</span>
  <span class="br0">&#41;</span>
<span class="br0">&#41;</span>
&nbsp;
page bind<span class="br0">&#40;</span><span class="st0">&quot;title&quot;</span>, <span class="st0">&quot;Hello, IoLanguage&quot;</span><span class="br0">&#41;</span>
page bind<span class="br0">&#40;</span><span class="st0">&quot;now&quot;</span>, <span class="kw3">Date</span> now <span class="kw2">asString</span><span class="br0">&#41;</span>
page bind<span class="br0">&#40;</span><span class="st0">&quot;version&quot;</span>, <span class="kw2">System</span> version <span class="kw2">asString</span><span class="br0">&#41;</span>
page render
&nbsp;
<span class="kw1">exit</span></pre></p>

<p>さすがに「HTMLと変数をセットで<code>print</code>」ってのは避けたかったので、テンプレートエンジンもどきみたいな構造になってますが、Ioは手探りで書いている現状なのでこれでいいのかどうなのか…。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2007/09/12/658/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IoWiki</title>
		<link>http://old-journal.sooey.com/2004/11/01/378/</link>
		<comments>http://old-journal.sooey.com/2004/11/01/378/#comments</comments>
		<pubDate>Mon, 01 Nov 2004 05:53:11 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iolanguage]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2004/11/01/378/</guid>
		<description><![CDATA[プロトタイプベースのスクリプト言語Ioで記述されたWiki、IoWikiが公開されました。
]]></description>
			<content:encoded><![CDATA[<p>プロトタイプベースのスクリプト言語<a href="http://www.iolanguage.com/">Io</a>で記述されたWiki、<a href="http://luddite.cst.usyd.edu.au/IoWiki/">IoWiki</a>が公開されました。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2004/11/01/378/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IoVM for Sharp Zaurus</title>
		<link>http://old-journal.sooey.com/2004/03/10/275/</link>
		<comments>http://old-journal.sooey.com/2004/03/10/275/#comments</comments>
		<pubDate>Wed, 10 Mar 2004 12:09:34 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gadget]]></category>
		<category><![CDATA[iolanguage]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2004/03/10/275/</guid>
		<description><![CDATA[&#12503;&#12525;&#12488;&#12479;&#12452;&#12503;&#12505;&#12540;&#12473;&#35328;&#35486; Io&#12398;Virtual Machine&#12398;Linux Zaurus&#29992;&#12496;&#12452;&#12490;&#12522;&#12290;Io&#12399;&#12467;&#12531;&#12497;&#12463;&#12488;&#12391;&#27231;&#33021;&#12364;&#32080;&#27083;&#20805;&#23455;&#12375;&#12390;&#12356;&#12427;&#12398;&#12391;&#12289;&#23569;&#12375;&#12378;&#12388;&#20351;&#12356;&#22987;&#12417;&#12390;&#12356;&#12414;&#12377;&#12290;&#38283;&#30330;&#32773;&#12398;Steve Dekorte&#27663;&#12364;Mac OS X&#12518;&#12540;&#12470;&#12540;&#12398;&#12424;&#12358;&#12391;&#12289;OS X&#19978;&#12391;&#27604;&#36611;&#30340;&#23433;&#24515;&#12375;&#12390;&#20351;&#12360;&#12427;&#12392;&#12356;&#12358;&#28857;&#12364;&#12509;&#12452;&#12531;&#12488;&#39640;&#12356;&#12391;&#12377;&#12397;&#12290;

mod_io&#12394;&#12393;&#12392;&#12356;&#12358;&#38754;&#30333;&#12381;&#12358;&#12394;&#12418;&#12398;&#12418;&#26082;&#12395;&#12354;&#12387;&#12383;&#12426;&#12375;&#12390;&#8230;&#12290;
]]></description>
			<content:encoded><![CDATA[<p>&#12503;&#12525;&#12488;&#12479;&#12452;&#12503;&#12505;&#12540;&#12473;&#35328;&#35486; <a href="http://www.iolanguage.com/">Io</a>&#12398;Virtual Machine&#12398;<a href="http://radio.weblogs.com/0102385/categories/zaurus/2004/03/10.html#a545">Linux Zaurus&#29992;&#12496;&#12452;&#12490;&#12522;</a>&#12290;Io&#12399;&#12467;&#12531;&#12497;&#12463;&#12488;&#12391;&#27231;&#33021;&#12364;&#32080;&#27083;&#20805;&#23455;&#12375;&#12390;&#12356;&#12427;&#12398;&#12391;&#12289;&#23569;&#12375;&#12378;&#12388;&#20351;&#12356;&#22987;&#12417;&#12390;&#12356;&#12414;&#12377;&#12290;&#38283;&#30330;&#32773;&#12398;<a href="http://www.dekorte.com/">Steve Dekorte</a>&#27663;&#12364;Mac OS X&#12518;&#12540;&#12470;&#12540;&#12398;&#12424;&#12358;&#12391;&#12289;OS X&#19978;&#12391;&#27604;&#36611;&#30340;&#23433;&#24515;&#12375;&#12390;&#20351;&#12360;&#12427;&#12392;&#12356;&#12358;&#28857;&#12364;&#12509;&#12452;&#12531;&#12488;&#39640;&#12356;&#12391;&#12377;&#12397;&#12290;</p>

<p><a href="http://www.sigusr1.org/mod_io/">mod_io</a>&#12394;&#12393;&#12392;&#12356;&#12358;&#38754;&#30333;&#12381;&#12358;&#12394;&#12418;&#12398;&#12418;&#26082;&#12395;&#12354;&#12387;&#12383;&#12426;&#12375;&#12390;&#8230;&#12290;</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2004/03/10/275/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
