CakePHP DB Schema/Model
       Info Plugin
           Kenichirou Oyama   (k1LoW)




CakeMatsuri Tokyo 2009 LT            ...
Agenda
• About Me
• DB Schema/Model Info Plugin
• Usage




CakeMatsuri Tokyo 2009 LT            2
About Me



CakeMatsuri Tokyo 2009 LT         3
About Me
• name:
    – Kenichirou Oyama (id:k1LoW)
        • from Fukuoka JAPAN
• membership:
  – Fusic Co.,Ltd
    – code...
Do you know all about
   your CakePHP application's
      Model-relationship?


CakeMatsuri Tokyo 2009 LT       5
I don't know




CakeMatsuri Tokyo 2009 LT           6
Can you draw all about
   your CakePHP application's
             ERD?


CakeMatsuri Tokyo 2009 LT       7
I Can not.




CakeMatsuri Tokyo 2009 LT            8
DB Schema/Model Info Plugin
•     Generate
       – DB schema information page.
       – CakePHP Model information
       ...
DB Schema




CakeMatsuri Tokyo 2009 LT          10
Model




CakeMatsuri Tokyo 2009 LT           11
Model-relationship image




CakeMatsuri Tokyo 2009 LT       12
Usage




CakeMatsuri Tokyo 2009 LT           13
git clone git://github.com/k1LoW/model_info.git




CakeMatsuri Tokyo 2009 LT                            14
mv model_info app/plugins/




CakeMatsuri Tokyo 2009 LT                     15
goto http://yourapp/model_info/




CakeMatsuri Tokyo 2009 LT                      16
Enjoy!




CakeMatsuri Tokyo 2009 LT            17
Demo...?




CakeMatsuri Tokyo 2009 LT              18
Upcoming SlideShare
Loading in …5
×

CakePHP DB Schema/Model Info Plugin

2,896 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,896
On SlideShare
0
From Embeds
0
Number of Embeds
133
Actions
Shares
0
Downloads
8
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

CakePHP DB Schema/Model Info Plugin

  1. 1. CakePHP DB Schema/Model Info Plugin Kenichirou Oyama (k1LoW) CakeMatsuri Tokyo 2009 LT 1
  2. 2. Agenda • About Me • DB Schema/Model Info Plugin • Usage CakeMatsuri Tokyo 2009 LT 2
  3. 3. About Me CakeMatsuri Tokyo 2009 LT 3
  4. 4. About Me • name: – Kenichirou Oyama (id:k1LoW) • from Fukuoka JAPAN • membership: – Fusic Co.,Ltd – codecheck.in • “cake.el” maintener – CakePHP Emacs Minor Mode CakeMatsuri Tokyo 2009 LT 4
  5. 5. Do you know all about your CakePHP application's Model-relationship? CakeMatsuri Tokyo 2009 LT 5
  6. 6. I don't know CakeMatsuri Tokyo 2009 LT 6
  7. 7. Can you draw all about your CakePHP application's ERD? CakeMatsuri Tokyo 2009 LT 7
  8. 8. I Can not. CakeMatsuri Tokyo 2009 LT 8
  9. 9. DB Schema/Model Info Plugin • Generate – DB schema information page. – CakePHP Model information page. – CakePHP Model-relationship image with Graphviz. CakeMatsuri Tokyo 2009 LT 9
  10. 10. DB Schema CakeMatsuri Tokyo 2009 LT 10
  11. 11. Model CakeMatsuri Tokyo 2009 LT 11
  12. 12. Model-relationship image CakeMatsuri Tokyo 2009 LT 12
  13. 13. Usage CakeMatsuri Tokyo 2009 LT 13
  14. 14. git clone git://github.com/k1LoW/model_info.git CakeMatsuri Tokyo 2009 LT 14
  15. 15. mv model_info app/plugins/ CakeMatsuri Tokyo 2009 LT 15
  16. 16. goto http://yourapp/model_info/ CakeMatsuri Tokyo 2009 LT 16
  17. 17. Enjoy! CakeMatsuri Tokyo 2009 LT 17
  18. 18. Demo...? CakeMatsuri Tokyo 2009 LT 18

×