<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Eric Florenzano's Blog - Latest Comments in OOP and Django</title><link>http://ericflorenzanosblog.disqus.com/</link><description>Eric Florenzano's Blog</description><atom:link href="https://ericflorenzanosblog.disqus.com/oop_and_django/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 17 Jul 2009 23:43:00 -0000</lastBuildDate><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325784</link><description>&lt;p&gt;that's a great post, thank you!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed Hardy shirts</dc:creator><pubDate>Fri, 17 Jul 2009 23:43:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325685</link><description>&lt;p&gt;&lt;/p&gt;&lt;p&gt;that's a great post, thank you!&lt;br&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">radyo dinle</dc:creator><pubDate>Fri, 17 Jul 2009 10:05:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325684</link><description>&lt;p&gt;&lt;/p&gt;&lt;p&gt;that's a great post, thank you!&lt;br&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sohbet</dc:creator><pubDate>Fri, 17 Jul 2009 10:05:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325581</link><description>&lt;p&gt;thanks man&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">film izle</dc:creator><pubDate>Fri, 17 Jul 2009 08:09:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325449</link><description>&lt;p&gt;It is a wonderful article,i like it,thank you very much!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">koxp</dc:creator><pubDate>Thu, 16 Jul 2009 04:28:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325258</link><description>&lt;p&gt;It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader.Thanks again.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tiffany and co</dc:creator><pubDate>Wed, 15 Jul 2009 13:17:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13325166</link><description>&lt;p&gt;Can you say any other Django alternatives? It's really interesting, and i'm wondering if there is something more like that :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Free Classified Ads</dc:creator><pubDate>Tue, 14 Jul 2009 04:49:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324953</link><description>&lt;p&gt;very clear&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">stop dreaming start action</dc:creator><pubDate>Sat, 11 Jul 2009 02:55:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324952</link><description>&lt;p&gt;good written&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">stop dreaming start action</dc:creator><pubDate>Sat, 11 Jul 2009 02:54:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324951</link><description>&lt;p&gt;Great info, thanks for sharing&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mengembalikan Jati Diri Bangsa</dc:creator><pubDate>Sat, 11 Jul 2009 02:53:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324911</link><description>&lt;p&gt;More great site list below:&lt;br&gt;&lt;a href="http://www.direct-scaffold.com" rel="nofollow noopener" target="_blank" title="http://www.direct-scaffold.com"&gt;http://www.direct-scaffold.com&lt;/a&gt; scaffolding&lt;br&gt;&lt;a href="http://www.jsymq.com" rel="nofollow noopener" target="_blank" title="http://www.jsymq.com"&gt;http://www.jsymq.com&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.zwf345.cn" rel="nofollow noopener" target="_blank" title="http://www.zwf345.cn"&gt;http://www.zwf345.cn&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">plastic injection molding</dc:creator><pubDate>Sat, 11 Jul 2009 02:35:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324791</link><description>&lt;p&gt;this is very interesting. thanks for that. we need more sites like this.&lt;br&gt;&lt;a href="http://hearthomes.blogbus.com/" rel="nofollow noopener" target="_blank" title="http://hearthomes.blogbus.com/"&gt;http://hearthomes.blogbus.com/&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sina.com.cn/hearthomes09" rel="nofollow noopener" target="_blank" title="http://blog.sina.com.cn/hearthomes09"&gt;http://blog.sina.com.cn/hea...&lt;/a&gt;&lt;br&gt;&lt;a href="http://hearthomes.yo2.cn/" rel="nofollow noopener" target="_blank" title="http://hearthomes.yo2.cn/"&gt;http://hearthomes.yo2.cn/&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hearthomes</dc:creator><pubDate>Fri, 03 Jul 2009 16:02:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324706</link><description>&lt;p&gt;Good evening. It's all right to have butterflies in your stomach. Just get them to fly in formation.&lt;br&gt;I am from Somalia and also now teach English, tell me right I wrote the following sentence: "At first, when we are used to continual flea protection the thought of a daily flea medicine."&lt;/p&gt;&lt;p&gt;Thanks :p. Drusilla.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Drusilla</dc:creator><pubDate>Wed, 01 Jul 2009 19:34:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324673</link><description>&lt;p&gt;I really appreciate it. Hope to know more important things regarding design from it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lingerie wholesale</dc:creator><pubDate>Sun, 28 Jun 2009 03:55:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324483</link><description>&lt;p&gt;Compare Pylons, which uses Controller classes for no apparent reason whatsoever.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tiffany jewellery </dc:creator><pubDate>Wed, 24 Jun 2009 21:57:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324482</link><description>&lt;p&gt;Oop is good for complex situations. When you can find actually complex web app that would really benefit from oop all the way let us know. As far as I have seen there has been none so far.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nike shoes</dc:creator><pubDate>Wed, 24 Jun 2009 21:57:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324480</link><description>&lt;p&gt;Think about the actual objects in a Django application: the model objects, request and response objects, etc. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ugg boots</dc:creator><pubDate>Wed, 24 Jun 2009 21:56:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324479</link><description>&lt;p&gt;isn't a function in python a static method on the containing module object?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jordan shoes</dc:creator><pubDate>Wed, 24 Jun 2009 21:55:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324478</link><description>&lt;p&gt;Good website,it is useful and helpful.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jordan shoes</dc:creator><pubDate>Wed, 24 Jun 2009 21:55:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324190</link><description>&lt;p&gt;This sounds a little bit like the idea of an "open" module in Ruby. I think that this is a really interesting idea, but one with some potentially dangerous consequences.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sexy costumes</dc:creator><pubDate>Mon, 22 Jun 2009 14:05:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324086</link><description>&lt;p&gt;Thx for sharing the exciting info with us.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">WoW Power Leveling</dc:creator><pubDate>Wed, 17 Jun 2009 21:38:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13324016</link><description>&lt;p&gt;Django is weird in this respect and it misses out on so much whilst causing users to tap a lot more code in.&lt;/p&gt;&lt;p&gt;Thinking about it, not only are django views not objects but nor are they real functions (I'm thinking functions in the pure sense - no side effects) - cos they hit the database.&lt;/p&gt;&lt;p&gt;This 'false-function' design gets the worst of both worlds:-&lt;/p&gt;&lt;p&gt;You have to deal with security for each and every function. Ok, this might be just a decorator, but you still have to write it every time&lt;br&gt;Likewise you have to deal with rendering the response each and every time&lt;br&gt;You can't do things like put functions into the database - this would be great as permissions would be as simple as matching Groups to functions.&lt;br&gt;You end up starting to think that fat functions are normal.&lt;/p&gt;&lt;p&gt;Compare any two view functions and you're bound to find loads of similarities.&lt;/p&gt;&lt;p&gt;I find it especially ironic with all the song and dance they make about how DRY the django code base is.&lt;/p&gt;&lt;p&gt;As for django's Model 'objects', they aren't objects at all, but as rightly pointed out, data structures. Objects are about messages and behaviour, not attributes and queries.&lt;/p&gt;&lt;p&gt;This 'false-object' design has had a severe impact on the django code base, which has largely gone unnoticed and, I believe, is contributing to the problems they now face getting releases out the door. When was 1.1 supposed to be out?&lt;/p&gt;&lt;p&gt;For fun, grep for getters and you'll see what a sorry state django is in behind the scenes.&lt;/p&gt;&lt;p&gt;In fact, last time I counted there were actually more return statements than defs!  Such things should never be used in OO code, outside of __new__.&lt;/p&gt;&lt;p&gt;Also, to correct some misconceptions, HTTP requests are in no way function calls. HTTP works by a browser sending a request message to a web server, which may then adjust its state and then may send a response message back. They are asynchronous messages to objects, the object being the web server. Even GETs work in this way. The fact that a GET request may respond with a different page at different time means it is not treated as a function in the true sense.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike A</dc:creator><pubDate>Mon, 15 Jun 2009 23:42:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13323975</link><description>&lt;p&gt;thanks a lot for the post!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">injection molding</dc:creator><pubDate>Sat, 13 Jun 2009 18:33:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13323740</link><description>&lt;p&gt;translates well to views in Django, because requests are basically function calls. Your browser calls some function of a web server.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ben10 oyunları</dc:creator><pubDate>Sun, 24 May 2009 21:01:00 -0000</pubDate></item><item><title>Re: OOP and Django</title><link>http://www.eflorenzano.com/blog/post/oop-and-django/#comment-13323700</link><description>&lt;p&gt;Good website,it is useful and helpful.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wholesale jewelry</dc:creator><pubDate>Thu, 14 May 2009 18:37:00 -0000</pubDate></item></channel></rss>