<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: Playing with symfony routing &#8211; without symfony</title>
	<atom:link href="http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony/feed" rel="self" type="application/rss+xml" />
	<link>http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony</link>
	<description>Random witterings from pookey</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:25:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Julian Vidal</title>
		<link>http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony/comment-page-1#comment-802</link>
		<dc:creator>Julian Vidal</dc:creator>
		<pubDate>Wed, 10 Feb 2010 08:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://pookey.co.uk/wordpress/?p=80#comment-802</guid>
		<description>Excellent article! I was just banging my head trying to figure this one out when I found your post.

I&#039;d like to add my two cents to your post.

1) Note that $routing-&gt;parse() will return false if no routes match so a special default or 404 case should be set up somehow to avoid error messages.

2) Don&#039;t forget the generate() method for the sfRoute class which generates a pretty URL based on the route, for example:

$route = new sfRoute(&#039;/:module/:action/:language/page/:page&#039;);
echo $route-&gt;generate(array(
    &#039;module&#039; =&gt; &#039;myModule&#039;, 
    &#039;action&#039; =&gt; &#039;myAction&#039;, 
    &#039;language&#039; =&gt; &#039;en&#039;, 
    &#039;page&#039; =&gt; 3
));

// /myModule/myAction/en/page/3</description>
		<content:encoded><![CDATA[<p>Excellent article! I was just banging my head trying to figure this one out when I found your post.</p>
<p>I&#8217;d like to add my two cents to your post.</p>
<p>1) Note that $routing-&gt;parse() will return false if no routes match so a special default or 404 case should be set up somehow to avoid error messages.</p>
<p>2) Don&#8217;t forget the generate() method for the sfRoute class which generates a pretty URL based on the route, for example:</p>
<p>$route = new sfRoute(&#8216;/:module/:action/:language/page/:page&#8217;);<br />
echo $route-&gt;generate(array(<br />
    &#8216;module&#8217; =&gt; &#8216;myModule&#8217;,<br />
    &#8216;action&#8217; =&gt; &#8216;myAction&#8217;,<br />
    &#8216;language&#8217; =&gt; &#8216;en&#8217;,<br />
    &#8216;page&#8217; =&gt; 3<br />
));</p>
<p>// /myModule/myAction/en/page/3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian P. Christian's personal blog</title>
		<link>http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony/comment-page-1#comment-428</link>
		<dc:creator>Ian P. Christian's personal blog</dc:creator>
		<pubDate>Mon, 30 Mar 2009 20:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://pookey.co.uk/wordpress/?p=80#comment-428</guid>
		<description> In a recent post about Symfony components - Fabien wrote about how the Symfony project (yes, that&#039;s right - a capital S now!) will be releasing more and more components. In this post I introduce sfYaml, a YAML parser for PHP - building on my previous</description>
		<content:encoded><![CDATA[<p>In a recent post about Symfony components &#8211; Fabien wrote about how the Symfony project (yes, that&#8217;s right &#8211; a capital S now!) will be releasing more and more components. In this post I introduce sfYaml, a YAML parser for PHP &#8211; building on my previous</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Weaver</title>
		<link>http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony/comment-page-1#comment-427</link>
		<dc:creator>Ryan Weaver</dc:creator>
		<pubDate>Sun, 29 Mar 2009 16:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://pookey.co.uk/wordpress/?p=80#comment-427</guid>
		<description>Very cool - we should see more of Symfony components being used outside of Symfony. First, the fact that Symfony&#039;s components have been increasingly designed to work without Symfony has very powerful potential. Second - seeing a component used outside of its normal Symfony shell is a great way to understand much better how it really works.

Very nice.</description>
		<content:encoded><![CDATA[<p>Very cool &#8211; we should see more of Symfony components being used outside of Symfony. First, the fact that Symfony&#8217;s components have been increasingly designed to work without Symfony has very powerful potential. Second &#8211; seeing a component used outside of its normal Symfony shell is a great way to understand much better how it really works.</p>
<p>Very nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G.</title>
		<link>http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony/comment-page-1#comment-426</link>
		<dc:creator>G.</dc:creator>
		<pubDate>Sun, 29 Mar 2009 15:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://pookey.co.uk/wordpress/?p=80#comment-426</guid>
		<description>Interesting article.

May I suggest that swapping around lines 13 and 14 from your final code sample would make it easier to read...?</description>
		<content:encoded><![CDATA[<p>Interesting article.</p>
<p>May I suggest that swapping around lines 13 and 14 from your final code sample would make it easier to read&#8230;?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
