仕様変更検討: URLのリライト
- 今まで: mod_rewriteとPATH_INFOを併用
- 例えば: /test/sample.html → /dispatcher.php/test/sample
- これから: mod_rewriteのみを使用
- 例えば: /test/sample.html → /dispatcher.php?test__sample
- クエリパラメータは$_SERVER['QUERY_STRING']に格納される
- 2階層目までをアクション名として使用する
- 例えば: /test.html → アクション名: Test
- 例えば: /test/sample.html → アクション名: TestSample
- 例えば: /test/sample/query.html → アクション名: TestSample
- アクションクラスの$this->parametersにarray('query')が格納される
- 例えば: /test/sample/query1/query2.html → アクション名: TestSample
- アクションクラスの$this->parametersにarray('query1', 'query2')が格納される
- 何階層目までをアクション名として使用するか設定可能にするべきか?