CakePHP

2008.02.21 @ Tricorn
100SHIKI Webmaster
http://www.checkpad.jp/



CakePHP Lightening Talk                             1
http://www.itmedia.co.jp/bizid/hitori_index.html

CakePHP Lightening Talk                                                 ...
CakePHP
       ____  
     /      \
    /  ─    ─\ 
  /    (●)  (●) \   最近、青い人がCakePHP、CakePHPってうるさいお
  |       (__人__)   ...
CakePHP

       /.:.:.         \
        /:,:.:.:  /   ヽ    \
      /.:.l:.:.:/:/   :/  ‘, :l   ヾ`ー
      /!:.:.|:.: l/  〃...
CakePHP
         ____
       /\  /\
     /( ●)  (●)\ キリッ  とりあえず挫折する気まんまんで
    /::::::⌒(__人__)⌒::::: \      はじめてみるお・・・ 
   ...
•

  •




CakePHP Lightening Talk   6
DAY 1

  CakePHP

                              win             vmware+CentOS4




                          http://cakeph...
DAY 1

  • chmod –R 777 app/tmp




CakePHP Lightening Talk    8
DAY 2

                          mixi




CakePHP Lightening Talk          9
DAY 2

  •
           –
           –
           –
           –
           – $uses




CakePHP Lightening Talk   10
DAY 3

  Association             $uses

  $this->set(‘blog’, $this->Blog->findAll());

  <?php echo $blog[‘Entry’][‘title’...
DAY 3

  •

  •




CakePHP Lightening Talk   12
DAY 4

  Find

  • find, findAll, findBy, findAllBy
  •
  •
  •




CakePHP Lightening Talk                13
DAY 4


  CakePHP

  • $this->Blog->findAll(“Blog.id=“.$id);
  • $this->Blog->findAll(array(“Blog.id”=>$id));




CakePHP ...
DAY 5

                          CakePHP API
                                                OK




                      ...
DAY 5

                          Twitter




CakePHP Lightening Talk             16
DAY 6

                                      models
                          afterFind




CakePHP Lightening Talk       ...
DAY 6

                          (   )




CakePHP Lightening Talk           18
DAY 7

  2 3




CakePHP Lightening Talk   19
DAY 7




CakePHP Lightening Talk   20
CakePHP

               ____
               /      \
              / ─    ─ \
            /   (●)  (●)  \  いや、難しくないから・・・
 ...
Upcoming SlideShare
Loading in …5
×

CakePHP Lightening Talk (2008-02-21)

23,007 views

Published on

CakePHP勉強会資料

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total views
23,007
On SlideShare
0
From Embeds
0
Number of Embeds
11,252
Actions
Shares
0
Downloads
67
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

CakePHP Lightening Talk (2008-02-21)

  1. 1. CakePHP 2008.02.21 @ Tricorn 100SHIKI Webmaster
  2. 2. http://www.checkpad.jp/ CakePHP Lightening Talk 1
  3. 3. http://www.itmedia.co.jp/bizid/hitori_index.html CakePHP Lightening Talk 2
  4. 4. CakePHP      ____      /      \   /  ─    ─\  /    (●)  (●) \   最近、青い人がCakePHP、CakePHPってうるさいお |       (__人__)    |   チュートリアルやればすぐわかるって言ってるお・・・ /     ∩ノ ⊃  /   でも、なんかめんどくさいお… (  \ / _ノ |  | .\ “  /__|  |     \ /___ / CakePHP Lightening Talk 3
  5. 5. CakePHP      /.:.:.         \       /:,:.:.:  /   ヽ    \     /.:.l:.:.:/:/   :/  ‘, :l   ヾ`ー     /!:.:.|:.: l/  〃 / j } :|    ハ   /イ:.:.i|:.:.jL∠/_/ | /l.ム_/| l  l }     N:.ハ:.:.:lィfアト/ レ ィ=ト | /| ∧j   ギーク大好きです・・・    ヽム:.} c;_j    c;リ ル iレヽ           `ヘ:ゝ    .'    小/         ヾ:{>、 _ ィ<}/|/     _, ィr'´ヽ{ ___`} ヽ、_        ____      /ノ   ヽ、_\    /( ○)}liil{(○)\         /    (__人__)   \     や、やるおー!   |   ヽ |!!il|!|!l| /   |     \    |ェェェェ|     / CakePHP Lightening Talk 4
  6. 6. CakePHP        ____      /\  /\    /( ●)  (●)\ キリッ  とりあえず挫折する気まんまんで   /::::::⌒(__人__)⌒::::: \      はじめてみるお・・・    |     |r┬-|     |      \      `ー'´     /     http://www.ideaxidea.com/archives/cakephp/ CakePHP Lightening Talk 5
  7. 7. • • CakePHP Lightening Talk 6
  8. 8. DAY 1 CakePHP win vmware+CentOS4 http://cakephp.jp/doc/apas02.html CakePHP Lightening Talk 7
  9. 9. DAY 1 • chmod –R 777 app/tmp CakePHP Lightening Talk 8
  10. 10. DAY 2 mixi CakePHP Lightening Talk 9
  11. 11. DAY 2 • – – – – – $uses CakePHP Lightening Talk 10
  12. 12. DAY 3 Association $uses $this->set(‘blog’, $this->Blog->findAll()); <?php echo $blog[‘Entry’][‘title’]; ?> CakePHP Lightening Talk 11
  13. 13. DAY 3 • • CakePHP Lightening Talk 12
  14. 14. DAY 4 Find • find, findAll, findBy, findAllBy • • • CakePHP Lightening Talk 13
  15. 15. DAY 4 CakePHP • $this->Blog->findAll(“Blog.id=“.$id); • $this->Blog->findAll(array(“Blog.id”=>$id)); CakePHP Lightening Talk 14
  16. 16. DAY 5 CakePHP API OK http://api.cakephp.org/ CakePHP Lightening Talk 15
  17. 17. DAY 5 Twitter CakePHP Lightening Talk 16
  18. 18. DAY 6 models afterFind CakePHP Lightening Talk 17
  19. 19. DAY 6 ( ) CakePHP Lightening Talk 18
  20. 20. DAY 7 2 3 CakePHP Lightening Talk 19
  21. 21. DAY 7 CakePHP Lightening Talk 20
  22. 22. CakePHP              ____            /      \           / ─    ─ \         /   (●)  (●)  \  いや、難しくないから・・・         |      (__人__)     |          \     ` ⌒´    ,/     r、     r、/          ヘ  ヽヾ 三 |:l1             ヽ   \>ヽ/ |` }           | |   とってもカンタンだお・・・    ヘ lノ `'ソ             | |     /´  /             |. |     \. ィ                |  |         |                |  | CakePHP Lightening Talk 21

×