<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Property Files, CakePHP, and Agile Development</title>
	<link>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/</link>
	<description>I am a nyc developer that moved to west virginia to start a software company.</description>
	<pubDate>Mon, 12 May 2008 12:28:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: John</title>
		<link>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/#comment-21194</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 06 Dec 2007 05:59:18 +0000</pubDate>
		<guid>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/#comment-21194</guid>
		<description>I'm not up on Cake, so I'll just use Rails as an example. Aside from the database connection defs, there is one master environment file that includes files for each defined environment, includes the file for the current environment I should say. So you basically have config &#62; environment.rb and config &#62; environments &#62; ENV.rb ...  You set common settings in the master file and environment sensitive settings in the environment files. A lot like what you're doing, but on the fly instead of during a build. It's way agile since you no longer need a build step.

All of these files are pumped through the ERB handler first, which is basically like PHP for Ruby so you can actually modify them dynamically if you want, either during a deploy phase or on t he fly.

You might also look into Capistrano for deployments. It is so freaky how easy it makes it to deploy to a clustered environment, and I think folks are using it with PHP apps too. It's written in Ruby, but then you're using Java already ... ;-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m not up on Cake, so I&#8217;ll just use Rails as an example. Aside from the database connection defs, there is one master environment file that includes files for each defined environment, includes the file for the current environment I should say. So you basically have config &gt; environment.rb and config &gt; environments &gt; ENV.rb &#8230;  You set common settings in the master file and environment sensitive settings in the environment files. A lot like what you&#8217;re doing, but on the fly instead of during a build. It&#8217;s way agile since you no longer need a build step.</p>
<p>All of these files are pumped through the ERB handler first, which is basically like PHP for Ruby so you can actually modify them dynamically if you want, either during a deploy phase or on t he fly.</p>
<p>You might also look into Capistrano for deployments. It is so freaky how easy it makes it to deploy to a clustered environment, and I think folks are using it with PHP apps too. It&#8217;s written in Ruby, but then you&#8217;re using Java already &#8230; <img src='http://blog.sternthal.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/#comment-21193</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Wed, 05 Dec 2007 16:07:13 +0000</pubDate>
		<guid>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/#comment-21193</guid>
		<description>Yeah you can use something similar in the database.php file, but I also have environment specific settings for an email server and will probably have others.

If i used the above approach wouldn't these items be scattered about?</description>
		<content:encoded><![CDATA[<p>Yeah you can use something similar in the database.php file, but I also have environment specific settings for an email server and will probably have others.</p>
<p>If i used the above approach wouldn&#8217;t these items be scattered about?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/#comment-21191</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 04 Dec 2007 18:46:35 +0000</pubDate>
		<guid>http://blog.sternthal.org/2007/11/28/property-files-cakephp-and-agile-development/#comment-21191</guid>
		<description>Rails accomplishes this by just having different environments in the database.yml file. I assume since Cake is a PHP-version of rails it probably sets CAKE_ENV which you can use to load the right environment .. no?

Have you given any thought to just using rails?</description>
		<content:encoded><![CDATA[<p>Rails accomplishes this by just having different environments in the database.yml file. I assume since Cake is a PHP-version of rails it probably sets CAKE_ENV which you can use to load the right environment .. no?</p>
<p>Have you given any thought to just using rails?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
