nought

Nought is never in danger.

Archive for the ‘cakephp’ tag

Cakphpのちょっと不思議な挙動

without comments

先週、発見したんですがCakePHPを使ってて不思議な挙動にはまりました。
Read the rest of this entry »

Written by mongorian-chop

11月 16th, 2009 at 10:32 pm

Posted in 技術

Tagged with ,

CakePHPのAuthコンポーネントとAjax

without comments

CakePHPで認証はAuthコンポーネントを使ってるんですが、セッション切れのときに画面の遷移をするとログイン画面に遷移するんですが、Ajaxの時はどうなるかやってみました。
ちなみにCakePHPは1.2.5を使いました。
Read the rest of this entry »

Written by mongorian-chop

10月 12th, 2009 at 11:45 am

Posted in 技術

Tagged with ,

gettext。。。知らないことばっか。

without comments

CakePHPでgettextを使って国際化してるんですが
Read the rest of this entry »

Written by mongorian-chop

8月 18th, 2009 at 12:25 am

Posted in 技術

Tagged with ,

CakePHPでAjax

without comments

そのままでprototype.jsは使えるようなんですが、jQueryのValidationプラグインを使いたかったので、ちょっと調べました。
Read the rest of this entry »

Written by mongorian-chop

8月 13th, 2009 at 9:05 pm

Posted in 技術

Tagged with

CakePHPでajax

without comments

jQueryのValidationプラグインがajaxでサーバ側のチェックまで使えるので試してみました。
Read the rest of this entry »

Written by mongorian-chop

8月 10th, 2009 at 10:53 pm

Posted in 技術

Tagged with ,

メールを送信してみた

without comments

CakePHPでメールを送信してみました。

Read the rest of this entry »

Written by mongorian-chop

8月 9th, 2009 at 2:09 am

Posted in 技術

Tagged with

バリデーションのメッセージ

without comments

バリデーションでメッセージをモデルの中に書くんじゃなくどっかにまとめたいなぁといろいろ探してcakephperの日記さんの記事を発見しました。
Read the rest of this entry »

Written by mongorian-chop

8月 5th, 2009 at 11:19 pm

Posted in 技術

Tagged with

SSLから非SSLページへリダイレクト

without comments

非SSLページからSSLページへのリダイレクトはSecureコンポーネントで行けるんですけど、その逆が行けるのか未だにわかってません。
Read the rest of this entry »

Written by mongorian-chop

8月 5th, 2009 at 12:21 am

Posted in 技術

Tagged with

Security.levelにハメられた!

without comments

ログインページをSSLでアクセスして、そのあとのページをSSLからhttpに変えたらセッションが切れてしまいました。
Read the rest of this entry »

Written by mongorian-chop

8月 5th, 2009 at 12:18 am

Posted in 技術

Tagged with

パスワードを変える

without comments

CakePHPでAuthコンポーネントを使ってるんですが、パスワードを変える時ってどうすんの?
Read the rest of this entry »

Written by mongorian-chop

8月 3rd, 2009 at 11:35 pm

Posted in 技術

Tagged with