<?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: Matt Week &#8211; What was it like?</title>
	<atom:link href="http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/feed/" rel="self" type="application/rss+xml" />
	<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/</link>
	<description></description>
	<lastBuildDate>Thu, 18 Mar 2010 21:10:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rahul Malik</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3480</link>
		<dc:creator>Rahul Malik</dc:creator>
		<pubDate>Thu, 21 May 2009 13:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3480</guid>
		<description>I&#039;ve been using Django on and off for personal and professional projects for roughly a year now. I would say that I stayed with it because I was much more comfortable with python as a language and I didn&#039;t seem to hit any serious roadblocks with the framework itself with what i was trying to accomplish.

The problem, when the app gets large, is that I find the design of the application (not user interface but code organization) becomes more difficult and doesn&#039;t seem to make as much sense. If you are developing a web application it seems that rails might be better suited with their strict conventions rather than trying to find a way to cleanly set up a set of reusable apps like django encourages.

for the settings environments i would just create separate settings.py files or check which machine or user is starting the application in order to determine which environment to load.

I&#039;ll probably get back into rails (i started around the initial release) sometime soon and my main concern is developing a rails app that will be difficult to upgrade to future versions of rails. The django community cares deeply about backwards compatibility and their documentation is by far some of the best in the open source community.

feel free to email me for any django questions or concerns!

@rmalik</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using Django on and off for personal and professional projects for roughly a year now. I would say that I stayed with it because I was much more comfortable with python as a language and I didn&#8217;t seem to hit any serious roadblocks with the framework itself with what i was trying to accomplish.</p>
<p>The problem, when the app gets large, is that I find the design of the application (not user interface but code organization) becomes more difficult and doesn&#8217;t seem to make as much sense. If you are developing a web application it seems that rails might be better suited with their strict conventions rather than trying to find a way to cleanly set up a set of reusable apps like django encourages.</p>
<p>for the settings environments i would just create separate settings.py files or check which machine or user is starting the application in order to determine which environment to load.</p>
<p>I&#8217;ll probably get back into rails (i started around the initial release) sometime soon and my main concern is developing a rails app that will be difficult to upgrade to future versions of rails. The django community cares deeply about backwards compatibility and their documentation is by far some of the best in the open source community.</p>
<p>feel free to email me for any django questions or concerns!</p>
<p>@rmalik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Walli</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3479</link>
		<dc:creator>Stephen Walli</dc:creator>
		<pubDate>Fri, 24 Apr 2009 20:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3479</guid>
		<description>I had a similar problem when I started experimenting with Django on the Mac.  Here&#039;s how I solved it:
http://stephesblog.blogs.com/my_weblog/2008/10/mac-django-mysq.html</description>
		<content:encoded><![CDATA[<p>I had a similar problem when I started experimenting with Django on the Mac.  Here&#8217;s how I solved it:<br />
<a href="http://stephesblog.blogs.com/my_weblog/2008/10/mac-django-mysq.html" rel="nofollow">http://stephesblog.blogs.com/my_weblog/2008/10/mac-django-mysq.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Fuller</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3478</link>
		<dc:creator>Greg Fuller</dc:creator>
		<pubDate>Sun, 13 Jul 2008 10:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3478</guid>
		<description>I&#039;m using MAMP with Django.  The trick is to point DATABASE_HOST to the socket:

DATABASE_HOST = &#039;/Applications/MAMP/tmp/mysql/mysql.sock&#039;</description>
		<content:encoded><![CDATA[<p>I&#8217;m using MAMP with Django.  The trick is to point DATABASE_HOST to the socket:</p>
<p>DATABASE_HOST = &#8216;/Applications/MAMP/tmp/mysql/mysql.sock&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keir</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3477</link>
		<dc:creator>Keir</dc:creator>
		<pubDate>Sat, 12 Jul 2008 18:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3477</guid>
		<description>Apologies for those who posted and comments didn&#039;t appear promptly. For some reason WordPress required them to be moderated, suspect the links got them flagged.</description>
		<content:encoded><![CDATA[<p>Apologies for those who posted and comments didn&#8217;t appear promptly. For some reason WordPress required them to be moderated, suspect the links got them flagged.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keir</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3476</link>
		<dc:creator>Keir</dc:creator>
		<pubDate>Sat, 12 Jul 2008 18:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3476</guid>
		<description>@james Nice to see your comment on the blog - thanks for stopping by. Funnily enough I have been reading your book today and am finding it really useful.

I know the environments situation was something we didn&#039;t quite get right this time but thanks to the comments here and some recent reading I think we will definitely try and implement something soon.

I think your point about working with Python as well as Django is really important here. Personally the lack of &quot;magic&quot; is one of the main attractions to the framework for me. I love the flexibility but can fully understand why some developers favour &quot;convention over configuration&quot;.</description>
		<content:encoded><![CDATA[<p>@james Nice to see your comment on the blog &#8211; thanks for stopping by. Funnily enough I have been reading your book today and am finding it really useful.</p>
<p>I know the environments situation was something we didn&#8217;t quite get right this time but thanks to the comments here and some recent reading I think we will definitely try and implement something soon.</p>
<p>I think your point about working with Python as well as Django is really important here. Personally the lack of &#8220;magic&#8221; is one of the main attractions to the framework for me. I love the flexibility but can fully understand why some developers favour &#8220;convention over configuration&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Marshall</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3475</link>
		<dc:creator>Dave Marshall</dc:creator>
		<pubDate>Thu, 10 Jul 2008 11:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3475</guid>
		<description>With regards to getters and setters, you can always use PHP5&#039;s overloading magic methods (http://uk.php.net/manual/en/language.oop5.overloading.php)

I don&#039;t think it&#039;s as elegant, but has the same effect?

public $email;

becomes

private $email;

public function __set($prop, $val) {
    $method = &#039;set&#039; . ucfirst($prop);
    return $this-&gt;$method($val);
}

public function __get($prop) {
    $method = &#039;get&#039; . ucfirst($prop);
    return $this-&gt;$method;
}

/**
 * standard getters and setters
 */</description>
		<content:encoded><![CDATA[<p>With regards to getters and setters, you can always use PHP5&#8217;s overloading magic methods (<a href="http://uk.php.net/manual/en/language.oop5.overloading.php" rel="nofollow">http://uk.php.net/manual/en/language.oop5.overloading.php</a>)</p>
<p>I don&#8217;t think it&#8217;s as elegant, but has the same effect?</p>
<p>public $email;</p>
<p>becomes</p>
<p>private $email;</p>
<p>public function __set($prop, $val) {<br />
    $method = &#8217;set&#8217; . ucfirst($prop);<br />
    return $this-&gt;$method($val);<br />
}</p>
<p>public function __get($prop) {<br />
    $method = &#8216;get&#8217; . ucfirst($prop);<br />
    return $this-&gt;$method;<br />
}</p>
<p>/**<br />
 * standard getters and setters<br />
 */</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Bennett</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3464</link>
		<dc:creator>James Bennett</dc:creator>
		<pubDate>Thu, 10 Jul 2008 08:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3464</guid>
		<description>I find myself agreeing with Lawrence on setting up &quot;environments&quot;; the key thing I&#039;ve found in teaching people Django is the realization that you need to learn to work with not just Django but Django and Python, because Django deliberately doesn&#039;t reinvent a lot of things Python can already provide (better versions of) for free. So the natural thing for &quot;environments&quot; is just different settings files that you point to according to what you&#039;re doing; since they&#039;re just Python, they&#039;re free to import from each other selectively and override things as needed.</description>
		<content:encoded><![CDATA[<p>I find myself agreeing with Lawrence on setting up &#8220;environments&#8221;; the key thing I&#8217;ve found in teaching people Django is the realization that you need to learn to work with not just Django but Django and Python, because Django deliberately doesn&#8217;t reinvent a lot of things Python can already provide (better versions of) for free. So the natural thing for &#8220;environments&#8221; is just different settings files that you point to according to what you&#8217;re doing; since they&#8217;re just Python, they&#8217;re free to import from each other selectively and override things as needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Courtney</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3474</link>
		<dc:creator>Matt Courtney</dc:creator>
		<pubDate>Thu, 10 Jul 2008 01:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3474</guid>
		<description>Very interesting post but it didn&#039;t answer the question of why Elliott spends all day snacking.</description>
		<content:encoded><![CDATA[<p>Very interesting post but it didn&#8217;t answer the question of why Elliott spends all day snacking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lawrence Oluyede</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3463</link>
		<dc:creator>Lawrence Oluyede</dc:creator>
		<pubDate>Wed, 09 Jul 2008 10:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3463</guid>
		<description>@Elliott: eh eh python philosophy (and hence Django&#039;s) is to give more control to the developer being more explicit. That&#039;s why there&#039;s less magic than in Rails.</description>
		<content:encoded><![CDATA[<p>@Elliott: eh eh python philosophy (and hence Django&#8217;s) is to give more control to the developer being more explicit. That&#8217;s why there&#8217;s less magic than in Rails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliott</title>
		<link>http://carsonified.com/blog/carsonified/matt-week-what-was-it-like/#comment-3473</link>
		<dc:creator>Elliott</dc:creator>
		<pubDate>Wed, 09 Jul 2008 09:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/carsonified/matt-week-what-was-it-like#comment-3473</guid>
		<description>and @Lawrence, I like your solution, that would work. But really, it&#039;s a bit of a workaround for useful functionality that isn&#039;t present. In my opinion it would be more a bit elegant if the framework took care of that for you. I may be nit-picking :)

also @Milan regarding Python hosting - you&#039;re right, Python is available with most good providers. But PHP hosting is definitely more wide-spread and available, as is PHP support... and I dare say more developers are picking up PHP than python. I don&#039;t think this is a particularly good thing, though. It seems as though this is changing - Google App engine uses Python, for example.</description>
		<content:encoded><![CDATA[<p>and @Lawrence, I like your solution, that would work. But really, it&#8217;s a bit of a workaround for useful functionality that isn&#8217;t present. In my opinion it would be more a bit elegant if the framework took care of that for you. I may be nit-picking :)</p>
<p>also @Milan regarding Python hosting &#8211; you&#8217;re right, Python is available with most good providers. But PHP hosting is definitely more wide-spread and available, as is PHP support&#8230; and I dare say more developers are picking up PHP than python. I don&#8217;t think this is a particularly good thing, though. It seems as though this is changing &#8211; Google App engine uses Python, for example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
