<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Eat my monkeydust &#187; propel</title>
	<atom:link href="http://eatmymonkeydust.com/category/propel/feed" rel="self" type="application/rss+xml" />
	<link>http://eatmymonkeydust.com</link>
	<description>Life, PHP and Symfony - straight from the monkey's mouth</description>
	<pubDate>Sun, 02 Nov 2008 22:41:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>How to write complex queries using Propel</title>
		<link>http://eatmymonkeydust.com/2008/04/how-to-write-complex-queries-using-propel/</link>
		<comments>http://eatmymonkeydust.com/2008/04/how-to-write-complex-queries-using-propel/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 09:27:22 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[propel]]></category>

		<category><![CDATA[criteria]]></category>

		<category><![CDATA[generator]]></category>

		<category><![CDATA[query]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://eatmymonkeydust.com/?p=13</guid>
		<description><![CDATA[This is a monster subject, and I spent a long time scratching my head over a few things yesterday, until I came across this site:
http://propel.jondh.me.uk/
It&#8217;s developed by a Symfony user, and allows you to type in sql statements using nested braces for prioritising. The form will then return a nicely formatted block of Propel code.
It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>This is a monster subject, and I spent a long time scratching my head over a few things yesterday, until I came across this site:</p>
<p><a title="Propel Criteria Builder" href="http://propel.jondh.me.uk/" target="_blank">http://propel.jondh.me.uk/</a></p>
<p>It&#8217;s developed by a Symfony user, and allows you to type in sql statements using nested braces for prioritising. The form will then return a nicely formatted block of Propel code.</p>
<p>It&#8217;s not perfect, and it doesn&#8217;t cover everything just yet, but it&#8217;s great for getting some ideas about the structure and how to use various criteria - it&#8217;s also spot on if you are trying to learn Propel and already know how to structure SQL statements.</p>
<p>Discuss this tool and/or contribute on the <a title="Discuss Propel Criteria Builder" href="http://www.symfony-project.org/forum/index.php/m/32692/" target="_blank">Symfony Forum</a></p>
<p>Using a combination of tools like this, and taking a look at the generated files in lib/model/om should give you a good push, and a bit of a shortcut to more complex queries than you may be used to - rather than having to trawl the Propel documentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://eatmymonkeydust.com/2008/04/how-to-write-complex-queries-using-propel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Propel is complaining about a table that doesn&#8217;t exist</title>
		<link>http://eatmymonkeydust.com/2008/04/propel-is-complaining-about-a-table-that-doesnt-exist/</link>
		<comments>http://eatmymonkeydust.com/2008/04/propel-is-complaining-about-a-table-that-doesnt-exist/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 08:39:39 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[propel]]></category>

		<category><![CDATA[clean up]]></category>

		<category><![CDATA[dump]]></category>

		<category><![CDATA[error]]></category>

		<category><![CDATA[lib]]></category>

		<category><![CDATA[propel-dump-data]]></category>

		<category><![CDATA[schema]]></category>

		<guid isPermaLink="false">http://eatmymonkeydust.com/?p=12</guid>
		<description><![CDATA[When you change your mind about your schema, and rename or remove any of your tables from your schema.yml or xml files, you must manually remove all the related classes in the lib/ folder.
Symfony does not delete these unused files when you run a build, so they will stack up and cause Propel errors, for [...]]]></description>
			<content:encoded><![CDATA[<p>When you change your mind about your schema, and rename or remove any of your tables from your schema.yml or xml files, you must manually remove all the related classes in the lib/ folder.</p>
<p>Symfony does not delete these unused files when you run a build, so they will stack up and cause Propel errors, for example when calling propel-dump-data.</p>
<p>Of course you can safely delete the lib/om and lib/map folders and run the build again, but you should manually delete the relevant files in /lib as there could be some user generated content in there also. These files are unlikely to cause any errors but might as well be deleted as part of your clean up since they are effectively useless if you have removed their referenced tables from the schema.</p>
]]></content:encoded>
			<wfw:commentRss>http://eatmymonkeydust.com/2008/04/propel-is-complaining-about-a-table-that-doesnt-exist/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
