先日、こんな記事が上がっていました。 Android開発者が知るべき10のこと この記事でまとまっているのは、Android開発において必要な10の項目です。 インターフェースの設計から、データの取り扱いまで。 AndroidはモバイルデバイスのOSで、CakePHPは単なるWebフレームワーク。 しかし、予め用意されたルールやAPIを活用する点は同じです。 つまり、フレームワーク全般において、開発者が知るべきことをまとめることが出来るはずです。 ここでは、私が良く利用するCakePHPフレームワークについて、開発者が知るべき10のことをまとめます。 1. CakePHPで良いのか CakePHPを使う際に、知るべきことその1。 それは、あなたは本当にCakePHPを使うべきなのかということです。 現在、あらゆるフレームワークが溢れ返っています。 Ruby Ruby On Rail
CakePHP 1.2RC3を利用しています。 ユーザ登録などでアカウントアクティベーションする際に、ユニークなIDを含むURLを発行してメールで送信し、そのURLにアクセスさせる方法は良く見られます。 ユニークIDをphpで出力する一例として md5(uniqid(rand(),1)); という方法などでmd5関数の出力結果を用いる場合があります(下記URL参照) http://d.hatena.ne.jp/kakku22/20081016/1224154493 CakePHPを使って、ユニークなIDを簡単に発行する方法は、コントローラで $uuid = String::uuid(); とすると、$uuidに 494955da-0a5c-408f-ab20-0778ff2fc4a6というようなユニークIDが含まれます。 これはCakePHPのcake/libs/string.phpのuu
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く