CakePHP内の持ってない機能をZendFrameworkで補うことに。最近のZFはとても高機能な上に、つまんで使えるのが素敵。 CakePHP1.2.x.xになってからvendor()が使えなくなりました。 PEARとかZendFrameworkを使うときにはクラスファイルを読み込む際にinclude_pathを通さなければならないので、その辺も踏まえつつ。 まずはZendFrameworkをダウンロードして、[app/vendors]に[Zend]をまるごと入れる。 そして、インクルードパスを設定するファイルを用意する。 app/vendors/zend_init.php <?php ini_set('include_path', get_include_path() . PATH_SEPARATOR . APP . 'vendors'); ?> あとはコントローラーで、zend_i
![CakePHP1.2でZendFrameworkを使う](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ec15fa713b95a26277508e0394f01222f0a6197/height=288;version=1;width=512/http%3A%2F%2Fblog.hereticsintheworld.com%2Fwp-content%2Fthemes%2Fver2%2Fimages%2Fogimage.png)