タグ

cakePHPに関するku0522のブックマーク (2)

  • ■ - ぷぎがぽぎ

    cakeではモデルがテーブルのカラム定義を動的に取得しますが、 アクセスのたびにテーブル構造を取得するのはナンセンスということで テーブル構造をキャッシュする仕組みになっています。 これはこれでいいんですが、いったんリリースした(DEBUG = 0)アプリケーションで 後からテーブル構造だけ変更すると、反映されないことがあります。 ちなみにキャッシュされる期間は DEBUG > 0 => 15秒 DEBUG = 0 => 999日 となってます。 というわけで、キャッシュを消せばよいのですが、 キャッシュの場所は <アプリ名> /tmp/cache/models/に各モデル毎にあります。 これに気づかずにはまった。。

    ■ - ぷぎがぽぎ
  • CakePHP and OpenID - cakebaker

    This article is outdated, there is a newer tutorial! You probably heard about OpenID, the open, decentralized, free framework for user-centric digital identity. It allows you to authenticate with just your URI and a password for all services which support OpenID. The integration of OpenID into your (CakePHP) application is rather simple, and I wrote an OpenID component to make it even easier. Here

  • 1