<?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: Converting Legacy Apps to CakePHP, Part 2</title>
	<atom:link href="http://www.littlehart.net/atthekeyboard/2008/12/04/converting-legacy-apps-to-cakephp-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littlehart.net/atthekeyboard/2008/12/04/converting-legacy-apps-to-cakephp-part-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
	<description>Facebook should&#039;ve be written in unicornSchemaLang, because everyone *knows* that PHP is no good for anything, right?</description>
	<lastBuildDate>Mon, 15 Mar 2010 20:19:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
		<item>
		<title>By: nate</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/12/04/converting-legacy-apps-to-cakephp-part-2/comment-page-1/#comment-11079</link>
		<dc:creator>nate</dc:creator>
		<pubDate>Tue, 09 Dec 2008 17:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=350#comment-11079</guid>
		<description>&quot;To put it bluntly, if your schema does not already account for relationships between multiple tables you are screwed&quot;

Actually this is *kinda* not true.  One feature we added a while ago was the ability to turn off the default association bindings, by setting &#039;foreignKey&#039; =&gt; false.  Combine that with a custom &#039;conditions&#039; property on the association (or just set up your own &#039;finderQuery&#039; manually), and you can associate your data pretty much any way you can imagine.

&quot;Cake doesn’t lend itself well to easily working with denormalized data as far as I can tell.&quot;

Again, you can get this to work fine, it just takes a bit of extra effort.  It&#039;s nice when you can move this effort down to the database (i.e. cascading foreign key updates) but if not, you just have to write a little extra callback code.</description>
		<content:encoded><![CDATA[<p>&#8220;To put it bluntly, if your schema does not already account for relationships between multiple tables you are screwed&#8221;</p>
<p>Actually this is *kinda* not true.  One feature we added a while ago was the ability to turn off the default association bindings, by setting &#8216;foreignKey&#8217; =&gt; false.  Combine that with a custom &#8216;conditions&#8217; property on the association (or just set up your own &#8216;finderQuery&#8217; manually), and you can associate your data pretty much any way you can imagine.</p>
<p>&#8220;Cake doesn’t lend itself well to easily working with denormalized data as far as I can tell.&#8221;</p>
<p>Again, you can get this to work fine, it just takes a bit of extra effort.  It&#8217;s nice when you can move this effort down to the database (i.e. cascading foreign key updates) but if not, you just have to write a little extra callback code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->