<?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"
	>
<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 - Vision - Technology - Programming</description>
	<pubDate>Tue, 06 Jan 2009 22:27:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Dérico Filho</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#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-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'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-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&#62;\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 'LIBSset.php' (include_path='.;C:\xampp\php\pear\') 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-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'll appear a dialogue with a FK table on which you'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'll offer you the option -wb (--with-bake), that it uses to generate Controller and View source code using CakePHP Bake'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 - if possible - 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-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'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-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'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>
	<item>
		<title>By: Wahoo</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-21</link>
		<dc:creator>Wahoo</dc:creator>
		<pubDate>Sat, 06 Oct 2007 01:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-21</guid>
		<description>Thank you for sharing!</description>
		<content:encoded><![CDATA[<p>Thank you for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Entradas en las blogosferas.18 - Carrero Bitácora de los Hermanos Carrero, David Carrero Fernández-Baillo y Jaime Carrero Fernández-Baillo.</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-19</link>
		<dc:creator>Entradas en las blogosferas.18 - Carrero Bitácora de los Hermanos Carrero, David Carrero Fernández-Baillo y Jaime Carrero Fernández-Baillo.</dc:creator>
		<pubDate>Sun, 23 Sep 2007 06:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-19</guid>
		<description>[...] Tutorial preliminar para DBDesigner2Cake. [...]</description>
		<content:encoded><![CDATA[<p>[...] Tutorial preliminar para DBDesigner2Cake. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dérico Filho</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-16</link>
		<dc:creator>Dérico Filho</dc:creator>
		<pubDate>Sun, 16 Sep 2007 19:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-16</guid>
		<description>Oi Osni!

Vc encontrou um bug, e eu resolvi. A versão corrigida está disponível na página de download:

http://www.cirello.org/dbdesigner2cake/download.html

Abraços.</description>
		<content:encoded><![CDATA[<p>Oi Osni!</p>
<p>Vc encontrou um bug, e eu resolvi. A versão corrigida está disponível na página de download:</p>
<p><a href="http://www.cirello.org/dbdesigner2cake/download.html" rel="nofollow">http://www.cirello.org/dbdesigner2cake/download.html</a></p>
<p>Abraços.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Osni Passos</title>
		<link>http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-15</link>
		<dc:creator>Osni Passos</dc:creator>
		<pubDate>Sun, 16 Sep 2007 18:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cirello.org/2007/09/12/preliminary-tutorial-for-dbdesigner2cake/#comment-15</guid>
		<description>Opa, 

Tentei usar a opção -wv mas não encontrei onde está a validação dentro do código gerado, na verdade não encontrei nada diferente, onde está? Imaginei que seria gerado algo como:

  var $validate = array(

      'login' =&#62; '/[a-z0-9\_\-]{3,}$/i',

      'password' =&#62; VALID_NOT_EMPTY,

      'email' =&#62; VALID_EMAIL,

      'born' =&#62; VALID_NUMBER

Quanto ao plugin, imaginei que pudesse ser feito dentro do próprio dbdesigner no menu de plugins, digamos em um botão gera-se tudo e desse mais opções, como se fosse uma interface para a linha de comando. mas não encontrei nada na documentação para isso.

Abraços e bom trabalho, gostei bastante da idéia de usar os modelos do dbdesigner ara gerar o código basico para o cake.

Abraços</description>
		<content:encoded><![CDATA[<p>Opa, </p>
<p>Tentei usar a opção -wv mas não encontrei onde está a validação dentro do código gerado, na verdade não encontrei nada diferente, onde está? Imaginei que seria gerado algo como:</p>
<p>  var $validate = array(</p>
<p>      &#8216;login&#8217; =&gt; &#8216;/[a-z0-9\_\-]{3,}$/i&#8217;,</p>
<p>      &#8216;password&#8217; =&gt; VALID_NOT_EMPTY,</p>
<p>      &#8216;email&#8217; =&gt; VALID_EMAIL,</p>
<p>      &#8216;born&#8217; =&gt; VALID_NUMBER</p>
<p>Quanto ao plugin, imaginei que pudesse ser feito dentro do próprio dbdesigner no menu de plugins, digamos em um botão gera-se tudo e desse mais opções, como se fosse uma interface para a linha de comando. mas não encontrei nada na documentação para isso.</p>
<p>Abraços e bom trabalho, gostei bastante da idéia de usar os modelos do dbdesigner ara gerar o código basico para o cake.</p>
<p>Abraços</p>
]]></content:encoded>
	</item>
</channel>
</rss>
