<?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"
	>
<channel>
	<title>Comments on: SimpleBlog, where art thou?</title>
	<atom:link href="http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/</link>
	<description>Bring out the g33k</description>
	<pubDate>Thu, 20 Nov 2008 11:24:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Splee</title>
		<link>http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/#comment-18131</link>
		<dc:creator>Splee</dc:creator>
		<pubDate>Thu, 16 Nov 2006 19:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/#comment-18131</guid>
		<description>You don't have to create a class for each relation table if you don't want to.  Yes, you have to create the table itself, but unless you want to have extra information about the join in the relation table it can be kept up to date just using the mapper and relation() function.

For example, take the [many-to-many article][1].  There we have `tag_post_table`, but that doesn't need a class of it's own.  Once the actual definition has taken place and the mapper is made aware of the relationships SA handles everything for you.

And you can get hold of the plain SA identity relationships [here][2].

Hope this helps.


[1]: http://www.splee.co.uk/2006/10/28/simpleblog-part-3-many-to-many-relationships/
[2]: http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/qstemplates/quickstart/%2Bpackage%2B/model.py_tmpl#L127</description>
		<content:encoded><![CDATA[<p>You don&#8217;t have to create a class for each relation table if you don&#8217;t want to.  Yes, you have to create the table itself, but unless you want to have extra information about the join in the relation table it can be kept up to date just using the mapper and relation() function.</p>
<p>For example, take the <a href="http://www.splee.co.uk/2006/10/28/simpleblog-part-3-many-to-many-relationships/">many-to-many article</a>.  There we have <code>tag_post_table</code>, but that doesn&#8217;t need a class of it&#8217;s own.  Once the actual definition has taken place and the mapper is made aware of the relationships SA handles everything for you.</p>
<p>And you can get hold of the plain SA identity relationships <a href="http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/qstemplates/quickstart/%2Bpackage%2B/model.py_tmpl#L127">here</a>.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coredump</title>
		<link>http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/#comment-18117</link>
		<dc:creator>coredump</dc:creator>
		<pubDate>Thu, 16 Nov 2006 18:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/#comment-18117</guid>
		<description>you don't happen to have the Visit, VisitIdentity, Groups, etc... model.py using SQLAlchemy assign_mapper and not ActiveMapper roaming around your disk, do you?</description>
		<content:encoded><![CDATA[<p>you don&#8217;t happen to have the Visit, VisitIdentity, Groups, etc&#8230; model.py using SQLAlchemy assign_mapper and not ActiveMapper roaming around your disk, do you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coredump</title>
		<link>http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/#comment-18078</link>
		<dc:creator>coredump</dc:creator>
		<pubDate>Thu, 16 Nov 2006 16:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2006/11/15/simpleblog-where-art-thou/#comment-18078</guid>
		<description>The thing is, for each ManyToMany I need an 'extra' table to manage the relations. I have like 5 ManyToMany relations, so I have to create a lot of classes...

But you're right, after some hours spent with SO I'm already pissed off, I'll give SQLA another try. 

I should have used those hours spent with SO creating the extra tables then, right? Right. :)</description>
		<content:encoded><![CDATA[<p>The thing is, for each ManyToMany I need an &#8216;extra&#8217; table to manage the relations. I have like 5 ManyToMany relations, so I have to create a lot of classes&#8230;</p>
<p>But you&#8217;re right, after some hours spent with SO I&#8217;m already pissed off, I&#8217;ll give SQLA another try. </p>
<p>I should have used those hours spent with SO creating the extra tables then, right? Right. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
