<?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: My first Django project</title>
	<atom:link href="http://kosmaczewski.net/2008/01/11/my-first-django-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/</link>
	<description>sin incertidumbre no hay novedad, sin novedad posible no hay más que repetición y, por lo tanto, negación del otro como un ser libre: el ser libre es un ser incierto. (adrian mancuso)</description>
	<lastBuildDate>Mon, 15 Mar 2010 09:02:30 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nicky</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-19776</link>
		<dc:creator>nicky</dc:creator>
		<pubDate>Thu, 07 Aug 2008 11:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-19776</guid>
		<description>add your comment
seems doesn&#039;t work 
thx</description>
		<content:encoded><![CDATA[<p>add your comment<br />
seems doesn&#8217;t work<br />
thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-13798</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Mon, 31 Mar 2008 17:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-13798</guid>
		<description>You must go to the Django administrative console, as explained here: http://www.djangoproject.com/documentation/tutorial02/ (you should go to http://127.0.0.1:8000/admin/ after launching the Django application). Have fun!</description>
		<content:encoded><![CDATA[<p>You must go to the Django administrative console, as explained here: <a href="http://www.djangoproject.com/documentation/tutorial02/" rel="nofollow">http://www.djangoproject.com/documentation/tutorial02/</a> (you should go to <a href="http://127.0.0.1:8000/admin/" rel="nofollow">http://127.0.0.1:8000/admin/</a> after launching the Django application). Have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fred</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-13778</link>
		<dc:creator>fred</dc:creator>
		<pubDate>Mon, 31 Mar 2008 11:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-13778</guid>
		<description>Have I missed anythng, only...  How do you login to the admin???</description>
		<content:encoded><![CDATA[<p>Have I missed anythng, only&#8230;  How do you login to the admin???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-12531</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Sun, 02 Mar 2008 07:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-12531</guid>
		<description>I hate django&#039;s templating engine as much as I hate all the templating engines out there, no matter the language. This is the only reason why I think that php still has an advantage over advanced language for web developpment. 

But there *is* a solution: the brevé templating engine http://breve.twisty-industries.com/. This is a pure python templating engine. No need to learn any new templating engine. It is a very clever solution, in my opinion.</description>
		<content:encoded><![CDATA[<p>I hate django&#8217;s templating engine as much as I hate all the templating engines out there, no matter the language. This is the only reason why I think that php still has an advantage over advanced language for web developpment. </p>
<p>But there *is* a solution: the brevé templating engine <a href="http://breve.twisty-industries.com/" rel="nofollow">http://breve.twisty-industries.com/</a>. This is a pure python templating engine. No need to learn any new templating engine. It is a very clever solution, in my opinion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batiste Bieler</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-11323</link>
		<dc:creator>Batiste Bieler</dc:creator>
		<pubDate>Sun, 20 Jan 2008 20:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-11323</guid>
		<description>@Yoan: Yes we feed the troll but I have nothing better to do :-)

&quot;About MVC and MTV discussion, does MVC fits a web application that well&quot;

I would say not at all according the definition in the orginal document. The definition as been distorded since. I think I have found a document that explain that a controller could generate HTML :

http://www.jcorporate.com/expresso/doc/edg/edg_WhatIsMVC.html

But this document sounds like a bad joke to me.</description>
		<content:encoded><![CDATA[<p>@Yoan: Yes we feed the troll but I have nothing better to do :-)</p>
<p>&#8220;About MVC and MTV discussion, does MVC fits a web application that well&#8221;</p>
<p>I would say not at all according the definition in the orginal document. The definition as been distorded since. I think I have found a document that explain that a controller could generate HTML :</p>
<p><a href="http://www.jcorporate.com/expresso/doc/edg/edg_WhatIsMVC.html" rel="nofollow">http://www.jcorporate.com/expresso/doc/edg/edg_WhatIsMVC.html</a></p>
<p>But this document sounds like a bad joke to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoan</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-11321</link>
		<dc:creator>Yoan</dc:creator>
		<pubDate>Sun, 20 Jan 2008 19:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-11321</guid>
		<description>@Adrian:

“It’s like when you type “exit” or “quit” on the Python interpreter and it answers you with “Use exit() or Ctrl-D (i.e. EOF) to exit”. Please pay attention: the interpreter does not say “NameError: name ‘exit’ is not defined”! [...] This kind of stuff really puts me off.”

$ irb
&gt; def quit; puts &quot;quit&quot;; end; quit

Fail!

If you don&#039;t like Ctrl+D, use:

&gt;&gt;&gt; import sys; sys.exit()

About MVC and MTV discussion, does MVC fits a web application that well (all CRUD views apart)?

Weel fed troll anyway ;-)</description>
		<content:encoded><![CDATA[<p>@Adrian:</p>
<p>“It’s like when you type “exit” or “quit” on the Python interpreter and it answers you with “Use exit() or Ctrl-D (i.e. EOF) to exit”. Please pay attention: the interpreter does not say “NameError: name ‘exit’ is not defined”! [...] This kind of stuff really puts me off.”</p>
<p>$ irb<br />
&gt; def quit; puts &#8220;quit&#8221;; end; quit</p>
<p>Fail!</p>
<p>If you don&#8217;t like Ctrl+D, use:</p>
<p>&gt;&gt;&gt; import sys; sys.exit()</p>
<p>About MVC and MTV discussion, does MVC fits a web application that well (all CRUD views apart)?</p>
<p>Weel fed troll anyway ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batiste Bieler</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-11320</link>
		<dc:creator>Batiste Bieler</dc:creator>
		<pubDate>Sun, 20 Jan 2008 17:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-11320</guid>
		<description>More interesting stuff about MVC and the Web:

http://c2.com/cgi/wiki?WhatsaControllerAnyway
http://wardley.org/computers/web/mvc.html
http://www2.jeffcroft.com/blog/2007/jan/11/django-and-mtv/#c20446</description>
		<content:encoded><![CDATA[<p>More interesting stuff about MVC and the Web:</p>
<p><a href="http://c2.com/cgi/wiki?WhatsaControllerAnyway" rel="nofollow">http://c2.com/cgi/wiki?WhatsaControllerAnyway</a><br />
<a href="http://wardley.org/computers/web/mvc.html" rel="nofollow">http://wardley.org/computers/web/mvc.html</a><br />
<a href="http://www2.jeffcroft.com/blog/2007/jan/11/django-and-mtv/#c20446" rel="nofollow">http://www2.jeffcroft.com/blog/2007/jan/11/django-and-mtv/#c20446</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-11319</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Sun, 20 Jan 2008 17:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-11319</guid>
		<description>&quot;So, The interpreter tells you that its not the right way to do it. You are not interested to use the right command and learn a little more about the language? It think it’s valuable to know how to quit a programm correctly.&quot;

Oh, come on, gimme a break. This is about standards, my friend. If these guys like to reinvent the wheel, I do not. Again, it&#039;s a matter of taste, but in *other* technology stacks, we lose more time discussing about *our* apps&#039; functionality rather than the underlying frameworks inconsistencies.</description>
		<content:encoded><![CDATA[<p>&#8220;So, The interpreter tells you that its not the right way to do it. You are not interested to use the right command and learn a little more about the language? It think it’s valuable to know how to quit a programm correctly.&#8221;</p>
<p>Oh, come on, gimme a break. This is about standards, my friend. If these guys like to reinvent the wheel, I do not. Again, it&#8217;s a matter of taste, but in *other* technology stacks, we lose more time discussing about *our* apps&#8217; functionality rather than the underlying frameworks inconsistencies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batiste Bieler</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-11318</link>
		<dc:creator>Batiste Bieler</dc:creator>
		<pubDate>Sun, 20 Jan 2008 16:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-11318</guid>
		<description>@adrian

http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html

&quot;Smalltalk-80 presents the appearance that control resides in the mouse. As one moves and clicks the mouse, the objects on the Smalltalk-80 screen perform much as an orchestra obeying its conductor&quot;

When I started to read the controller role I get very confused. Certainly this document is the root of a lot of good thing and make sense in desktop development but, for me, it seems that this naming convention has been abused to many times. MVC is a very general concept and must not be taken as the holy graal for naming a 3 tier web app.

ROR and Django have exactly the same layout. Maybe it&#039;s just that the Django guys found that the MVC naming convention sucks and choiced another one.

Qt guys also thougt  that MVC is not the silver bullet for their framework : http://doc.trolltech.com/4.0/model-view-programming.html

&quot;Rails’ logger is Ruby’s one, and that hasn’t stopped DHH to explicitly turn it on in the framework. See?&quot;

What do you call explicit is not explicit for me. If you have to know that the framework imported the logging module for you I will call it implicit or maybe convention. In python you more like you have to import implicitly any thing you want use.

&quot;It’s like when you type “exit” or “quit” on the Python interpreter&quot;

So, The interpreter tells you that its not the right way to do it. You are not interested to use the right command and learn a little more about the language? It think it&#039;s valuable to know how to quit a programm correctly.

Claming that python/Django are not explicit will means that python creator had completly failed his mission because it&#039;s on of the most fondamental principle of the language : &gt;&gt;&gt; import this

&quot;Yesss… but they still have to learn *that* template language :) Will they?&quot;

Obviously yes.

&quot;What? Make them sign an NDA in that case!! If you don’t trust the people you work with, well, don’t work with them in the first place! :)))&quot;

I completly agree. But maybe you want to open template editing to someone that is not trusted at all, for exemple the site users (my space)... But this feature let a lot of others unresolved security problems open...</description>
		<content:encoded><![CDATA[<p>@adrian</p>
<p><a href="http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html" rel="nofollow">http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html</a></p>
<p>&#8220;Smalltalk-80 presents the appearance that control resides in the mouse. As one moves and clicks the mouse, the objects on the Smalltalk-80 screen perform much as an orchestra obeying its conductor&#8221;</p>
<p>When I started to read the controller role I get very confused. Certainly this document is the root of a lot of good thing and make sense in desktop development but, for me, it seems that this naming convention has been abused to many times. MVC is a very general concept and must not be taken as the holy graal for naming a 3 tier web app.</p>
<p>ROR and Django have exactly the same layout. Maybe it&#8217;s just that the Django guys found that the MVC naming convention sucks and choiced another one.</p>
<p>Qt guys also thougt  that MVC is not the silver bullet for their framework : <a href="http://doc.trolltech.com/4.0/model-view-programming.html" rel="nofollow">http://doc.trolltech.com/4.0/model-view-programming.html</a></p>
<p>&#8220;Rails’ logger is Ruby’s one, and that hasn’t stopped DHH to explicitly turn it on in the framework. See?&#8221;</p>
<p>What do you call explicit is not explicit for me. If you have to know that the framework imported the logging module for you I will call it implicit or maybe convention. In python you more like you have to import implicitly any thing you want use.</p>
<p>&#8220;It’s like when you type “exit” or “quit” on the Python interpreter&#8221;</p>
<p>So, The interpreter tells you that its not the right way to do it. You are not interested to use the right command and learn a little more about the language? It think it&#8217;s valuable to know how to quit a programm correctly.</p>
<p>Claming that python/Django are not explicit will means that python creator had completly failed his mission because it&#8217;s on of the most fondamental principle of the language : &gt;&gt;&gt; import this</p>
<p>&#8220;Yesss… but they still have to learn *that* template language :) Will they?&#8221;</p>
<p>Obviously yes.</p>
<p>&#8220;What? Make them sign an NDA in that case!! If you don’t trust the people you work with, well, don’t work with them in the first place! :)))&#8221;</p>
<p>I completly agree. But maybe you want to open template editing to someone that is not trusted at all, for exemple the site users (my space)&#8230; But this feature let a lot of others unresolved security problems open&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian</title>
		<link>http://kosmaczewski.net/2008/01/11/my-first-django-project/comment-page-1/#comment-11314</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Sun, 20 Jan 2008 11:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/2008/01/11/my-first-django-project/#comment-11314</guid>
		<description>@Batiste: thanks for the &quot;@class_method&quot; thing about the Post class; I was actually looking how to do that :)</description>
		<content:encoded><![CDATA[<p>@Batiste: thanks for the &#8220;@class_method&#8221; thing about the Post class; I was actually looking how to do that :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
