<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>David Cramer's Blog - Latest Comments in Denormalizing Model Abstraction in Django</title><link>http://davidcramer.disqus.com/</link><description></description><atom:link href="https://davidcramer.disqus.com/thread/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 02 Jan 2009 18:07:42 -0000</lastBuildDate><item><title>Re: Denormalizing Model Abstraction in Django</title><link>http://cramer.io//402/denormalizing-model-abstraction-in-django.html#comment-50153859</link><description>&lt;p&gt;Well we actually use Sql alchemy, which makes it very easy to achieve. Running two orms is sometimes annoying overhead though.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry Schellenbach</dc:creator><pubDate>Fri, 02 Jan 2009 18:07:42 -0000</pubDate></item><item><title>Re: Denormalizing Model Abstraction in Django</title><link>http://cramer.io//402/denormalizing-model-abstraction-in-django.html#comment-50153858</link><description>&lt;p&gt;We solved a similar problem using actual plugins and then delegating method implementations instead of trying to get fancy with subclasses.  The primary class has core behaviors and knows how to find a plugin based on a name.  The plugin is a separate object, instantiated by the primary class and invoked as part of the implementation of certain methods.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Doug Hellmann</dc:creator><pubDate>Tue, 30 Dec 2008 19:10:14 -0000</pubDate></item><item><title>Re: Denormalizing Model Abstraction in Django</title><link>http://cramer.io//402/denormalizing-model-abstraction-in-django.html#comment-50153857</link><description>&lt;p&gt;This is too powerful to fall on untrained hands...&lt;/p&gt;&lt;p&gt;I agree about the TemplateModel, it made me think of Django Templates&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jj</dc:creator><pubDate>Tue, 30 Dec 2008 18:46:13 -0000</pubDate></item><item><title>Re: Denormalizing Model Abstraction in Django</title><link>http://cramer.io//402/denormalizing-model-abstraction-in-django.html#comment-50153855</link><description>&lt;p&gt;This an interesting way to solve this problem, but I balk at the use of the term "denormalization" to describe what is going on. That word sets up expectations about the problem we are trying to solve that is at odds with what this mechanism actually provides.&lt;/p&gt;&lt;p&gt;I am searching for a better word and the closest I have come up with so far is "thunking" as the mechanism is akin to actualizing virtual function calling properties for Django models. (Also the implementation mechanism is sufficiently low-level to deserve the "thunking" label.) But I will bet that someone can suggest an even better name for this particular mechanism. Ideally it would be a fairly unique name so that searches can find it easily.&lt;/p&gt;&lt;p&gt;I am also looking forward to seeing if some other Django expert can suggest a cleaner and simpler way to implement a solution for this particular use case that offers the same power and flexibility. I wouldn't be surprised if the answer is no.&lt;/p&gt;&lt;p&gt;One final note - I also balk a bit at the use of the term TemplateModel as that term overloads the word Template in the Django context. I suggest ExtensibleBaseModel instead.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rock Howard</dc:creator><pubDate>Tue, 30 Dec 2008 07:12:10 -0000</pubDate></item></channel></rss>