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

投稿日: 2007-10-12 01:36:49

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