<?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: A Glimpse Inside CakePHP 1.2:</title>
	<atom:link href="http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/</link>
	<description>Facebook should&#039;ve be written in unicornSchemaLang, because everyone *knows* that PHP is no good for anything, right?</description>
	<lastBuildDate>Mon, 09 Aug 2010 16:04:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: emilk</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/comment-page-1/#comment-8426</link>
		<dc:creator>emilk</dc:creator>
		<pubDate>Sun, 06 Jan 2008 09:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/#comment-8426</guid>
		<description>if you wanna use another name for the join model
you have to create the appropriate model class (a define the table and all nonstandardly named stuff) and use the model name in &#039;with&#039; param in the HABTM</description>
		<content:encoded><![CDATA[<p>if you wanna use another name for the join model<br />
you have to create the appropriate model class (a define the table and all nonstandardly named stuff) and use the model name in &#8216;with&#8217; param in the HABTM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael Kraus</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/comment-page-1/#comment-8119</link>
		<dc:creator>Raphael Kraus</dc:creator>
		<pubDate>Mon, 26 Nov 2007 03:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/#comment-8119</guid>
		<description>Hrmm... this no longer appears to work for me for 1.2.x.x from a fresh svn download.

Only the TaggedPost items appear to be populated into the array.

Any ideas?

Thanks!

R</description>
		<content:encoded><![CDATA[<p>Hrmm&#8230; this no longer appears to work for me for 1.2.x.x from a fresh svn download.</p>
<p>Only the TaggedPost items appear to be populated into the array.</p>
<p>Any ideas?</p>
<p>Thanks!</p>
<p>R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/comment-page-1/#comment-7989</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 20 Nov 2007 04:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/#comment-7989</guid>
		<description>Unsure why you&#039;d want to use a join table for more than just joining as that&#039;s the purpose...beyond that I&#039;d fear being inefficient and confusing.

However this is a SUPER handy convenience. Thanks for sharing! There&#039;s a lot of little things you don&#039;t normally see about CakePHP at first or even second glance.</description>
		<content:encoded><![CDATA[<p>Unsure why you&#8217;d want to use a join table for more than just joining as that&#8217;s the purpose&#8230;beyond that I&#8217;d fear being inefficient and confusing.</p>
<p>However this is a SUPER handy convenience. Thanks for sharing! There&#8217;s a lot of little things you don&#8217;t normally see about CakePHP at first or even second glance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hartjes</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/comment-page-1/#comment-7255</link>
		<dc:creator>Chris Hartjes</dc:creator>
		<pubDate>Wed, 05 Sep 2007 13:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/#comment-7255</guid>
		<description>@Luke 
Yeah, I saw some of that other new stuff and even to get to work with some of it because we generally eat our own dogfood at CDC, using the bleeding edge 1.2.x branch as long as it doesn&#039;t blow anything up

@Max
The &quot;with&quot; parameter is more of a convenience thing, allowing you to give a name to the join table if you want to use that instead of the actual table name.  I know that PhpNut did a bunch of refactoring to greatly reduce the number of queries needed for some HABTM relationships as well.</description>
		<content:encoded><![CDATA[<p>@Luke<br />
Yeah, I saw some of that other new stuff and even to get to work with some of it because we generally eat our own dogfood at CDC, using the bleeding edge 1.2.x branch as long as it doesn&#8217;t blow anything up</p>
<p>@Max<br />
The &#8220;with&#8221; parameter is more of a convenience thing, allowing you to give a name to the join table if you want to use that instead of the actual table name.  I know that PhpNut did a bunch of refactoring to greatly reduce the number of queries needed for some HABTM relationships as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/comment-page-1/#comment-7253</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Wed, 05 Sep 2007 10:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/#comment-7253</guid>
		<description>Hi Chris,

I tried to use it like the way it&#039;s explained in the sheets, however 1 or 2 days after the presentation, the trunk version changed and the &#039;with&#039; statement doesn&#039;t work like that anymore with HABTM relations.
If you look in the API, you see the relation is automatically created with a HABTM relation. Only thing is you have to call things differently now. 
You could read a discussion I had (dlmax) here:
http://logs.cakephp.nu/cakephp/chat.log.2007-08-19#line_14_07_marek796

Cheers,

Max</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>I tried to use it like the way it&#8217;s explained in the sheets, however 1 or 2 days after the presentation, the trunk version changed and the &#8216;with&#8217; statement doesn&#8217;t work like that anymore with HABTM relations.<br />
If you look in the API, you see the relation is automatically created with a HABTM relation. Only thing is you have to call things differently now.<br />
You could read a discussion I had (dlmax) here:<br />
<a href="http://logs.cakephp.nu/cakephp/chat.log.2007-08-19#line_14_07_marek796" rel="nofollow">http://logs.cakephp.nu/cakephp/chat.log.2007-08-19#line_14_07_marek796</a></p>
<p>Cheers,</p>
<p>Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke aka battez</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/comment-page-1/#comment-7252</link>
		<dc:creator>Luke aka battez</dc:creator>
		<pubDate>Wed, 05 Sep 2007 09:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimpse-inside-cakephp-12/#comment-7252</guid>
		<description>hey Chris 

it&#039;s actually for more than that. The join table can now have extra fields, and you can specify the model. Look at page 8 of the OC pdf. 

e.g. my join table can now have extra fields like a quantity and a date, which I then build a model for and can access CRUD on. Some HABTM join tables need this kind of meta-data .</description>
		<content:encoded><![CDATA[<p>hey Chris </p>
<p>it&#8217;s actually for more than that. The join table can now have extra fields, and you can specify the model. Look at page 8 of the OC pdf. </p>
<p>e.g. my join table can now have extra fields like a quantity and a date, which I then build a model for and can access CRUD on. Some HABTM join tables need this kind of meta-data .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
