<?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: Kohana 2.3 routing</title>
	<atom:link href="http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/</link>
	<description>Personal blog of Matthew Wells</description>
	<lastBuildDate>Thu, 08 Oct 2009 07:21:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave Stewart</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-6126</link>
		<dc:creator>Dave Stewart</dc:creator>
		<pubDate>Fri, 31 Jul 2009 11:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-6126</guid>
		<description>One thing I don&#039;t get matt - and that&#039;s the link between the &quot;&#039;year&#039; =&gt; date(&#039;Y&#039;)&quot;, and the following regexp.

How are they related? What is date(&#039;Y&#039;) for? How does the regexp fit in?</description>
		<content:encoded><![CDATA[<p>One thing I don&#8217;t get matt &#8211; and that&#8217;s the link between the &#8220;&#8216;year&#8217; =&gt; date(&#8216;Y&#8217;)&#8221;, and the following regexp.</p>
<p>How are they related? What is date(&#8216;Y&#8217;) for? How does the regexp fit in?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-4029</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 05 Dec 2008 09:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-4029</guid>
		<description>Thanks for all the comments on this.

@john - I actually have something in the works on that front, though it is for what will now be Kohana 3.0, so I&#039;m going to try and focus a little more on the current release in future posts instead

@shadowhand I will take you up on that offer thanks, during the weekend I&#039;ll add a disclaimer to this that it is now outdated and take a look at the new implementation in 3.0 with a view to putting an article together on it

/Matt</description>
		<content:encoded><![CDATA[<p>Thanks for all the comments on this.</p>
<p>@john &#8211; I actually have something in the works on that front, though it is for what will now be Kohana 3.0, so I&#8217;m going to try and focus a little more on the current release in future posts instead</p>
<p>@shadowhand I will take you up on that offer thanks, during the weekend I&#8217;ll add a disclaimer to this that it is now outdated and take a look at the new implementation in 3.0 with a view to putting an article together on it</p>
<p>/Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shadowhand</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-4026</link>
		<dc:creator>shadowhand</dc:creator>
		<pubDate>Fri, 05 Dec 2008 00:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-4026</guid>
		<description>I&#039;d love to help you update this article based on how 3.0 routing will work, as this article references 2.3, and is no longer entirely accurate.</description>
		<content:encoded><![CDATA[<p>I&#8217;d love to help you update this article based on how 3.0 routing will work, as this article references 2.3, and is no longer entirely accurate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-3384</link>
		<dc:creator>john</dc:creator>
		<pubDate>Thu, 20 Nov 2008 00:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-3384</guid>
		<description>If you have time, it would be great to see in a future post how to use the Kohana 2.3 routing to achieve RESTful application design.</description>
		<content:encoded><![CDATA[<p>If you have time, it would be great to see in a future post how to use the Kohana 2.3 routing to achieve RESTful application design.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yehosef</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-3126</link>
		<dc:creator>Yehosef</dc:creator>
		<pubDate>Mon, 17 Nov 2008 09:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-3126</guid>
		<description>I agree with the last comment 

While it&#039;s a very good thing to provide the ability to limit the route should the need arise (which I don&#039;t see) - I think it&#039;s a BadIdea (tm) to make the default action something that will often break and force people to go back into their router to clean it up.

For example, if someone is programming their controller and then they decide that they would like to do all the sorting via Url segments or to add all sorts of options to the url, then they will have to go back into the router and change this, if I understand correctly.  

As an interesting observation - this is parallel (but opposite) to CI&#039;s disposal of the _GET array - they are deciding what is the right security model and imposing it on you - instead of letting me decide.  Of course, there are work around for this, just as you could enable the $_GET array - but to decide for me what&#039;s the right security model, especially when the risk seems non-existent, seems like the wrong approach.</description>
		<content:encoded><![CDATA[<p>I agree with the last comment </p>
<p>While it&#8217;s a very good thing to provide the ability to limit the route should the need arise (which I don&#8217;t see) &#8211; I think it&#8217;s a BadIdea &#8482; to make the default action something that will often break and force people to go back into their router to clean it up.</p>
<p>For example, if someone is programming their controller and then they decide that they would like to do all the sorting via Url segments or to add all sorts of options to the url, then they will have to go back into the router and change this, if I understand correctly.  </p>
<p>As an interesting observation &#8211; this is parallel (but opposite) to CI&#8217;s disposal of the _GET array &#8211; they are deciding what is the right security model and imposing it on you &#8211; instead of letting me decide.  Of course, there are work around for this, just as you could enable the $_GET array &#8211; but to decide for me what&#8217;s the right security model, especially when the risk seems non-existent, seems like the wrong approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EllisGL</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-2998</link>
		<dc:creator>EllisGL</dc:creator>
		<pubDate>Sat, 15 Nov 2008 07:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-2998</guid>
		<description>This method look great. IMO, it make&#039;s it simple for dealing with SEO stuff, but having it break if it&#039;s out side if it&#039;s longer than expected seems a bit over kill to me.

I can&#039;t think of a scenario where something like this could compromise security. Well actually, I could think of one. I know I wouldn&#039;t write a system that would loop through URI arguments and send them with out filtering to MySQL, EXEC() or anything else you shouldn&#039;t pass unfiltered data to. 

Maybe there should be an &#039;ignore&#039; option that not parse pass the point in which you would need? Of course that could be expanded out..

something like:	&#039;post/:year/:month/:day...ignore&#039; to just parse up to day and drop the rest.

&#039;post/:year/:month/:day...logAttempt&#039; -- parse up to day and then log the url and user information has a possible hacking attemp.

Just a thought at 1:10 AM....</description>
		<content:encoded><![CDATA[<p>This method look great. IMO, it make&#8217;s it simple for dealing with SEO stuff, but having it break if it&#8217;s out side if it&#8217;s longer than expected seems a bit over kill to me.</p>
<p>I can&#8217;t think of a scenario where something like this could compromise security. Well actually, I could think of one. I know I wouldn&#8217;t write a system that would loop through URI arguments and send them with out filtering to MySQL, EXEC() or anything else you shouldn&#8217;t pass unfiltered data to. </p>
<p>Maybe there should be an &#8216;ignore&#8217; option that not parse pass the point in which you would need? Of course that could be expanded out..</p>
<p>something like:	&#8216;post/:year/:month/:day&#8230;ignore&#8217; to just parse up to day and drop the rest.</p>
<p>&#8216;post/:year/:month/:day&#8230;logAttempt&#8217; &#8212; parse up to day and then log the url and user information has a possible hacking attemp.</p>
<p>Just a thought at 1:10 AM&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coolfactor</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-2803</link>
		<dc:creator>coolfactor</dc:creator>
		<pubDate>Mon, 03 Nov 2008 01:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-2803</guid>
		<description>I was a bit concerned when I first saw the routing syntax, as I saw it replicated what PHP already does natively, but then I saw that it can be used to set some pretty handy defaults [ =&gt; date(&#039;Y&#039;) ] and that Reverse Routing feature is absolutely wicked! This is going places!</description>
		<content:encoded><![CDATA[<p>I was a bit concerned when I first saw the routing syntax, as I saw it replicated what PHP already does natively, but then I saw that it can be used to set some pretty handy defaults [ =&gt; date('Y') ] and that Reverse Routing feature is absolutely wicked! This is going places!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeelot</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-2656</link>
		<dc:creator>Zeelot</dc:creator>
		<pubDate>Sun, 26 Oct 2008 18:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-2656</guid>
		<description>That was AMAZING!
thanks a lot!! until 2.3 I had been testing SVN with every new commit but 2.3 had scared me too much...
now I&#039;m back to testing every new feature until release!!</description>
		<content:encoded><![CDATA[<p>That was AMAZING!<br />
thanks a lot!! until 2.3 I had been testing SVN with every new commit but 2.3 had scared me too much&#8230;<br />
now I&#8217;m back to testing every new feature until release!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alle</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-2525</link>
		<dc:creator>alle</dc:creator>
		<pubDate>Sun, 19 Oct 2008 15:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-2525</guid>
		<description>Matt, thank you very much!</description>
		<content:encoded><![CDATA[<p>Matt, thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabimc</title>
		<link>http://www.ninjapenguin.co.uk/blog/2008/10/18/kohana-23-routing/comment-page-1/#comment-2518</link>
		<dc:creator>fabimc</dc:creator>
		<pubDate>Sun, 19 Oct 2008 01:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ninjapenguin.co.uk/blog/?p=58#comment-2518</guid>
		<description>I used to be afraid of the new routing, but not anymore :D</description>
		<content:encoded><![CDATA[<p>I used to be afraid of the new routing, but not anymore <img src='http://www.ninjapenguin.co.uk/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.425 seconds -->
