<?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 simple task to generate sql scripts</title>
	<atom:link href="http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Wed, 28 Jul 2010 19:06:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-135767</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 04 Sep 2009 14:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-135767</guid>
		<description>@Matt: You are welcome!</description>
		<content:encoded><![CDATA[<p>@Matt: You are welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Kaufman</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-135697</link>
		<dc:creator>Matt Kaufman</dc:creator>
		<pubDate>Thu, 03 Sep 2009 02:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-135697</guid>
		<description>Thanks for this genius script.... This is the most useful thing for SQL in the world!  :)

Haven&#039;t seen anyone do anything this simple and awesome for this.  great thinking / solution.</description>
		<content:encoded><![CDATA[<p>Thanks for this genius script&#8230;. This is the most useful thing for SQL in the world!  :)</p>
<p>Haven&#8217;t seen anyone do anything this simple and awesome for this.  great thinking / solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-7568</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Wed, 04 Jul 2007 06:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-7568</guid>
		<description>@Bryn: Cool to hear that :)</description>
		<content:encoded><![CDATA[<p>@Bryn: Cool to hear that :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryn</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-7563</link>
		<dc:creator>Bryn</dc:creator>
		<pubDate>Tue, 03 Jul 2007 18:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-7563</guid>
		<description>Thanks it works great! (sorry about the double post previously)</description>
		<content:encoded><![CDATA[<p>Thanks it works great! (sorry about the double post previously)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-7304</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 21 Jun 2007 12:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-7304</guid>
		<description>@Bryn: I uploaded a new version to the downloads section. It is no longer a bake task but a cake shell script. The usage is now
&lt;pre&gt;
cake sqlscripts table1 table2...
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Bryn: I uploaded a new version to the downloads section. It is no longer a bake task but a cake shell script. The usage is now</p>
<pre>
cake sqlscripts table1 table2...
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryn</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-7263</link>
		<dc:creator>Bryn</dc:creator>
		<pubDate>Wed, 20 Jun 2007 16:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-7263</guid>
		<description>Anybody have any tips on how to make this work with Cake 1.2?</description>
		<content:encoded><![CDATA[<p>Anybody have any tips on how to make this work with Cake 1.2?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryn</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-7262</link>
		<dc:creator>bryn</dc:creator>
		<pubDate>Wed, 20 Jun 2007 16:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-7262</guid>
		<description>Anybody have any suggestions on how to make this work with Cake 1.2?</description>
		<content:encoded><![CDATA[<p>Anybody have any suggestions on how to make this work with Cake 1.2?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-1006</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 30 Oct 2006 16:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-1006</guid>
		<description>@Dieter@be: Yeah, keep your &quot;all-DDL-in-php&quot; idea, experiment with it, and build a cool solution ;-)</description>
		<content:encoded><![CDATA[<p>@Dieter@be: Yeah, keep your &#8220;all-DDL-in-php&#8221; idea, experiment with it, and build a cool solution ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieter@be</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-979</link>
		<dc:creator>Dieter@be</dc:creator>
		<pubDate>Sun, 29 Oct 2006 15:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-979</guid>
		<description>Well, you have some good points, if the task is intented to do just that, keeping the sql DDL in sync with the php cake models is just a small sacrifice for the dev. (no matter the solution, there is always a small sacrifice/compromise the dev has to make)  I&#039;m not going to forget my &quot;all-DDL-in-php idea though ;-)

On the other hand, it would be nice to have a task that is able to import/export the complete contents of a database..  By the time i start to use cake 1.2 i will maybe edit your script to give it the extra functionality.  (if nobody did it before me) :-)

Dieter</description>
		<content:encoded><![CDATA[<p>Well, you have some good points, if the task is intented to do just that, keeping the sql DDL in sync with the php cake models is just a small sacrifice for the dev. (no matter the solution, there is always a small sacrifice/compromise the dev has to make)  I&#8217;m not going to forget my &#8220;all-DDL-in-php idea though ;-)</p>
<p>On the other hand, it would be nice to have a task that is able to import/export the complete contents of a database..  By the time i start to use cake 1.2 i will maybe edit your script to give it the extra functionality.  (if nobody did it before me) :-)</p>
<p>Dieter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/comment-page-1/#comment-969</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sun, 29 Oct 2006 08:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2006/10/25/a-simple-task-to-generate-sql-scripts/#comment-969</guid>
		<description>@Dieter@be: Thanks for your comment.

First a correction: The task is useless in the scenario you described (sql export of dev environment and import in production environment). It is intended to be used for creating the skeleton of the table creation script for the dev environment. 

I am not sure if there should be some abstract level from which the database is generated. The only advantage of such an abstract level I see at the moment is when you want to support different databases. But I think most applications are built for just one database. So I think it is not worth the additional complexity. 

And concerning the workflow: for me it is more logical to start at the bottom layer and to move upwards, than to start on a middle layer and to create the bottom layer. If I start on a middle layer I am either restricted in what is possible (I possibly can&#039;t use a nice feature specific to a database) or the middle layer is much more complex as it contains the complexity of both layers.</description>
		<content:encoded><![CDATA[<p>@Dieter@be: Thanks for your comment.</p>
<p>First a correction: The task is useless in the scenario you described (sql export of dev environment and import in production environment). It is intended to be used for creating the skeleton of the table creation script for the dev environment. </p>
<p>I am not sure if there should be some abstract level from which the database is generated. The only advantage of such an abstract level I see at the moment is when you want to support different databases. But I think most applications are built for just one database. So I think it is not worth the additional complexity. </p>
<p>And concerning the workflow: for me it is more logical to start at the bottom layer and to move upwards, than to start on a middle layer and to create the bottom layer. If I start on a middle layer I am either restricted in what is possible (I possibly can&#8217;t use a nice feature specific to a database) or the middle layer is much more complex as it contains the complexity of both layers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
