Smartyとsample8のインストール(2) 以上の作業で、次のようなディレクトリやファイルが作成されます。 sample8 ┣━ cache/ ←キャッシュ機能を有効にした場合に使用 ┣━ config/ ←設定ファイルを保存 ┣━ icon.jpg ┣━ icon_mini.jpg ┣━ smarty1.php ┣━ smarty2.php ┣━ smarty3.php ┣━ smarty4.php ┣━ smarty5.php ┣━ smarty6.php ┣━ templates/ ←テンプレートファイルを保存 ┃┣━ template1.tpl ┃┣━ template2.tpl ┃┣━ template3.tpl ┃┣━ template4.tpl ┃┣━ template5.tpl ┃┣━ templat
![Smartyでテンプレートエンジンの威力を知る](https://cdn-ak-scissors.b.st-hatena.com/image/square/6e84fc6ab06f31b2e64248cbfc92fe06deb5bab5/height=288;version=1;width=512/https%3A%2F%2Fimage.itmedia.co.jp%2Fimages%2Flogo%2F1200x630_500x500_ait.gif)