<?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: CDbExpression</title>
	<atom:link href="http://php-thoughts.cubedwater.com/2009/cdbexpression/feed/" rel="self" type="application/rss+xml" />
	<link>http://php-thoughts.cubedwater.com/2009/cdbexpression/</link>
	<description>On PHP and things related</description>
	<lastBuildDate>Thu, 29 Jul 2010 07:57:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonah</title>
		<link>http://php-thoughts.cubedwater.com/2009/cdbexpression/comment-page-1/#comment-196</link>
		<dc:creator>Jonah</dc:creator>
		<pubDate>Tue, 03 Mar 2009 23:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://php-thoughts.cubedwater.com/?p=159#comment-196</guid>
		<description>@Wei
Thanks for the clarification

@Konstantin Mirin
Really?  That&#039;s interesting.  If you investigate it further I would be interested in knowing the cause.

@Garbago Olso
I see your point, but don&#039;t forget that Yii does *not* force you  to actually use Active Record.  You may instead write direct SQL as you would without a framework. (see http://www.yiiframework.com/doc/guide/database.dao)

So I would not use this &quot;feature&quot; against it.  It is only optional that you use Active Record.  I do confess that Yii&#039;s Active Record is not as extensive as CakePHP&#039;s in that it is not as flexible, but all in all, I would never go back to Cake (and besides, because Cake&#039;s active record was so extensive,  it was also slow).

It is a learning curve but once you get around it I believe you will be developing faster than ever.</description>
		<content:encoded><![CDATA[<p>@Wei<br />
Thanks for the clarification</p>
<p>@Konstantin Mirin<br />
Really?  That&#8217;s interesting.  If you investigate it further I would be interested in knowing the cause.</p>
<p>@Garbago Olso<br />
I see your point, but don&#8217;t forget that Yii does *not* force you  to actually use Active Record.  You may instead write direct SQL as you would without a framework. (see <a href="http://www.yiiframework.com/doc/guide/database.dao)" rel="nofollow">http://www.yiiframework.com/doc/guide/database.dao)</a></p>
<p>So I would not use this &#8220;feature&#8221; against it.  It is only optional that you use Active Record.  I do confess that Yii&#8217;s Active Record is not as extensive as CakePHP&#8217;s in that it is not as flexible, but all in all, I would never go back to Cake (and besides, because Cake&#8217;s active record was so extensive,  it was also slow).</p>
<p>It is a learning curve but once you get around it I believe you will be developing faster than ever.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garbago Olso</title>
		<link>http://php-thoughts.cubedwater.com/2009/cdbexpression/comment-page-1/#comment-195</link>
		<dc:creator>Garbago Olso</dc:creator>
		<pubDate>Tue, 03 Mar 2009 23:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://php-thoughts.cubedwater.com/?p=159#comment-195</guid>
		<description>well, that is a nice example of what frameworks do with your development process: instead of concentrating on the main work, you are trying to find the trick how to do things you already know with the framework. especially with SQL there is so much more than a simple select * from bla -  so all your sql knowledge is now worth nothing because the framework needs some special trick to to it. THAT is the moment when you find that the framework kills your worktime.</description>
		<content:encoded><![CDATA[<p>well, that is a nice example of what frameworks do with your development process: instead of concentrating on the main work, you are trying to find the trick how to do things you already know with the framework. especially with SQL there is so much more than a simple select * from bla &#8211;  so all your sql knowledge is now worth nothing because the framework needs some special trick to to it. THAT is the moment when you find that the framework kills your worktime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin Mirin</title>
		<link>http://php-thoughts.cubedwater.com/2009/cdbexpression/comment-page-1/#comment-178</link>
		<dc:creator>Konstantin Mirin</dc:creator>
		<pubDate>Sat, 28 Feb 2009 16:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://php-thoughts.cubedwater.com/?p=159#comment-178</guid>
		<description>Actually, this thing doesn&#039;t work with all MySQL+PHP configurations. I experienced the problems with such approach and had to use simply date(&#039;Y-m-d H:i:s&#039;). I didn&#039;t have time to investigate the issue, so it&#039;s just a quick note - be attentive :)
More pitfalls&amp;tips when changing environment for Yii in my blog (this is not advertisement:))</description>
		<content:encoded><![CDATA[<p>Actually, this thing doesn&#8217;t work with all MySQL+PHP configurations. I experienced the problems with such approach and had to use simply date(&#8216;Y-m-d H:i:s&#8217;). I didn&#8217;t have time to investigate the issue, so it&#8217;s just a quick note &#8211; be attentive :)<br />
More pitfalls&amp;tips when changing environment for Yii in my blog (this is not advertisement:))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wei</title>
		<link>http://php-thoughts.cubedwater.com/2009/cdbexpression/comment-page-1/#comment-161</link>
		<dc:creator>Wei</dc:creator>
		<pubDate>Tue, 24 Feb 2009 23:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://php-thoughts.cubedwater.com/?p=159#comment-161</guid>
		<description>To be more precise, prepared statements are used to bind the values. CDbExpression allows for arbitrary SQL fragments, therefore, extreme care must be taken when the fragment is generated from variable values such as user inputs. Avoid arbitrary SQL if possible.</description>
		<content:encoded><![CDATA[<p>To be more precise, prepared statements are used to bind the values. CDbExpression allows for arbitrary SQL fragments, therefore, extreme care must be taken when the fragment is generated from variable values such as user inputs. Avoid arbitrary SQL if possible.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
