<?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: Ini files. The New (Old) Way to Configure Your Web Application</title>
	<atom:link href="http://jaybill.com/2009/01/06/ini-files-the-new-old-way-to-configure-your-web-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaybill.com/2009/01/06/ini-files-the-new-old-way-to-configure-your-web-application/</link>
	<description>Jaybill McCarthy&#039;s blog.</description>
	<lastBuildDate>Wed, 08 Sep 2010 23:50:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jaybill McCarthy</title>
		<link>http://jaybill.com/2009/01/06/ini-files-the-new-old-way-to-configure-your-web-application/comment-page-1/#comment-313</link>
		<dc:creator>Jaybill McCarthy</dc:creator>
		<pubDate>Thu, 08 Jan 2009 15:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/?p=344#comment-313</guid>
		<description>@ Binny V A - I think that really rides the line of &quot;easily editable by non-developer humans&quot;. ;) That approach also makes it impossible to recover from an error in the configuration. Because you&#039;re making the configuration essentially part of the code, a syntax error is going to stop the interpreter with no way to recover. If I parse an INI file, I can check to see if it&#039;s valid and act accordingly.</description>
		<content:encoded><![CDATA[<p>@ Binny V A &#8211; I think that really rides the line of &#8220;easily editable by non-developer humans&#8221;. ;) That approach also makes it impossible to recover from an error in the configuration. Because you&#8217;re making the configuration essentially part of the code, a syntax error is going to stop the interpreter with no way to recover. If I parse an INI file, I can check to see if it&#8217;s valid and act accordingly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binny V A</title>
		<link>http://jaybill.com/2009/01/06/ini-files-the-new-old-way-to-configure-your-web-application/comment-page-1/#comment-312</link>
		<dc:creator>Binny V A</dc:creator>
		<pubDate>Thu, 08 Jan 2009 07:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/?p=344#comment-312</guid>
		<description>IMO, a simpler option is to use PHP itself to create the configuration file...

config.php
 &#039;localhost&#039;,
&#039;db_username&#039; =&gt; &#039;root&#039;,
...
);
?&gt;

And it can be &#039;parsed&#039; with just...
require(&#039;config.php&#039;);</description>
		<content:encoded><![CDATA[<p>IMO, a simpler option is to use PHP itself to create the configuration file&#8230;</p>
<p>config.php<br />
 &#8216;localhost&#8217;,<br />
&#8216;db_username&#8217; =&gt; &#8216;root&#8217;,<br />
&#8230;<br />
);<br />
?&gt;</p>
<p>And it can be &#8216;parsed&#8217; with just&#8230;<br />
require(&#8216;config.php&#8217;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
