<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Example of Configuration Driven Development with PHP</title>
<link>http://blog.roodo.com/rocksaying/archives/2644922.html/</link>
<description><![CDATA[Tags: agile-method cdd json

tokimeki 在回應《動態語言關於參數宣告的寫作風格》時提到： 所以我只要在函數內設定一個預設陣列，然後把參數陣列以及預設陣列丟進去處理就行了，傳回來就得到過濾好的參數陣列，而且保證每個參數都有值。接下來就可以對每個參數作驗證、運算等動作。 這個作法還可以按所謂「Configuration Driven Development」的概念進一步改良。 Configuration Driven Development 是以中介資料描述軟體運作時的組態，我們藉由組態內容便得以調整與協調程式運作的內容。可以參考 Steve McDuff 的這篇：《Configuration-driven development》。

]]>
	</description>
<language>zh-tw</language>
<generator>Roodo Blog System</generator>
<copyright>All Rights Reserved</copyright>
<atom:link href="http://blog.roodo.com/rocksaying/archives/2644922-comment.xml" rel="self" type="application/rss+xml" />
<item>
	<title>回應：Example of Configuration Driven Development with PHP</title>
	<description><![CDATA[是的，同樣的概念是可以應用於組態檔中，而我也有這麼作。
不過我仍然會使用於函數內是因為我想隱藏一些設計的細節，以及防止組態檔案被錯誤設置或時實體損壞。]]>
	</description>
	<link>http://blog.roodo.com/rocksaying/archives/2644922.html</link>
	<guid>http://blog.roodo.com/rocksaying/archives/2644922.html#comment-3845256</guid>
	<author>HACGIS@gmail.com(tokimeki)</author>	<category>文章回應</category>
	<pubDate>Sun, 14 Jan 2007 23:24:48 +0800</pubDate>
</item>
</channel>
</rss>