<?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; symfony</title>
	<atom:link href="http://old-journal.sooey.com/tag/symfony/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>gist.githubを試してみた</title>
		<link>http://old-journal.sooey.com/2008/07/26/755/</link>
		<comments>http://old-journal.sooey.com/2008/07/26/755/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 03:07:55 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/?p=755</guid>
		<description><![CDATA[githubのSnippetサービスであるところのgist.githubは、プロジェクトというほどの規模ではないコードの断片をバージョン管理しつつ他のサイトにEmbedできる素敵なサービス。

これまで簡単なコードはブログのポストにそのまま記述してきたけど、こんな辺境のブログに貼られたコードはあっという間に埋もれてしまう。常々なんとかならないかなと思っていたが、これこそgistの出番じゃないか。

というわけで、昨日書いたコードを貼ってみます。

コード中の「\n」が改行として解釈されてしまう問題と、配色がサイトと合ってないのをなんとかしよう。

gistのサイト上で見てもらえればわかるようにSnippetのオーナーや変更履歴もちゃんと終えるので、「ブログに書いておしまい」よりはSocialityもあってよい。
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.github.com/">github</a>のSnippetサービスであるところの<a href="http://gist.github.com/">gist.github</a>は、プロジェクトというほどの規模ではないコードの断片をバージョン管理しつつ他のサイトにEmbedできる素敵なサービス。</p>

<p>これまで簡単なコードはブログのポストにそのまま記述してきたけど、こんな辺境のブログに貼られたコードはあっという間に埋もれてしまう。常々なんとかならないかなと思っていたが、これこそgistの出番じゃないか。</p>

<p>というわけで、昨日書いたコードを貼ってみます。</p>

<script src="http://gist.github.com/2577.js"></script>

<p>コード中の「\n」が改行として解釈されてしまう問題と、配色がサイトと合ってないのをなんとかしよう。</p>

<p><a href="http://gist.github.com/2577">gistのサイト上</a>で見てもらえればわかるようにSnippetのオーナーや変更履歴もちゃんと終えるので、「ブログに書いておしまい」よりはSocialityもあってよい。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2008/07/26/755/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>symfonyの機能テストを個別に実行するとsfParseExceptionが発生する</title>
		<link>http://old-journal.sooey.com/2008/05/14/731/</link>
		<comments>http://old-journal.sooey.com/2008/05/14/731/#comments</comments>
		<pubDate>Wed, 14 May 2008 06:15:09 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/?p=731</guid>
		<description><![CDATA[symfonyでは以下のようにして、アプリケーション全体の機能テストを実行することができます。

$ symfony test-functional frontend

同様に、機能テストを個別に実行したい場合は、

$ symfony test-functional frontend fooActions

のようにします。

ところが、先日リリースされたばかりのPHP 5.2.6では豪快にsfParseExceptionが発生してしまい残念な感じです。

$ symfony test-functional frontend fooActions
[exception]   sfParseException
[message]     Configuration file "/opt/local/lib/php/data/symfony/config/php.yml" specifies key "magic_quotes_runtime" which cannot be overrided

個別にテストが実行できないと非常に効率が悪いのでどうしたものかと調べてみると、1.0ブランチではChangeset 8861 &#8211; symfony &#8211; Tracで既に修正されていることが判明。手元のsfPhpConfigHandler.class.phpを直接修正して無事に動作するようになりました。
]]></description>
			<content:encoded><![CDATA[<p>symfonyでは以下のようにして、アプリケーション全体の機能テストを実行することができます。</p>

<pre><code>$ symfony test-functional frontend
</code></pre>

<p>同様に、機能テストを個別に実行したい場合は、</p>

<pre><code>$ symfony test-functional frontend fooActions
</code></pre>

<p>のようにします。</p>

<p>ところが、先日リリースされたばかりのPHP 5.2.6では豪快にsfParseExceptionが発生してしまい残念な感じです。</p>

<pre><code>$ symfony test-functional frontend fooActions
[exception]   sfParseException
[message]     Configuration file "/opt/local/lib/php/data/symfony/config/php.yml" specifies key "magic_quotes_runtime" which cannot be overrided
</code></pre>

<p>個別にテストが実行できないと非常に効率が悪いのでどうしたものかと調べてみると、1.0ブランチでは<a href="http://trac.symfony-project.com/changeset/8861">Changeset 8861 &#8211; symfony &#8211; Trac</a>で既に修正されていることが判明。手元のsfPhpConfigHandler.class.phpを直接修正して無事に動作するようになりました。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2008/05/14/731/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.2.xでsymfony propel-build-modelがbus errorになる</title>
		<link>http://old-journal.sooey.com/2007/03/23/638/</link>
		<comments>http://old-journal.sooey.com/2007/03/23/638/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 03:57:01 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2007/03/23/638/</guid>
		<description><![CDATA[Intel Mac上でビルドしたPHP 5.2.0およびPHP 5.2.1で

$ symfony propel-build-model

を実行すると、必ず

[propel-om] Processing: generated-schema.xml
zsh: bus error  symfony propel-build-model

とbus errorで落ちてしまう問題に悩まされ仕方なくPHP 5.1.6でsymfonyを使ってきましたが、いつも指定しているPHPのconfigureオプションを１つずつ確認していった結果 &#8211;with-xsl を付けると100%再現することが判明しました。

現象としてはレアケースな気がしますが、もし同様の症状が発生している方がいましたら参考にしてください。
]]></description>
			<content:encoded><![CDATA[<p>Intel Mac上でビルドしたPHP 5.2.0およびPHP 5.2.1で</p>

<pre><code>$ symfony propel-build-model
</code></pre>

<p>を実行すると、必ず</p>

<pre><code>[propel-om] Processing: generated-schema.xml
zsh: bus error  symfony propel-build-model
</code></pre>

<p>とbus errorで落ちてしまう問題に悩まされ仕方なくPHP 5.1.6でsymfonyを使ってきましたが、いつも指定しているPHPのconfigureオプションを１つずつ確認していった結果 &#8211;with-xsl を付けると100%再現することが判明しました。</p>

<p>現象としてはレアケースな気がしますが、もし同様の症状が発生している方がいましたら参考にしてください。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2007/03/23/638/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>symfony flow diagrams</title>
		<link>http://old-journal.sooey.com/2007/03/12/637/</link>
		<comments>http://old-journal.sooey.com/2007/03/12/637/#comments</comments>
		<pubDate>Mon, 12 Mar 2007 08:49:14 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2007/03/12/637/</guid>
		<description><![CDATA[symfony is powerful and scalable php framework. But its project file structure and naming rule is much complicated&#8230;

Last week, I uploaded symfony Flow Map series (written in Japanese) to flickr for own use.
This morning, I received email from Javier Eguiluz (a spanish Symfony blogger). He posted blog entry about my flow maps. Wow, I&#8217;m glad. [...]
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.symfony-project.com/">symfony</a> is powerful and scalable php framework. But its project file structure and naming rule is much complicated&#8230;</p>

<p>Last week, I uploaded <a href="http://www.flickr.com/photos/sooey/415428153/">symfony Flow Map series (written in Japanese)</a> to flickr for own use.
This morning, I received email from Javier Eguiluz (a spanish Symfony blogger). He posted <a href="http://www.symfony.es/2007/03/diagramas-de-flujo-para-symfony.html">blog entry</a> about my flow maps. Wow, I&#8217;m glad. Thank you Javier!</p>

<p>So, Below is a summary of my flow map and English version diagram. If you feel symfony is much complex, try this method.</p>

<p>I created &#8220;symfony flow diagrams&#8221; for my current project to clarify what we need.
A diagram has four vertically separated area named Module, Validation, Action and Template. You can put action, template and validation point on corresponding area, then connect each point.</p>

<p><a href="http://www.flickr.com/photos/sooey/418616648/" title="symfony Flow Diagram"><img src="http://farm1.static.flickr.com/162/418616648_45542829a2.jpg" width="500" height="350" alt="symfony Flow Diagram" /></a></p>

<p>After all action/template/validation point wrote, a diagram tells what files you need.</p>

<p><a href="http://www.flickr.com/photos/sooey/418616661/" title="symfony Flow Diagram Example"><img src="http://farm1.static.flickr.com/169/418616661_0f5b5b0aa5.jpg" width="500" height="350" alt="symfony Flow Diagram Example" /></a></p>

<ul>
<li><a href="/files/symfony_flow_diagram.pdf">symfony Flow Diagram (PDF)</a></li>
<li><a href="/files/symfony_flow_diagram.png">symfony Flow Diagram (PNG)</a></li>
<li><a href="/files/symfony_flow_map_example.zip">symfony Flow Diagram Example (graffle)</a> &#8211; Created with OmniGraffle Pro 4</li>
</ul>

<p>These files distribute under <a rel="license" href="http://creativecommons.org/licenses/by/2.1/jp/deed.en">Creative Commons License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2007/03/12/637/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony本のプレビューPDF</title>
		<link>http://old-journal.sooey.com/2007/01/18/636/</link>
		<comments>http://old-journal.sooey.com/2007/01/18/636/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 02:31:04 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2007/01/18/636/</guid>
		<description><![CDATA[29日に発売される書籍 The Definitive Guide to symfonyから、CHAPTER 15 &#8211; Unit and Functional TestingのプレビューPDFが公開されました。

メーリングリストへの投稿では

We also mentioned the fact that the content of this book would become the
  official symfony online documentation and be published in HTML on the
  same date.

という期待させる一文も。
]]></description>
			<content:encoded><![CDATA[<p>29日に発売される書籍 <a href="http://www.amazon.co.jp/Definitive-Guide-Symfony/dp/1590597869">The Definitive Guide to symfony</a>から、CHAPTER 15 &#8211; Unit and Functional TestingのプレビューPDFが<a href="http://groups.google.com/group/symfony-users/browse_thread/thread/28689866dfe4d3b2/6e7131ca8c6ba6cc">公開</a>されました。</p>

<p>メーリングリストへの投稿では</p>

<blockquote>
  <p>We also mentioned the fact that the content of this book would become the
  official symfony online documentation and be published in HTML on the
  same date.</p>
</blockquote>

<p>という期待させる一文も。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2007/01/18/636/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! -->
