<?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: Nested Set Trees in ColdFusion</title>
	<atom:link href="http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/</link>
	<description></description>
	<lastBuildDate>Sun, 08 Jan 2012 15:53:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Kevan Stannard</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-29</link>
		<dc:creator>Kevan Stannard</dc:creator>
		<pubDate>Fri, 22 May 2009 16:50:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-29</guid>
		<description>Hi Will

Your plan sounds good to me.

Let me know if you have any questions on getting up and running with the library.

Regards

Kevan</description>
		<content:encoded><![CDATA[<p>Hi Will</p>
<p>Your plan sounds good to me.</p>
<p>Let me know if you have any questions on getting up and running with the library.</p>
<p>Regards</p>
<p>Kevan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Tomlinson</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-28</link>
		<dc:creator>Will Tomlinson</dc:creator>
		<pubDate>Fri, 22 May 2009 16:20:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-28</guid>
		<description>This category tool is perfect for what I need in my e-comm store application. 

I have a dumb question. I have a typical product table. productid as  PK. 

I need a product to be related to one or more categories and/or subcategories, any level deep. 

Would I simply create a linking table between my products table and category table? And use categoryId as a FK in my linking table? That way a product can be related to one or more items in the category table. 

Thank you so much!

Will</description>
		<content:encoded><![CDATA[<p>This category tool is perfect for what I need in my e-comm store application. </p>
<p>I have a dumb question. I have a typical product table. productid as  PK. </p>
<p>I need a product to be related to one or more categories and/or subcategories, any level deep. </p>
<p>Would I simply create a linking table between my products table and category table? And use categoryId as a FK in my linking table? That way a product can be related to one or more items in the category table. </p>
<p>Thank you so much!</p>
<p>Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Lee</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-27</link>
		<dc:creator>Aaron Lee</dc:creator>
		<pubDate>Fri, 06 Jun 2008 17:08:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-27</guid>
		<description>Hi Kevan,

That&#039;s great! I will certainly look forward to it.</description>
		<content:encoded><![CDATA[<p>Hi Kevan,</p>
<p>That&#8217;s great! I will certainly look forward to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevan Stannard</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-26</link>
		<dc:creator>Kevan Stannard</dc:creator>
		<pubDate>Fri, 06 Jun 2008 14:22:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-26</guid>
		<description>Hi Aaron

Putting something together about integration with Transfer is a great idea. I will put up some thoughts about it shortly. Thanks for the suggestion.</description>
		<content:encoded><![CDATA[<p>Hi Aaron</p>
<p>Putting something together about integration with Transfer is a great idea. I will put up some thoughts about it shortly. Thanks for the suggestion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Lee</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-25</link>
		<dc:creator>Aaron Lee</dc:creator>
		<pubDate>Thu, 05 Jun 2008 20:25:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-25</guid>
		<description>Very useful library. Thanks for sharing Kevan!

Have you tried integrating this with Transfer ORM? I&#039;d love to hear your thoughts on this.

Aaron</description>
		<content:encoded><![CDATA[<p>Very useful library. Thanks for sharing Kevan!</p>
<p>Have you tried integrating this with Transfer ORM? I&#8217;d love to hear your thoughts on this.</p>
<p>Aaron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevan Stannard</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-24</link>
		<dc:creator>Kevan Stannard</dc:creator>
		<pubDate>Sun, 01 Jun 2008 13:18:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-24</guid>
		<description>Adam, thanks for raising this. I will look into adding locking. For the transaction handling I am considering leaving that for the calling code for now.</description>
		<content:encoded><![CDATA[<p>Adam, thanks for raising this. I will look into adding locking. For the transaction handling I am considering leaving that for the calling code for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Cameron</title>
		<link>http://blog.stannard.net.au/2008/05/30/nested-set-trees-in-coldfusion/comment-page-1/#comment-23</link>
		<dc:creator>Adam Cameron</dc:creator>
		<pubDate>Sat, 31 May 2008 09:32:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-23</guid>
		<description>What is your position on handling &quot;race conditions&quot; which could crop up by a subsequent call to - for example - moveToNextSibling() whilst a previous call to it is still running, so that the queries end up running like this:

Request 1: updateLeft
Request 2: updateLeft
Request 1: updateRight
Request 2: updateRight

Rather then the required:

Request 1: updateLeft
Request 1: updateRight
Request 2: updateLeft
Request 2: updateRight

Your tree data will become corrupted.  I was caught out by this with my initial implementation of this sort of thing, in high-traffic situations.

You might want to put some locking or transactionality around your queries.

-- 
Adam</description>
		<content:encoded><![CDATA[<p>What is your position on handling &quot;race conditions&quot; which could crop up by a subsequent call to &#8211; for example &#8211; moveToNextSibling() whilst a previous call to it is still running, so that the queries end up running like this:</p>
<p>Request 1: updateLeft<br />
Request 2: updateLeft<br />
Request 1: updateRight<br />
Request 2: updateRight</p>
<p>Rather then the required:</p>
<p>Request 1: updateLeft<br />
Request 1: updateRight<br />
Request 2: updateLeft<br />
Request 2: updateRight</p>
<p>Your tree data will become corrupted.  I was caught out by this with my initial implementation of this sort of thing, in high-traffic situations.</p>
<p>You might want to put some locking or transactionality around your queries.</p>
<p>&#8211;<br />
Adam</p>
]]></content:encoded>
	</item>
</channel>
</rss>

