<?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: Preliminary Tutorial for DBDesigner2Cake</title>
	<atom:link href="http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/</link>
	<description>Future - Technology - Programming</description>
	<lastBuildDate>Mon, 24 Aug 2009 23:36:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Juan Felipe</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-93</link>
		<dc:creator>Juan Felipe</dc:creator>
		<pubDate>Mon, 24 Aug 2009 23:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-93</guid>
		<description>Sorry, can not understand how to execute the file dbdesigner2cake.php is by command console, if this is how you build the line. thanks.</description>
		<content:encoded><![CDATA[<p>Sorry, can not understand how to execute the file dbdesigner2cake.php is by command console, if this is how you build the line. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alanex</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-88</link>
		<dc:creator>Alanex</dc:creator>
		<pubDate>Sun, 31 May 2009 08:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-88</guid>
		<description>Emmm.... I just wanted to let you know that instructions say you have to put dbdesigner2cake.php and moddeling.xml in the same folder of app, but you actually have to put them in app\webroot folder to work.

PD: it worked like a charm

PD2:(tested with 1.0.7 version, cake 1.2, and xampp)</description>
		<content:encoded><![CDATA[<p>Emmm&#8230;. I just wanted to let you know that instructions say you have to put dbdesigner2cake.php and moddeling.xml in the same folder of app, but you actually have to put them in app\webroot folder to work.</p>
<p>PD: it worked like a charm</p>
<p>PD2:(tested with 1.0.7 version, cake 1.2, and xampp)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kani</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-87</link>
		<dc:creator>kani</dc:creator>
		<pubDate>Sat, 02 May 2009 09:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-87</guid>
		<description>Sorry my english 
erase this following line
infector can’t open set.php</description>
		<content:encoded><![CDATA[<p>Sorry my english<br />
erase this following line<br />
infector can’t open set.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KaNi</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-86</link>
		<dc:creator>KaNi</dc:creator>
		<pubDate>Sat, 02 May 2009 09:26:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-86</guid>
		<description>Solved problem
dbdesigner2cake.php and save DBDesigner’s XML file in the same root directory of cakephp
1.
i made changes inside cake\libs\inflector.php line 34

if (!class_exists(&#039;Set&#039;)) {
	require LIBS . &#039;set.php&#039;;
}
// requires libsset.php no where it inside cakephp

to

if (!class_exists(&#039;Set&#039;)) {
	require &#039;set.php&#039;;
}
// requires set.php inside cake/libs/
infector can&#039;t open set.php
2. make changes
$CAKE_CORE_INCLUDE_PATH =  dirname(dirname(dirname(__FILE__))); // CakePHP&#039;s core files
$APP = basename(dirname(dirname(__FILE__))); // Default Location for APP directory

to

$CAKE_CORE_INCLUDE_PATH = dirname(__FILE__); // CakePHP&#039;s core files
$APP = dirname(__FILE__).&#039;/app&#039;; // Default Location for APP directory</description>
		<content:encoded><![CDATA[<p>Solved problem<br />
dbdesigner2cake.php and save DBDesigner’s XML file in the same root directory of cakephp<br />
1.<br />
i made changes inside cake\libs\inflector.php line 34</p>
<p>if (!class_exists(&#8216;Set&#8217;)) {<br />
	require LIBS . &#8216;set.php&#8217;;<br />
}<br />
// requires libsset.php no where it inside cakephp</p>
<p>to</p>
<p>if (!class_exists(&#8216;Set&#8217;)) {<br />
	require &#8216;set.php&#8217;;<br />
}<br />
// requires set.php inside cake/libs/<br />
infector can&#8217;t open set.php<br />
2. make changes<br />
$CAKE_CORE_INCLUDE_PATH =  dirname(dirname(dirname(__FILE__))); // CakePHP&#8217;s core files<br />
$APP = basename(dirname(dirname(__FILE__))); // Default Location for APP directory</p>
<p>to</p>
<p>$CAKE_CORE_INCLUDE_PATH = dirname(__FILE__); // CakePHP&#8217;s core files<br />
$APP = dirname(__FILE__).&#8217;/app&#8217;; // Default Location for APP directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dérico Filho</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-80</link>
		<dc:creator>Dérico Filho</dc:creator>
		<pubDate>Fri, 21 Nov 2008 13:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-80</guid>
		<description>@Lucas

Hi!

This tool shall soon be discontinued... The new bake.php is great!

bye!</description>
		<content:encoded><![CDATA[<p>@Lucas</p>
<p>Hi!</p>
<p>This tool shall soon be discontinued&#8230; The new bake.php is great!</p>
<p>bye!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Costa</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-79</link>
		<dc:creator>Lucas Costa</dc:creator>
		<pubDate>Fri, 21 Nov 2008 13:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-79</guid>
		<description>using:
1.0.6
DbDesigner 4
CakePHP 1.2.0.7692 RC3
windows vista (allowed ALL permissions to ALL users)

putting in a folder inside app as said david

getting
fopen(), failed to open stream
fwrite(), supplied argument is not a valid
fclose(), supplied argument is not a valid


It&#039;s a pity, good intentions.
Gonna bake oldschool...</description>
		<content:encoded><![CDATA[<p>using:<br />
1.0.6<br />
DbDesigner 4<br />
CakePHP 1.2.0.7692 RC3<br />
windows vista (allowed ALL permissions to ALL users)</p>
<p>putting in a folder inside app as said david</p>
<p>getting<br />
fopen(), failed to open stream<br />
fwrite(), supplied argument is not a valid<br />
fclose(), supplied argument is not a valid</p>
<p>It&#8217;s a pity, good intentions.<br />
Gonna bake oldschool&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bennett</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-74</link>
		<dc:creator>David Bennett</dc:creator>
		<pubDate>Thu, 09 Oct 2008 05:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-74</guid>
		<description>Had trouble getting this running until I figured out that the latest version of the script (1.0.6) and XML schema should be placed in a directory under the \app directory:

$CAKE_CORE_INCLUDE_PATH =  dirname(dirname(dirname(__FILE__)));
$APP = basename(dirname(dirname(__FILE__)));

Now I am getting a different error:

C:\projects\xxx\wwwroot\app\dbdesigner2cake&gt;\xampp\php\php dbdesigner2cake.php schema.xml
dbdesigner2cake.php: CakePHP 1.2.0.7692 RC3 detected.

Warning: require(LIBSset.php): failed to open stream: No such file or directory in C:\projects\xxx\wwwroot\cake\libs\inflector.php on line 37

Fatal error: require(): Failed opening required &#039;LIBSset.php&#039; (include_path=&#039;.;C:\xampp\php\pear\&#039;) in C:\projects\xxx\wwwroot\cake\libs\inflector.php on line 37

What is LIBSset.php?</description>
		<content:encoded><![CDATA[<p>Had trouble getting this running until I figured out that the latest version of the script (1.0.6) and XML schema should be placed in a directory under the \app directory:</p>
<p>$CAKE_CORE_INCLUDE_PATH =  dirname(dirname(dirname(__FILE__)));<br />
$APP = basename(dirname(dirname(__FILE__)));</p>
<p>Now I am getting a different error:</p>
<p>C:\projects\xxx\wwwroot\app\dbdesigner2cake&gt;\xampp\php\php dbdesigner2cake.php schema.xml<br />
dbdesigner2cake.php: CakePHP 1.2.0.7692 RC3 detected.</p>
<p>Warning: require(LIBSset.php): failed to open stream: No such file or directory in C:\projects\xxx\wwwroot\cake\libs\inflector.php on line 37</p>
<p>Fatal error: require(): Failed opening required &#8216;LIBSset.php&#8217; (include_path=&#8217;.;C:\xampp\php\pear\&#8217;) in C:\projects\xxx\wwwroot\cake\libs\inflector.php on line 37</p>
<p>What is LIBSset.php?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dérico Filho</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-27</link>
		<dc:creator>Dérico Filho</dc:creator>
		<pubDate>Sun, 11 Nov 2007 18:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-27</guid>
		<description>Hi Naxis,

I will begin from the top.

1. You can change the FK name by double-clicking in the relationship line. It&#039;ll appear a dialogue with a FK table on which you&#039;ll be able to rename it.

2. The dbdesigner2cake has a validation function, just add the -wv (--with-validation) parameters in invokation parameters.

3. When DBDesigner2Cake detects CakePHP 1.2, it&#039;ll offer you the option -wb (--with-bake), that it uses to generate Controller and View source code using CakePHP Bake&#039;s script.

Secondly, you told about an error I need more information, such which DBDesigner2Cake revision you are using, the CakePHP version you are using and also - if possible - the XML file which you used to produce the output.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Naxis,</p>
<p>I will begin from the top.</p>
<p>1. You can change the FK name by double-clicking in the relationship line. It&#8217;ll appear a dialogue with a FK table on which you&#8217;ll be able to rename it.</p>
<p>2. The dbdesigner2cake has a validation function, just add the -wv (&#8211;with-validation) parameters in invokation parameters.</p>
<p>3. When DBDesigner2Cake detects CakePHP 1.2, it&#8217;ll offer you the option -wb (&#8211;with-bake), that it uses to generate Controller and View source code using CakePHP Bake&#8217;s script.</p>
<p>Secondly, you told about an error I need more information, such which DBDesigner2Cake revision you are using, the CakePHP version you are using and also &#8211; if possible &#8211; the XML file which you used to produce the output.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naxis</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-26</link>
		<dc:creator>naxis</dc:creator>
		<pubDate>Sun, 11 Nov 2007 02:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-26</guid>
		<description>I&#039;m getting this warning

PHP Notice:  Undefined index:  categories in /var/www/html/cake_1.2/dbdesigner2cake.php on line 293</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting this warning</p>
<p>PHP Notice:  Undefined index:  categories in /var/www/html/cake_1.2/dbdesigner2cake.php on line 293</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naxis</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/comment-page-1/#comment-25</link>
		<dc:creator>naxis</dc:creator>
		<pubDate>Sun, 11 Nov 2007 02:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-25</guid>
		<description>thnak you very must for this great program.I&#039;m having a lot of fun with it.
I would like to ask two things.
1. You wrote that we must change the FK from tags_id to tag_id is that in the xml file DBDesigner vomits?

2. Can we make validation?

3. Can the program create the views files?

thank you</description>
		<content:encoded><![CDATA[<p>thnak you very must for this great program.I&#8217;m having a lot of fun with it.<br />
I would like to ask two things.<br />
1. You wrote that we must change the FK from tags_id to tag_id is that in the xml file DBDesigner vomits?</p>
<p>2. Can we make validation?</p>
<p>3. Can the program create the views files?</p>
<p>thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>
