<?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: Using Configure in CakePHP applications</title> <atom:link href="http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/feed/" rel="self" type="application/rss+xml" /><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/</link> <description>A glimpse at a coder&#039;s troubled mind</description> <lastBuildDate>Wed, 03 Mar 2010 03:00:26 -0200</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Tom</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-543</link> <dc:creator>Tom</dc:creator> <pubDate>Thu, 11 Feb 2010 12:06:14 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-543</guid> <description>Thanks for the quick reference, I&#039;m always forgetting the syntax of this stuff ;) I am also a coder with a very troubled mind this morning lol!</description> <content:encoded><![CDATA[<p>Thanks for the quick reference, I&#8217;m always forgetting the syntax of this stuff <img
src='http://marianoiglesias.com.ar/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I am also a coder with a very troubled mind this morning lol!</p> ]]></content:encoded> </item> <item><title>By: Tad</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-468</link> <dc:creator>Tad</dc:creator> <pubDate>Fri, 29 Jan 2010 23:26:44 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-468</guid> <description>@adnan: Use Configure::store(). It&#039;s in the API docs.</description> <content:encoded><![CDATA[<p>@adnan: Use Configure::store(). It&#8217;s in the API docs.</p> ]]></content:encoded> </item> <item><title>By: mariano</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-211</link> <dc:creator>mariano</dc:creator> <pubDate>Sat, 02 Jan 2010 14:53:09 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-211</guid> <description>Of course that wouldn&#039;t save to the file. The Configure class is not about writing to the configuration file you parse from, but just to parse it. You&#039;d have to extend the Configure class yourself, and make it so after a write it saves to the file.</description> <content:encoded><![CDATA[<p>Of course that wouldn&#8217;t save to the file. The Configure class is not about writing to the configuration file you parse from, but just to parse it. You&#8217;d have to extend the Configure class yourself, and make it so after a write it saves to the file.</p> ]]></content:encoded> </item> <item><title>By: adnan</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-210</link> <dc:creator>adnan</dc:creator> <pubDate>Sat, 02 Jan 2010 12:25:04 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-210</guid> <description>Configure::write(&#039;Settings&#039;, array(
&#039;version&#039; =&gt; &#039;1.0.213&#039;,
&#039;title&#039; =&gt; &#039;My Application&#039;
)
);does not save the value to config file.. How can I update the config file using Configure::write ??</description> <content:encoded><![CDATA[<p>Configure::write(&#8216;Settings&#8217;, array(<br
/> &#8216;version&#8217; =&gt; &#8216;1.0.213&#8242;,<br
/> &#8216;title&#8217; =&gt; &#8216;My Application&#8217;<br
/> )<br
/> );</p><p>does not save the value to config file.. How can I update the config file using Configure::write ??</p> ]]></content:encoded> </item> <item><title>By: oes tsetnoc [Visitor]</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-142</link> <dc:creator>oes tsetnoc [Visitor]</dc:creator> <pubDate>Thu, 01 Oct 2009 22:12:00 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-142</guid> <description>Does anyone know what I have to change for showing the thumbnail and just the excerpt with it?? </description> <content:encoded><![CDATA[<p>Does anyone know what I have to change for showing the thumbnail and just the excerpt with it??</p> ]]></content:encoded> </item> <item><title>By: Gediminas [Visitor]</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-141</link> <dc:creator>Gediminas [Visitor]</dc:creator> <pubDate>Wed, 24 Jun 2009 00:58:00 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-141</guid> <description>Great job. But also need how to set config values from app_controller and so on </description> <content:encoded><![CDATA[<p>Great job. But also need how to set config values from app_controller and so on</p> ]]></content:encoded> </item> <item><title>By: mariano.iglesias [Member]</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-140</link> <dc:creator>mariano.iglesias [Member]</dc:creator> <pubDate>Fri, 04 Jul 2008 02:39:00 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-140</guid> <description>@mark: your &quot;of course&quot; statement pretty much answered your own question. If you are looking for static constants, then defines would work just fine (in fact, it would provide a small performance improvement.)&lt;br /&gt;
&lt;br /&gt;
However, if you are looking for variables that you don&#039;t want fixed (since they could be overriden at the application level by using Configure::write, or while loading another configuration file with Configure::load), then Configure is your best friend. </description> <content:encoded><![CDATA[<p>@mark: your &#8220;of course&#8221; statement pretty much answered your own question. If you are looking for static constants, then defines would work just fine (in fact, it would provide a small performance improvement.)</p><p>However, if you are looking for variables that you don&#8217;t want fixed (since they could be overriden at the application level by using Configure::write, or while loading another configuration file with Configure::load), then Configure is your best friend.</p> ]]></content:encoded> </item> <item><title>By: mark [Visitor]</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-139</link> <dc:creator>mark [Visitor]</dc:creator> <pubDate>Thu, 03 Jul 2008 20:04:00 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-139</guid> <description>what would be the big difference between doing it that way and just defining constants - which are applicating-wide as well&lt;br /&gt;
&lt;br /&gt;
(of course, if the content of the config constants are not supposed to be changed anymore) </description> <content:encoded><![CDATA[<p>what would be the big difference between doing it that way and just defining constants &#8211; which are applicating-wide as well</p><p>(of course, if the content of the config constants are not supposed to be changed anymore)</p> ]]></content:encoded> </item> <item><title>By: Webmaster Mexico [Visitor]</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-138</link> <dc:creator>Webmaster Mexico [Visitor]</dc:creator> <pubDate>Wed, 26 Mar 2008 09:14:00 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-138</guid> <description>I try to implement this example, but I lost the data into my app_model. I need to do something else? </description> <content:encoded><![CDATA[<p>I try to implement this example, but I lost the data into my app_model. I need to do something else?</p> ]]></content:encoded> </item> <item><title>By: Jonny [Visitor]</title><link>http://marianoiglesias.com.ar/cakephp/using-configure-in-cakephp-applications/comment-page-1/#comment-137</link> <dc:creator>Jonny [Visitor]</dc:creator> <pubDate>Mon, 12 Nov 2007 11:07:00 +0000</pubDate> <guid
isPermaLink="false">http://marianoiglesias.com.ar/1/using-configure-in-cakephp-applications/#comment-137</guid> <description>Thanks buddy; great write up. </description> <content:encoded><![CDATA[<p>Thanks buddy; great write up.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 12/27 queries in 0.036 seconds using disk

Served from: ps15092.dreamhostps.com @ 2010-03-11 01:27:40 -->