Posted: Nov 9, 2007, 9:24 pm | Author: cyberryo | Category: Dialy | Tags: Cakephp
define(‘URL’,'http://www.hoge.com/’);
こんな感じでURLなど定数で定義してあると、開発環境が違うときに大変便利ですよー。
ということで、cakephpはどこで定数を定義すればよいのか。
アプリ全体→app/config/bootstrap.php
コントローラ→app/app_controller.php
モデル→app/app_model.php
Posted: Nov 8, 2007, 8:27 pm | Author: cyberryo | Category: Dialy | Tags: ThinkPad

長年のThinkPadユーザーですが、最近のThinkVantage系アプリには大変不満です。
Read the rest of this entry »
Posted: Nov 7, 2007, 6:47 pm | Author: cyberryo | Category: Dialy | Tags: ProjectManagement
Dekiwikiを自社サーバーにインストールして、CIやプロジェクト、定型文書の管理ツールとして、使用して2日目のレビュー。
Read the rest of this entry »
Posted: Nov 6, 2007, 4:42 pm | Author: cyberryo | Category: Dialy | Tags: Cakephp
基本的には下記findAllと同じらしい。
Model::findAll($conditions = null,
$fields = null,
$order = null,
$limit = null,
$page = 1,
$recursive = null
)
つまり、
$model = $this->Model->findAllById($id,null,’created DESC’);
これも知ってるか知らないかで差が出ますねー。
Posted: Nov 5, 2007, 12:27 pm | Author: cyberryo | Category: Dialy | Tags: Program, ProjectManagement, Web

最近やけに騒がれている、DekiWikiを試したくなった。
そして、プロジェクト管理ツールとして使えるのかどうか、検証してみることにした。
Read the rest of this entry »