- プロダクトの言語/フレームワーク/DBなどのバージョン
- 開発内容
- 開発期間
- 予算
- 開発体制
- コミュニケーションツール
- ソースコード共有の可否
- 現段階での開発への課題
- その他求めることあれば
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CakePHPのAuthを使用するときに現在の場所にログイン後リダイレクトで戻ってくる設定 | |
| $this->Session->write('Auth.redirect', $this->here); | |
| http://www.templemantwells.com.au/article/tools-tips/cakephp-auth-redirect-to-previous-page |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // app/Model/User.php | |
| class User extends AppModel { | |
| public $validate = array( | |
| 'email' => 'email' | |
| ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| App::uses('Router', 'Routing'); | |
| class AppRoutesTest extends CakeTestCase { | |
| public function setUp(){ | |
| parent::setUp(); | |
| require APP . 'Config/routes.php'; | |
| } | |
| public function tearDown(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class User extends AppModel { | |
| public $validate = array( | |
| 'password' => array( | |
| 'rule' => array('between', 3, 10), | |
| 'message' => 'Between 3 to 10 characters' | |
| ), | |
| 'password_confirm' => array( | |
| 'rule' => array('passwordCheck'), | |
| 'message' => 'Confirm password again' |