<?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>angelhill.net/blog &#187; Web Development</title>
	<atom:link href="http://angelhill.net/blog/stuff/web-devel/feed/" rel="self" type="application/rss+xml" />
	<link>http://angelhill.net/blog</link>
	<description>the life, the tech, the world, the blog</description>
	<lastBuildDate>Sat, 12 Dec 2009 18:18:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automatic URL discovery for Django</title>
		<link>http://angelhill.net/blog/2009/05/django-url-framework/</link>
		<comments>http://angelhill.net/blog/2009/05/django-url-framework/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:55:10 +0000</pubDate>
		<dc:creator>zeraien</dc:creator>
				<category><![CDATA[django-url-framework]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://angelhill.net/blog/?p=3</guid>
		<description><![CDATA[Have you ever felt that you were dreading the thought of creating a new django app because you didn&#8217;t feel like doing the urlconfs or copy and pasting all those annoying view helper methods?
Or maybe you didn&#8217;t like having to apply the same decorator to every view function?
Maybe even, your views.py files grew so large [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever felt that you were dreading the thought of creating a new django app because you didn&#8217;t feel like doing the urlconfs or copy and pasting all those annoying view helper methods?</p>
<p>Or maybe you didn&#8217;t like having to apply the same decorator to every view function?</p>
<p>Maybe even, your <em>views.py</em> files grew so large that they became hard to maintain, and splitting them up seemed like a hastle?</p>
<p>Well, the above problems and more are solved with the <a href="http://code.google.com/p/django-url-framework/">django url framework</a>, which I wrote to emulate some of the functionality of Ruby on Rails.</p>
<p>A quick and dirty explanation is that you create controlller files with a class that extends the <em>ActionController</em>, and all instance methods of that controller are automatically made into URLs.</p>
<p>Included the the <em>ActionController</em> is all the functionality that you may need, such as a <em>flash</em> inter-request messaging system, redirects and action/controller based url resolution, filters to run before and after each view and more. Look it up on the google code page and give it a whirl.</p>
]]></content:encoded>
			<wfw:commentRss>http://angelhill.net/blog/2009/05/django-url-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

