タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

CakePHPとログインに関するt14kwのブックマーク (2)

  • CakePHPでサイドバーにログインボックスを作る方法 - nori0620のメモ

    ログインコンテナって? というわけでこの前からちょいこちょことサイトを作成しながらcakePHPを勉強しています。 今日はすべての画面に表示されているサイドバーにログインコンテナを作る方法についてcakePHPの知識不足もあって手間取ってしまったのでまとめ直して置きます。 上で言っているログインボックスがどういうものかというと下の画像のようなもので、サイドバーとログインコンテナはサイトの全ての画面に表示されることが条件です。 ログイン前:ログイン情報を入力するフォームを表示 ログイン後:ユーザの登録情報とログアウトボタンを表示 作成の流れ ログインボックスの~/app/views/elements/にテンプレートを作成(ログイン前と後の2種類) ~/app/controllers/users_controller.phpに実際の処理を行い上のテンプレートを描画する関数を書く ログインボック

    CakePHPでサイドバーにログインボックスを作る方法 - nori0620のメモ
  • CakePHP - Build fast, grow solid | PHPフレームワーク

    New CakePHP 5.0 Chiffon. Faster. Simple. Delicious. What's new in version The migration guide has a complete list of what's new in. We recommend you give that page a read when upgrading. A few highlights from 5.0 are: PHP 8.1 required. Improved typehints across the framework. CakePHP now leverages union types to formalize the types of many parameters across the framework. Upgraded to PHPUnit 10.x

    CakePHP - Build fast, grow solid | PHPフレームワーク
  • 1