PHP でテンプレートエンジンSmatyの導入

SmatyはPHPで使えるテンプレートエンジン。 一番有名
http://www.gadgety.net/shin/tips/unix/php-tmpl.html
Smarty公式ページ
smartyダウンロードページ
■Smarty インストール(Windows + XAMPP環境)
1.ダウンロードして展開したファイルのlibsディレクトリをSmartyに変更
2."C:\xampp\php\php.ini"の447行目を編集

include_path = ".;C:\xampp\php\pear\;C:\xampp\php\Smarty\;"

3.Apacheを再起動
MuMuというPythonのDjangoに影響を受けたテンプレートエンジンを見つけた。
CakePHP + MuMu という使い方もありかも知れない。
http://qwik.jp/mumu/
mumu.php instead of Smarty

12. 10月 2007 von memo-log
カテゴリ: プログラミング |

コメント

コメント投稿

Required fields are marked *