初めてのTwig+ZendFramework
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

初めてのTwig+ZendFramework

  • 3,416 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,416
On Slideshare
3,317
From Embeds
99
Number of Embeds
5

Actions

Shares
Downloads
21
Comments
0
Likes
2

Embeds 99

http://blog.nully.org 94
http://www.slideshare.net 2
http://translate.googleusercontent.com 1
http://macbook-air.local 1
http://ss.dotbranch.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. ZendFramework #2 2010 3 Room7H Twig + Zend Framework
  • 2. #phpstudy_91 @wozozo ZendFramework #2 2
  • 3. #phpstudy_91 DF PHP ZendFramework #2 3
  • 4. #phpstudy_91 #phpstudy #phpstudy_91 ZendFramework #2 4
  • 5. #phpstudy_91 ZendFramework #2 5
  • 6. #phpstudy_91 188cm var_export PHPer http://blog.nully.org/ ZendFramework #2 6
  • 7. #phpstudy_91 Zend Framework ✴ Ver 1.6.3 ✴ ... ✴ ZendFramework #2 7
  • 8. #phpstudy_91 Zend Framework ✴ ZF cakePHP ✴ Interface Abstract ✴ ZF ZF ZendFramework #2 8
  • 9. #phpstudy_91 � � ZendFramework #2 9
  • 10. #phpstudy_91 ZendFramework #2 10
  • 11. #phpstudy_91 ZendFramework #2 11
  • 12. #phpstudy_91 JARO Twitter ZendFramework #2 12
  • 13. #phpstudy_91 ✓ Twgi ✓ Twig ✓ Twig Zend Framework ✓ ZendFramework #2 13
  • 14. #phpstudy_91 ZendFramework #2 14
  • 15. #phpstudy_91 <(_ _)> ZendFramework #2 15
  • 16. #phpstudy_91 Zend Framework ZendFramework #2 16
  • 17. #phpstudy_91 Twig ZendFramework #2 17
  • 18. #phpstudy_91 Twig ZendFramework #2 18
  • 19. #phpstudy_91 Twig ZendFramework #2 19
  • 20. Twig #phpstudy_91 Twig Smarty Flexy Symfony ZendFramework #2 20
  • 21. #phpstudy_91 10/02/22 0.9.6 DEV 0.9.5 ZendFramework #2 21
  • 22. #phpstudy_91 Archive zip Git Github Subversion PEAR ZendFramework #2 22
  • 23. #phpstudy_91 new BSD BSD UNIX 4.3 BSD Net/2 BSD UNIX FreeBSD NetBSD ※ README.markdown ZendFramework #2 23
  • 24. #phpstudy_91 ZendFramework #2 24
  • 25. Twig #phpstudy_91 Twig ✓ PHP5.2.4 ✓ ✓ ✓ PHP ZendFramework #2 25
  • 26. Twig #phpstudy_91 Twig ✓ PHP5.2.4 ✓ ✓ ✓ PHP ZendFramework #2 26
  • 27. Twig #phpstudy_91 ✓ {% %} Twig {{ }} ZendFramework #2 27
  • 28. Twig #phpstudy_91 ✓ {% %} {{ }} ZendFramework #2 28
  • 29. Twig #phpstudy_91 Twig ✓ PHP5.2.4 ✓ ✓ ✓ PHP ZendFramework #2 29
  • 30. Twig #phpstudy_91 Twig ✓ PHP5.2.4 ✓ ✓ ✓ PHP ZendFramework #2 30
  • 31. Twig #phpstudy_91 ✓ • YYYY/mm/dd {{ time|date }} → 2010/03/06 ZendFramework #2 31
  • 32. Twig #phpstudy_91 ✓ • {% if name == ‘nully’ %} {% endif %} ZendFramework #2 32
  • 33. Twig #phpstudy_91 Twig ZendFramework #2 33
  • 34. #phpstudy_91 Twig ZendFramework #2 34
  • 35. Twig #phpstudy_91 Twig Loader ZendFramework #2 35
  • 36. Twig #phpstudy_91 Twig Loader Twig_Loader_String Twig_Loader_Filesystem Twig_Loader_Array ZendFramework #2 36
  • 37. Twig #phpstudy_91 Twig_Loader_String ZendFramework #2 37
  • 38. Twig #phpstudy_91 Twig_Loader_Filesystem HTML ZendFramework #2 38
  • 39. Twig #phpstudy_91 Twig_Loader_Array ZendFramework #2 39
  • 40. Twig #phpstudy_91 ZF Twig_Loader_Filesystem ZendFramework #2 40
  • 41. Twig #phpstudy_91 BASIC API USAGE ZendFramework #2 41
  • 42. #phpstudy_91 BASIC API USAGE 42
  • 43. Twig #phpstudy_91 BASIC API USAGE spl_autoloader 43
  • 44. #phpstudy_91 Loader 44
  • 45. #phpstudy_91 Twig 45
  • 46. #phpstudy_91 46
  • 47. #phpstudy_91 47
  • 48. #phpstudy_91 HTML 48
  • 49. Twig #phpstudy_91 ZendFramework #2 49
  • 50. #phpstudy_91 Zend Framework ZendFramework #2 50
  • 51. Zend Framework #phpstudy_91 ✓ View ✓ Extension ✓ ViewHelper ZendFramework #2 51
  • 52. Zend Framework #phpstudy_91 ZendFramework #2 52
  • 53. Zend Framework #phpstudy_91 View Zend_View_Abstract ZendFramework #2 53
  • 54. Zend Framework #phpstudy_91 Nully_View_Twig ZendFramework #2 54
  • 55. Zend Framework #phpstudy_91 Nully_View_Twig ZendFramework #2 55
  • 56. Zend Framework #phpstudy_91 Nully_View_Twig ZendFramework #2 56
  • 57. Zend Framework #phpstudy_91 Extension Twig_Extension Extension ZendFramework #2 57
  • 58. Zend Framework #phpstudy_91 Nully_View_Extension ZendFramework #2 58
  • 59. Zend Framework #phpstudy_91 getFilters ZendFramework #2 59
  • 60. Zend Framework #phpstudy_91 Bootstrap ✴ Nully_View_Twig Extension ✴ ViewRenderer Nully_View_Twig ✴ View suffix ZendFramework #2 60
  • 61. Zend Framework #phpstudy_91 Bootstrap ZendFramework #2 61
  • 62. #phpstudy_91 ZendFramework #2 62
  • 63. #phpstudy_91 ZendFramework #2 63
  • 64. #phpstudy_91 ViewHelper Twig_Token ZendFramework #2 64
  • 65. Twig #phpstudy_91 ✓ • {% if name == ‘nully’ %} {% endif %} ZendFramework #2 65
  • 66. #phpstudy_91 ViewHelper Twig_Token ZendFramework #2 66
  • 67. #phpstudy_91 Token ✓ Token ✓ Twig_TokenParser ✓ Twig_Node ZendFramework #2 67
  • 68. #phpstudy_91 Token {% helper [ [ [ ...]]] %} zfh viewhelper OK ZendFramework #2 68
  • 69. #phpstudy_91 Nully_View_TokenParser • getTag() Token • parse() Token ZendFramework #2 69
  • 70. #phpstudy_91 parse Twig_Parser Helper Twig_Node ZendFramework #2 70
  • 71. #phpstudy_91 Nully_View_Node • __construct Helper • compile() ZendFramework #2 71
  • 72. #phpstudy_91 compile Helper Twig_Compiler::write() ViewHelper Zend_Controller_Action_HelperBroker ::getStaticHelper(“viewRenderer”) ZendFramework #2 72
  • 73. #phpstudy_91 Token Nully_Twig_Extension getTokenParsers() ZendFramework #2 73
  • 74. #phpstudy_91 getTokenParsers() ZendFramework #2 74
  • 75. #phpstudy_91 Token Parser Github http://github.com/Nully/zf_twig ZendFramework #2 75
  • 76. #phpstudy_91 • Twig Smarty • Zend Framework Twig_Loader_Filesystem View • Filter Token ViewHelper • ViewHelper Twig_TokenParser Twig_Node • Twig_TokenParser Twig_Node ZendFramework #2 76
  • 77. #phpstudy_91 • PHP ZendFramework #2 77
  • 78. #phpstudy_91 • Twitter @Nully • mixi 3800656 Nully • google buzz http://www.google.com/profiles/nully.nl CC BY 2.0 ✴ http://www.flickr.com/photos/jakecaptive/ ✴ http://www.flickr.com/photos/themacguy2k/ ✴ http://www.flickr.com/photos/aplumb/ ZendFramework #2 78