Zend Frameworkのファイルシステムレイアウト

久々にcontrollerのドキュメントを見たんですが、表題のZend Frameworkのファイルシステムレイアウト件、

ファイルシステムレイアウトの作成
まずはディレクトリ構成を決めましょう。 典型的なレイアウトは、次のようなものです。

application/
controllers/
IndexController.php
models/
views/
scripts/
index/
index.phtml
helpers/
filters/
html/
.htaccess
index.php

と、ドキュメントルートのディレクトリ名がhtmlになってるんですね。
昔はdocument_rootだったので、ずっとそのままにしてましたが。
まあ、ディレクトリ名がなんだろうと、ここがルートだ!と指定してしまえばそれでいいんですケド。

みなさんはどういったディレクトリ名にしてたりするのでしょうか。

クイックスタートを見るとwwwだったりしますね。ますます名前はどうでも良いかな。

関連する記事:

Powered by

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">