<?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/"
	>

<channel>
	<title>うえちょこ＠ぼろぐ</title>
	<atom:link href="http://labs.uechoco.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://labs.uechoco.com/blog</link>
	<description>php * symfony * linux * Processing * 周辺技術</description>
	<pubDate>Wed, 31 Dec 2008 05:25:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[雑記]ブログテーマ変更、WordPressのウィジェット有効活用</title>
		<link>http://labs.uechoco.com/blog/2008/12/blog_theme_changed_and_utilize_wordpress_widget.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/blog_theme_changed_and_utilize_wordpress_widget.html#comments</comments>
		<pubDate>Tue, 30 Dec 2008 11:48:48 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[雑記]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=797</guid>
		<description><![CDATA[ブログのテーマ(デザイン、スキン)を変更しました。というか、これからは好きな時に好きなテーマに変えようと思う。
どうして今まで変えなかったのかというと、テーマを変更するたびに、テーマを直接編集してブログパーツを挿入してい [...]]]></description>
			<content:encoded><![CDATA[<p>ブログのテーマ(デザイン、スキン)を変更しました。というか、これからは好きな時に好きなテーマに変えようと思う。</p>
<p>どうして今まで変えなかったのかというと、テーマを変更するたびに、テーマを直接編集してブログパーツを挿入していたため。でも、これからはWordPressのウィジェット機能を使って、テーマが変わってもブログパーツが勝手に入るようにしました。</p>
<p>それと、リキッドデザイン（海外ではfluid widthなのかな？他にはliquid layoutとも）のWordPressテーマをいろいろ集めてます。個人的には<a href="http://www.wpthemesfree.com/">Wordpress Themes</a>が探し易いです。「Fluid Width」などのテーマの属性で絞り込みができ、プレビュー機能もしっかり機能しているからです。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/blog_theme_changed_and_utilize_wordpress_widget.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[WordPress]HeadSpace2のmetaタグが出力されない</title>
		<link>http://labs.uechoco.com/blog/2008/12/wordpress_headspace2_meta-tag_not_showing.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/wordpress_headspace2_meta-tag_not_showing.html#comments</comments>
		<pubDate>Mon, 29 Dec 2008 07:41:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=785</guid>
		<description><![CDATA[独自テーマのWordPressにHeadSpace2プラグインを入れてSEO対策を頑張っているのですが、HeadSpace2で出力されるはずのmetaタグがなぜか出力されなくなりました。
HeadSpace2のバグかな？ [...]]]></description>
			<content:encoded><![CDATA[<p>独自テーマのWordPressにHeadSpace2プラグインを入れてSEO対策を頑張っているのですが、HeadSpace2で出力されるはずのmetaタグがなぜか出力されなくなりました。</p>
<p>HeadSpace2のバグかな？とも思ったのですが、いつもは何もしなくても使えていたので、HeadSpace2は悪くないはず。やっぱり独自テーマを使っているのが原因ですよね。</p>
<p>いろいろ調べていくうちに、<strong><span style="color: #ff0000;">wp_head();</span></strong>というWordPressテンプレートタグを見つけました。どうやらこいつを&lt;head&gt;～&lt;/head&gt;の間に埋め込まなければいけないらしい。</p>
<p>そんなわけで、wp_head();をテンプレートに埋め込んだら、しっかりHeadSpace2で設定したmetaタグが表れました。おまけにgeneratorやらEditURIやら変なmetaタグやlinkタグも出力されましたが、これは消せないのかな・・・調べます。</p>
<p><code title="AmazonLink コード"><iframe src="http://rcm-jp.amazon.co.jp/e/cm?o=9&amp;p=8&amp;l=as1&amp;asins=4839921911&amp;t=uechocolabsbl-22&amp;IS1=1&amp;fc1=000000&amp;lc1=0000FF&amp;bg1=FFFFFF&amp;lt1=_blank&amp;bc1=000000&amp;nou=1&amp;f=ifr" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe></code><code title="AmazonLink コード"><iframe src="http://rcm-jp.amazon.co.jp/e/cm?o=9&amp;p=8&amp;l=as1&amp;asins=4839929548&amp;t=uechocolabsbl-22&amp;IS1=1&amp;fc1=000000&amp;lc1=0000FF&amp;bg1=FFFFFF&amp;lt1=_blank&amp;bc1=000000&amp;nou=1&amp;f=ifr" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe></code></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/wordpress_headspace2_meta-tag_not_showing.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[php]phpizeって便利だ。</title>
		<link>http://labs.uechoco.com/blog/2008/12/php_phpize_is_useful.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/php_phpize_is_useful.html#comments</comments>
		<pubDate>Sat, 27 Dec 2008 03:49:25 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=782</guid>
		<description><![CDATA[普段はyumでphpなりなんなりのインストールを済ませてしまうから、ソースコードコンパイルのphp環境に新しく拡張入れてくれなんて言われるとあせります。
今回はcurlなんぞを入れてくれと言われました。libcurlはソ [...]]]></description>
			<content:encoded><![CDATA[<p>普段はyumでphpなりなんなりのインストールを済ませてしまうから、ソースコードコンパイルのphp環境に新しく拡張入れてくれなんて言われるとあせります。</p>
<p>今回はcurlなんぞを入れてくれと言われました。libcurlはソースコードコンパイルで入れましたが、phpの再コンパイルを憂鬱に感じていたら、phpizeの存在を知りました。</p>
<p>phpizeはphpの拡張モジュールのためのビルドツールで、PECLのインストールの時に使う人もいるようです。phpの再コンパイルをせずに拡張モジュールの読み込みが可能になります。</p>
<p>でもって、同じく初めて知ったのですが、ソースコードコンパイルのphpの展開ディレクトリの中にはext/というディレクトリがあって、その中にいろいろな拡張モジュールが準備されているようです。</p>
<p>参考：<a href="http://cassini.edu.waseda.ac.jp/diary/20070911.html#p02">あらきだのメモ箱 - Apache 2.0.61 , PHP 5.2.4</a></p>
<p><span style="color: #ff0000;"><strong>ようは、ext/ディレクトリ以下の拡張モジュール（今回はcurl）をphpizeしてcongirueしてmakeしてmake installすればPHPの再コンパイルをせずに拡張モジュールが追加できるのですね</strong></span>。</p>
<p>便利な世の中だ。ってか、Linux系の各種コンパイルって未だに謎が多い。勉強が足りませぬね。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/php_phpize_is_useful.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>走り続けるエンジニア</title>
		<link>http://labs.uechoco.com/blog/2008/12/engineer_running_forever.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/engineer_running_forever.html#comments</comments>
		<pubDate>Sat, 20 Dec 2008 11:45:33 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[雑記]]></category>

		<category><![CDATA[ランニング]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=780</guid>
		<description><![CDATA[ホノルルマラソン 2008 走ってきました。
記録は4時間55分34秒。総合順位は20061位中、5537位。
運動嫌いのITエンジニアでも、走ればそれなりのタイムでゴールできるんです。
最近エンジニア啓発活動は停滞気味 [...]]]></description>
			<content:encoded><![CDATA[<p>ホノルルマラソン 2008 走ってきました。</p>
<p>記録は<span style="color: #ff0000;"><strong>4時間55分34秒</strong></span>。総合順位は20061位中、<span style="color: #ff0000;"><strong>5537位</strong></span>。</p>
<p>運動嫌いのITエンジニアでも、走ればそれなりのタイムでゴールできるんです。</p>
<p>最近エンジニア啓発活動は停滞気味ですが、エンジニアとしても、ランナーとしても止まりたくはないですね。</p>
<p>うえちょこ。走り続けるエンジニア。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/engineer_running_forever.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[Processing]PVectorサンプル(1.0リリース記念)</title>
		<link>http://labs.uechoco.com/blog/2008/12/processing_pvectorsample.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/processing_pvectorsample.html#comments</comments>
		<pubDate>Wed, 03 Dec 2008 13:45:12 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[processing]]></category>

		<category><![CDATA[proce55ing]]></category>

		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=775</guid>
		<description><![CDATA[Processing 1.0リリース記念として、いくつか新しい機能のサンプルコードを書いてみました。
まずはPVectorクラス。リファレンスには英語で主な使い方は書いてあるものの、実際のソースコードはありませんでした。 [...]]]></description>
			<content:encoded><![CDATA[<p>Processing 1.0リリース記念として、いくつか新しい機能のサンプルコードを書いてみました。</p>
<p>まずは<a href="http://processing.org/reference/PVector.html">PVectorクラス</a>。リファレンスには英語で主な使い方は書いてあるものの、実際のソースコードはありませんでした。</p>
<p>リファレンスに従い、position(位置)、velocitiy(速度)、acceleration(加速度)をPVectorクラスで表した実用的なサンプルを書いてみたので、PVectorクラスの1つの使い方として参考にしてみてください。</p>
<div class="igBar"><span id="lprocessing-2"><a href="#" onclick="javascript:showCodeTxt('processing-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Processing:</span>
<div id="processing-2">
<div class="processing" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://processing.org/reference/PFont.html"><span style="color: #ce6500;">PFont</span></a> font<span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://processing.org/reference/PVector.html"><span style="color: #ce6500;">PVector</span></a> position, velocity, acceleration<span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://processing.org/reference/final.html"><span style="color: #ce6500;">final</span></a> <a href="http://processing.org/reference/int.html"><span style="color: #ce6500;">int</span></a> WIDTH = <span style="color: #cc66cc;color:#800000;">250</span>, HEIGHT = <span style="color: #cc66cc;color:#800000;">250</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://processing.org/reference/final.html"><span style="color: #ce6500;">final</span></a> <a href="http://processing.org/reference/int.html"><span style="color: #ce6500;">int</span></a> STATUS_HEIGHT = <span style="color: #cc66cc;color:#800000;">50</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://processing.org/reference/void.html"><span style="color: #ce6500;">void</span></a> <a href="http://processing.org/reference/setup_.html"><span style="color: #9c6500;">setup</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// 画面の初期化</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/size_.html"><span style="color: #9c6500;">size</span></a><span style="color: #000000;">&#40;</span>WIDTH, HEIGHT + STATUS_HEIGHT<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/noStroke_.html"><span style="color: #9c6500;">noStroke</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/colorMode_.html"><span style="color: #9c6500;">colorMode</span></a><span style="color: #000000;">&#40;</span><span style="color: #ce0000;">RGB</span>, <span style="color: #cc66cc;color:#800000;">256</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/background_.html"><span style="color: #9c6500;">background</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">255</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// フォントの初期化</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; font = <a href="http://processing.org/reference/loadFont_.html"><span style="color: #9c6500;">loadFont</span></a><span style="color: #000000;">&#40;</span><span style="color: #ce0000;">&quot;ArialNarrow-14.vlw&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/textFont_.html"><span style="color: #9c6500;">textFont</span></a><span style="color: #000000;">&#40;</span>font<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// 自機の初期化</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; position = <a href="http://processing.org/reference/new.html"><span style="color: #ce6500;">new</span></a> <a href="http://processing.org/reference/PVector.html"><span style="color: #ce6500;">PVector</span></a><span style="color: #000000;">&#40;</span>WIDTH / <span style="color: #cc66cc;color:#800000;">2</span>, HEIGHT / <span style="color: #cc66cc;color:#800000;">2</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; velocity = <a href="http://processing.org/reference/new.html"><span style="color: #ce6500;">new</span></a> <a href="http://processing.org/reference/PVector.html"><span style="color: #ce6500;">PVector</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">3</span>, <span style="color: #cc66cc;color:#800000;">4</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; acceleration = <a href="http://processing.org/reference/new.html"><span style="color: #ce6500;">new</span></a> <a href="http://processing.org/reference/PVector.html"><span style="color: #ce6500;">PVector</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">0.01</span>, <span style="color: #cc66cc;color:#800000;">0.01</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://processing.org/reference/void.html"><span style="color: #ce6500;">void</span></a> <a href="http://processing.org/reference/draw_.html"><span style="color: #9c6500;">draw</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// 背景消去</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/fill_.html"><span style="color: #9c6500;">fill</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">30</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/rect_.html"><span style="color: #9c6500;">rect</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span>, WIDTH, HEIGHT<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/fill_.html"><span style="color: #9c6500;">fill</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">255</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/rect_.html"><span style="color: #9c6500;">rect</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>, HEIGHT, WIDTH, STATUS_HEIGHT<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; </div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// 自機描画</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/fill_.html"><span style="color: #9c6500;">fill</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">255</span>, <span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/ellipse_.html"><span style="color: #9c6500;">ellipse</span></a><span style="color: #000000;">&#40;</span>position.<span style="color: #006600;">x</span>, position.<span style="color: #006600;">y</span>, <span style="color: #cc66cc;color:#800000;">10</span>, <span style="color: #cc66cc;color:#800000;">10</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; </div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// 速度表示</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/fill_.html"><span style="color: #9c6500;">fill</span></a><span style="color: #000000;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/text_.html"><span style="color: #9c6500;">text</span></a><span style="color: #000000;">&#40;</span><span style="color: #ce0000;">&quot;Position: &quot;</span> + position, <span style="color: #cc66cc;color:#800000;">0</span>, <a href="http://processing.org/reference/height.html"><span style="color: #ce0000;">height</span></a> - STATUS_HEIGHT + <span style="color: #cc66cc;color:#800000;">14</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/text_.html"><span style="color: #9c6500;">text</span></a><span style="color: #000000;">&#40;</span><span style="color: #ce0000;">&quot;Velocity: &quot;</span> + velocity.<a href="http://processing.org/reference/mag_.html"><span style="color: #9c6500;">mag</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #cc66cc;color:#800000;">0</span>, <a href="http://processing.org/reference/height.html"><span style="color: #ce0000;">height</span></a> - STATUS_HEIGHT + <span style="color: #cc66cc;color:#800000;">14</span> <span style="color: #000000;">*</span> <span style="color: #cc66cc;color:#800000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/text_.html"><span style="color: #9c6500;">text</span></a><span style="color: #000000;">&#40;</span><span style="color: #ce0000;">&quot;Acceleration: &quot;</span> + acceleration.<a href="http://processing.org/reference/mag_.html"><span style="color: #9c6500;">mag</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #cc66cc;color:#800000;">0</span>, <a href="http://processing.org/reference/height.html"><span style="color: #ce0000;">height</span></a> - STATUS_HEIGHT + <span style="color: #cc66cc;color:#800000;">14</span> <span style="color: #000000;">*</span> <span style="color: #cc66cc;color:#800000;">3</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; </div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #737522; font-style: italic;">// 場所の更新</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; position.<span style="color: #006600;">add</span><span style="color: #000000;">&#40;</span>velocity<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/if.html"><span style="color: #ce6500;">if</span></a> <span style="color: #000000;">&#40;</span>position.<span style="color: #006600;">x</span> <span style="color: #000000;">&lt;</span>= <span style="color: #cc66cc;color:#800000;">0</span> || position.<span style="color: #006600;">x</span><span style="color: #000000;">&gt;</span>= WIDTH<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; velocity.<span style="color: #006600;">x</span> <span style="color: #000000;">*</span>= <span style="color: #cc66cc;color:#800000;">-1</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; acceleration.<span style="color: #006600;">x</span> <span style="color: #000000;">*</span>= <span style="color: #cc66cc;color:#800000;">-1</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; position.<span style="color: #006600;">x</span> += velocity.<span style="color: #006600;">x</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <a href="http://processing.org/reference/if.html"><span style="color: #ce6500;">if</span></a> <span style="color: #000000;">&#40;</span>position.<span style="color: #006600;">y</span> <span style="color: #000000;">&lt;</span>= <span style="color: #cc66cc;color:#800000;">0</span> || position.<span style="color: #006600;">y</span><span style="color: #000000;">&gt;</span>= HEIGHT<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; velocity.<span style="color: #006600;">y</span> <span style="color: #000000;">*</span>= <span style="color: #cc66cc;color:#800000;">-1</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; acceleration.<span style="color: #006600;">y</span> <span style="color: #000000;">*</span>= <span style="color: #cc66cc;color:#800000;">-1</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; position.<span style="color: #006600;">y</span> += velocity.<span style="color: #006600;">y</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; <span style="color: #000000;">&#125;</span></div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; velocity.<span style="color: #006600;">add</span><span style="color: #000000;">&#40;</span>acceleration<span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><span style="color: #000000;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>実行画面(クリックで拡大)</p>
<p><a href="http://labs.uechoco.com/blog/wp-content/uploads/pvectorsample.jpg"><img class="alignnone size-full wp-image-776" title="pvectorsample" src="http://labs.uechoco.com/blog/wp-content/uploads/pvectorsample.jpg" alt="" width="256" height="332" /></a></p>
<p>サンプルコードのダウンロード：<a href="http://labs.uechoco.com/blog/wp-content/uploads/pvectorsample.zip">PVectorSample.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/processing_pvectorsample.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[Processing]1.0リリース</title>
		<link>http://labs.uechoco.com/blog/2008/12/processing-10_released.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/processing-10_released.html#comments</comments>
		<pubDate>Wed, 03 Dec 2008 10:23:31 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[processing]]></category>

		<category><![CDATA[proce55ing]]></category>

		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=773</guid>
		<description><![CDATA[そういえば、いつのまにかProicessingの正式版となる1.0がリリースされました。内部リビジョン番号は0162です。
Processing 1.0での変更点

ライブラリの変更
P2Dレンダラの復活
PShapeク [...]]]></description>
			<content:encoded><![CDATA[<p>そういえば、いつのまにかProicessingの正式版となる1.0がリリースされました。内部リビジョン番号は0162です。</p>
<p><a href="http://processing.org/reference/changes.html">Processing 1.0での変更点</a></p>
<ul>
<li>ライブラリの変更</li>
<li>P2Dレンダラの復活</li>
<li>PShapeクラスによるSVG読み込みの対応</li>
<li>PVectorクラスの追加</li>
<li>コンパイラの変更</li>
<li>ソースコードのUTF-8化</li>
<li>JRE(JDK) 6.0 update 10への対応（ただし、genericsや拡張for文などのJava 1.5文法は未対応）</li>
<li>etc...</li>
</ul>
<p>まだまだ知名度は低いものの、徐々に名前は広まっています。特に情報デザイン工学などを勉強している学生にとっては、常識に近くなっている気がします。</p>
<p>また、最近では、<a href="http://ejohn.org/blog/processingjs/">processing.js</a>など、エンジンを移植する人もいるようです。</p>
<p>ゆっくりと、着実にProcessingは浸透していきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/processing-10_released.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[symfony]1.2リリース</title>
		<link>http://labs.uechoco.com/blog/2008/12/symfony-12_is_available.html</link>
		<comments>http://labs.uechoco.com/blog/2008/12/symfony-12_is_available.html#comments</comments>
		<pubDate>Mon, 01 Dec 2008 00:20:30 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=771</guid>
		<description><![CDATA[会社に行って、RSSリーダーつけたら、symfony1.2が出てました。時代の流れが速すぎてどうしようもないです。。。社内ニートになりたい。。。
symfony &#124; Web PHP Framework &#124; Blog &#124;  [...]]]></description>
			<content:encoded><![CDATA[<p>会社に行って、RSSリーダーつけたら、symfony1.2が出てました。時代の流れが速すぎてどうしようもないです。。。社内ニートになりたい。。。</p>
<p><a href="http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already-available">symfony | Web PHP Framework | Blog | symfony 1.2 is already available</a></p>
<p><a href="http://www.symfony-project.org/blog/2008/07/01/symfony-1-2-roadmap">symfony | Web PHP Framework | Blog | symfony 1.2 roadmap</a></p>
<p>そろそろ、symfony 1.1/1.2対応の本の話とかでてこないかなー♪</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/12/symfony-12_is_available.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[OpenPNE3]alpha3のインストール時の注意</title>
		<link>http://labs.uechoco.com/blog/2008/11/openpne3alpha3%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e6%b3%a8%e6%84%8f.html</link>
		<comments>http://labs.uechoco.com/blog/2008/11/openpne3alpha3%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e6%b3%a8%e6%84%8f.html#comments</comments>
		<pubDate>Fri, 28 Nov 2008 07:39:38 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[OpenPNE]]></category>

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=766</guid>
		<description><![CDATA[OpenPNE3は先日alpha3になりました。一応インストールぐらいは済ませようと、先ほどインストールしましたが、思わぬところでエラーが発生したので書き記しておきます。
環境：

OpenPNE3alpha3のアーカイ [...]]]></description>
			<content:encoded><![CDATA[<p>OpenPNE3は先日alpha3になりました。一応インストールぐらいは済ませようと、先ほどインストールしましたが、思わぬところでエラーが発生したので書き記しておきます。</p>
<p>環境：</p>
<ul>
<li><a href="http://trac.openpne.jp/wiki/pne-openpne3-develop#freeze%E3%81%95%E3%82%8C%E3%81%9F%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%8B%E3%82%89%E3%82%BB%E3%83%83%E3%83%88%E3%82%A2%E3%83%83%E3%83%97">OpenPNE3alpha3のアーカイブ</a>からインストール</li>
<li>symfonyは1.1系(1.1.6を使用)</li>
</ul>
<p>OpenPNE3alpha4以降はsymfony1.2に移行するようなのですが、今回インストールしたのはalpha3なのでsymfony 1.1で動くはずです。</p>
<p>で、<a href="http://trac.openpne.jp/wiki/pne-openpne3-develop#openpne3-setup">インストールガイド</a>に従って、OpenPNE3をインストールします。alpha3からはsymfonyコマンドを拡張したようなので、<span style="color: #ff0000;"><strong>"symfony openpne:install <em>DSN</em>"</strong></span>というコマンドで<span style="color: #ff0000;"><strong>一発インストール</strong></span>が可能になりました。いいですね！</p>
<p>で、http://openpne3a3.localhost/に割り当てたので、http://openpne3a3.localhost/pc_frontend_dev.phpにアクセスすると、以下のような<span style="color: #ff0000;"><strong>エラー</strong></span>が発生しました。</p>
<div class="igBar"><span id="ltext-4"><a href="#" onclick="javascript:showCodeTxt('text-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-4">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">Fatal error: Class 'sfRoute' not found in /var/www/OpenPNE-3alpha3/plugins/opOpenSocialPlugin/lib/user/opOpenSocialPluginRouting.class.php on line 8</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>opOpenSocialPluginというのがエラーを起こしています。sfRouteというクラスを調べると、どうやらsymfony 1.2系のクラスのようです。というか<a href="http://trac.openpne.jp/report/111">OpenPNE3alpha4のTracレポート</a>をみると、<span style="color: #339966;"><strong>opOpenSocialPluginはalpha4で(symfony1.2で)実装予定の機能</strong></span>のようです。どうやらalpha3リリース時にsubversionのtagsを切るときに混じってしまったのでしょうか。</p>
<p><strong>エラーの回避方法は、<span style="color: #ff0000;">/plugins/opOpenSocialPluginのディレクトリごと消去する</span></strong>だけです。</p>
<p>無事にalpha3が起動できました。</p>
<p><a href="http://labs.uechoco.com/blog/wp-content/uploads/openpne3alpha3_myhome.jpg"><img class="alignnone size-medium wp-image-767" title="openpne3alpha3_myhome" src="http://labs.uechoco.com/blog/wp-content/uploads/openpne3alpha3_myhome-300x114.jpg" alt="" width="300" height="114" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/11/openpne3alpha3%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e6%b3%a8%e6%84%8f.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[OpenPNE3]alpha2の変更点を見る</title>
		<link>http://labs.uechoco.com/blog/2008/11/openpne3-alpha1_settingsopenpne3-alpha2_changes.html</link>
		<comments>http://labs.uechoco.com/blog/2008/11/openpne3-alpha1_settingsopenpne3-alpha2_changes.html#comments</comments>
		<pubDate>Fri, 28 Nov 2008 06:41:48 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[OpenPNE]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=763</guid>
		<description><![CDATA[早々とOpenPNE-3alpha3がリリースされ、完全に後れを取っているうえちょこです。alpha2の記事を書き途中のまま放置していたので、鮮度が既に失われてしまいましたが、残しておきます。何かの参考になればよいのです [...]]]></description>
			<content:encoded><![CDATA[<p>早々とOpenPNE-3alpha3がリリースされ、完全に後れを取っているうえちょこです。alpha2の記事を書き途中のまま放置していたので、鮮度が既に失われてしまいましたが、残しておきます。何かの参考になればよいのですが。。。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/mobile_frontend/config/mobile_frontendConfiguration.class.php</strong></span></div>
<p>mobile_frontendConfigurationクラスがsfApplicationConfigurationクラスを継承していたのが、sfApplicationConfigurationから派生したsfOpenPNEApplicationConfigurationクラスを継承するように変更されています。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_backend/config/pc_backendConfiguration.class.php</strong></span></div>
<p>pc_backendConfigurationクラスがsfApplicationConfigurationクラスを継承していたのが、sfApplicationConfigurationから派生したsfOpenPNEApplicationConfigurationクラスを継承するように変更されています。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_backend/config/factories.yml</strong></span></div>
<div class="igBar"><span id="ltext-13"><a href="#" onclick="javascript:showCodeTxt('text-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-13">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">all:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;storage:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;class: sfSessionStorage</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;param:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp; &nbsp;session_name: OpenPNE_pc_backend</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>セッション名がデフォルトのsymfonyからOpenPNE_pc_backendに変更されました。pc_frontendとは明示的にセッションを分けるようです。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_backend/config/security.yml</strong></span></div>
<div class="igBar"><span id="ltext-14"><a href="#" onclick="javascript:showCodeTxt('text-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-14">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">default:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;is_secure: on</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>pc_backendアプリケーション全体がデフォルトでセキュアな領域（認証が必要な領域）となりました。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_backend/config/settings.yml</strong></span></div>
<div class="igBar"><span id="ltext-15"><a href="#" onclick="javascript:showCodeTxt('text-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-15">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">prod:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;.settings:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;check_lock: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; on</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<ul>
<li>prod(本番環境用設定)
<ul>
<li>check_lock=on ・・・ 内部サーバーエラー発生時に/web/errors/error500.phpを表示し、キャッシュクリア中のアクセス時に/web/errors/unavailable.phpを表示する。</li>
</ul>
</li>
</ul>
<div class="igBar"><span id="ltext-16"><a href="#" onclick="javascript:showCodeTxt('text-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-16">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">all:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;.actions:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;login_module: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; security</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;login_action: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; login</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;.settings:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;i18n: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; on</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;default_culture: &nbsp; &nbsp; &nbsp; &nbsp;ja_JP</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<ul>
<li>all(共通設定)
<ul>
<li>login_module=security、login_action=login ・・・ 認証画面のモジュールとアクション。認証が必要なページにアクセスしたとき、まだ認証が済んでいない時は/security/loginに飛ぶ</li>
<li>i18n=on ・・・ テンプレートの翻訳機能（インターフェース翻訳）を有効にする</li>
<li>default_culture=ja_JP ・・・ 国際化機能において、デフォルトの国と言語の組み合わせを日本-日本語に設定する</li>
</li>
</ul>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_backend/modules/*</strong></span></div>
<p>pc_backend（管理画面）の開発も始まったようです。navi、profile、security、snsの4つのモジュールが追加されています。securityはログイン認証のためのモジュールです。それ以外は[SNS設定]、[ナビ設定]、[プロフィール項目設定]に対応しているようです。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_backend/template/layout.php</strong></span></div>
<p>pc_backend（管理画面）の標準レイアウトです。タイトルやh1タグにSNS名称を表示するようになったほか、[SNS設定]、[ナビ設定]、[プロフィール項目設定]の3つが常時メニューとして表示されるようです。</p>
<p>''SNS名称の表示''</p>
<div class="igBar"><span id="lphp-17"><a href="#" onclick="javascript:showCodeTxt('php-17'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">php:</span>
<div id="php-17">
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> OpenPNEConfig::<span style="color:#006600;">get</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'sns_name'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_frontend/config/app.yml</strong></span></div>
<p> (空っぽ)</p>
<p>alpha1で追加されたall_openpne_auth_mode設定がもう無くなりました。同様の設定は/data/sns_config.ymlに移行したようです。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_frontend/config/factories.yml</strong></span></div>
<div class="igBar"><span id="ltext-18"><a href="#" onclick="javascript:showCodeTxt('text-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-18">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">all:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;storage:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;class: sfSessionStorage</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp;param:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; &nbsp; &nbsp;session_name: OpenPNE_pc_frontend</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>セッション名がデフォルトのsymfonyからOpenPNE_pc_frontendに変更されました。pc_backendとは明示的にセッションを分けるようです。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_frontend/config/filters.yml</strong></span></div>
<div class="igBar"><span id="ltext-19"><a href="#" onclick="javascript:showCodeTxt('text-19'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-19">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">registerDisablePlugin:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp;class: sfRegisterDisablePluginsFilter</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>フィルタが追加されました。/lib/filter/sfRegisterDisablePluginsFilter.class.phpを参照しています。(settings.ymlのall_enabled_modulesが消えたのはこのプラグインにとってかわられたからかな？)</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_frontend/config/pc_frontendConfiguration.class.php</strong></span></div>
<p>pc_frontendConfigurationクラスがsfApplicationConfigurationクラスを継承していたのが、sfApplicationConfigurationから派生したsfOpenPNEApplicationConfigurationクラスを継承するように変更されています。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_frontend/config/settings.yml</strong></span></div>
<div class="igBar"><span id="ltext-20"><a href="#" onclick="javascript:showCodeTxt('text-20'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-20">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">all:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; .settings:</div>
</li>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;">&nbsp; &nbsp; standard_helpers: &nbsp; &nbsp; &nbsp; [Partial, Cache, Form, I18N, Parts]</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>all(共通設定)において、Partsヘルパーが標準で読み込まれるように変更されました。またenabled_modulesの記述がコメントアウトされました。おそらくsfRegisterDisablePluginsFilterで代替していると思われます。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_frontend/modules/*</strong></span></div>
<p>いろいろと変更されていると思いますが、ここでは省略。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_forntend/template/_partsLogin.php</strong></span></div>
<p>ログインフォームが個別パーツとして分離されました。また、set_entry_point()ヘルパー関数を用いて、拡張テンプレートの試みが始まっています。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/apps/pc_forntend/template/layout.php</strong></span></div>
<p>タイトルやh1タグにSNS名称を表示するようになったほか、グローバルナビゲーション（常に表示されるナビゲーションメニュー）やローカルナビゲーション（コンテンツ内容によって変動するサブナビゲーションメニュー）がコンポーネント挿入されました。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/config/schema.yml</strong></span></div>
<p>admin_user、sns_config、member_config、navi、navi_i18nの5つのテーブルが追加されました。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/data/member_config.yml</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/data/sns_config.yml</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/lib/config/OpenPNEConfig.class.php</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/lib/config/sfOpenPNEApplicationConfiguration.class.php</strong></span></div>
<p>各アプリケーションのアプリケーション設定クラスが/apps/xxxxx/config/xxxxxConfiguration.class.phpにあり、alpha1まではsfApplicationConfigurationクラスを直接継承していましたが、alpha2以降はsfApplicationConfigurationクラスから派生したsfOpenPNEApplicationConfigurationクラスを継承するように変更されました。主にopAuth系プラグインに含まれているモジュールのアクションやテンプレートにパスを通すためにメソッドが上書きされています。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/lib/filter/sfRegisterDisablePluginsFilter.class.php</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/lib/form/OpenPNEFormAutoGenerate.class.php</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/lib/helper/PartsHelper.php</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/lib/vendor/swiftMailer/*</strong></span></div>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/plugins/opAuthLoginIDPlugin</strong></span></div>
<p>sfOpenPNEAuthLoginIDPluginが前を変更してopAuthLoginIDPluginになったようです。</p>
<div style="margin:20px 0px"><span style="font-size: x-large;"><strong>/plugins/opAuthPCAddressPlugin</strong></span></div>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/11/openpne3-alpha1_settingsopenpne3-alpha2_changes.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[Web]IETesterでブラウザ表示チェックができる</title>
		<link>http://labs.uechoco.com/blog/2008/11/webietester%e3%81%a7%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e8%a1%a8%e7%a4%ba%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%8c%e3%81%a7%e3%81%8d%e3%82%8b.html</link>
		<comments>http://labs.uechoco.com/blog/2008/11/webietester%e3%81%a7%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e8%a1%a8%e7%a4%ba%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%8c%e3%81%a7%e3%81%8d%e3%82%8b.html#comments</comments>
		<pubDate>Tue, 25 Nov 2008 06:27:50 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
		
		<category><![CDATA[ソフトウェア]]></category>

		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=759</guid>
		<description><![CDATA[いつのまにかノートPCにIE7が入っていて、Web制作時にはIE6のチェックができなくて困っていました。
そんなときに見つけたのがIETester。IEの5.5～8betaまでのブラウザ表示をチェックできてしまうすぐれも [...]]]></description>
			<content:encoded><![CDATA[<p>いつのまにかノートPCにIE7が入っていて、Web制作時にはIE6のチェックができなくて困っていました。</p>
<p>そんなときに見つけたのが<strong><a href="http://www.my-debugbar.com/wiki/IETester/HomePage">IETester</a></strong>。IEの5.5～8betaまでのブラウザ表示をチェックできてしまうすぐれもの。</p>
<p><a href="http://labs.uechoco.com/blog/wp-content/uploads/ietester.jpg"><img class="alignnone size-medium wp-image-760" title="ietester" src="http://labs.uechoco.com/blog/wp-content/uploads/ietester-300x216.jpg" alt="" width="300" height="216" /></a></p>
<p>おもな特徴は以下の通り。</p>
<ul>
<li>Windows XP/Vista対応</li>
<li><span style="color: #ff0000;"><strong>IE 5.5、6、7、8beta2</strong></span>の各バージョンでのブラウザ表示が再現できる</li>
<li><strong>日本語</strong>に標準対応</li>
</ul>
<p>これのおかげでVMwareのWindows XP(IE6)イメージがいらなくなりました。世の中便利になりましたね。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2008/11/webietester%e3%81%a7%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e8%a1%a8%e7%a4%ba%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%8c%e3%81%a7%e3%81%8d%e3%82%8b.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
