狠狠撸

狠狠撸Share a Scribd company logo
??????????? 
?????????? 
TechGardenSchool 2014/10/11 (Kenichi Inoue)
?1???????? 
???????????????? 
????????????????????????????? 
???????
?? 
??????????????????????? 
??????????????
?????????????? 
????????????? 
?????????????????
??????????????? 
???????? 
1. ??????????????????????? 
2. ??????????????????Controller???? 
??????????? 
3. View??????????JavaScript?????? 
??1????????? 
???????????????????????????????????せ??????
???????ゎ????? 
??????10???????????????ぢ????? 
?????????????? 
????ぬ????
ゎ??????? 
1. ??????????? 
2. ???????ぢ???? 
a. PHP????????? 
b. CakePHP?API??????
?????????? 
????Google???????????? 
?????????????????????????????????????????????
???????ぢ? 
???????????Tech Garden School?????PHP? 
CakePHP?????????═????? 
???????????????????????????? 
?????????????????????? 
?ㄒ????ゝ????????????ㄒ??ㄒ???? 
??????
???????ぢ??? 
????????????????ぢ???? 
PHP→CakePHP?????CakePHP→PHP??? 
????????????????⿵?????????? 
????????????????????? 
═???????????????????
CakePHP?API?????? 
CakePHP 2.x Cookbook ???ㄒ?http://book.cakephp.org/2. 
0/ja/contributing/documentation.html 
CakePHP API ??ㄒ? 
http://api.cakephp.org/2.0/ 
CakePHP????????ㄒ? 
?????????????????????
PHP????????? 
PHP????? http://php.net/manual/ja/index.php 
???????? http://php.net/manual/ja/funcref.php
??????? 
1. ??????????┤??????????????? 
?? 
a. ?????????????グ????????????? 
CakePHP?????????????????? 
2. ??????????????????????????? 
????????????
???? 
??????????????? 
???????????????????????????? 
???????????? 
● ??????????????????????????? 
???????????????? 
● ????????CakePHP?API????????????? 
????????????
???? 
GET?????????if????? 
$order = $this->request->query[‘order’]; 
if ( $order == ‘asc’ ) { 
// ????????????? 
} else { 
// ????????????? 
}
???????????? 
???????

More Related Content

自分でロジックを考えてプログラムしてみよう