SlideShare a Scribd company logo
1 of 73
Zend Framework
Phwittr

                 zf-users.jp
             id:heavenshell
•

• cocoiti
Agenda
•
• Zend Framework
• Phwittr
•
•
• 1978 3
•             (                       )

• http://d.hatena.ne.jp/heavenshell
• http://coderepos.org/share/wiki/
  Committers/heavenshell
• http://openpear.org/maintainer/heavenshell/
HatenarMaps
HatenarMaps
Zend Framework
• Ver 1.0
• Zend Framework
      …(     )

•           Web
     (C      Java   C++   )
Zend Framework
Zend Framework


     Web         …
Zend Framework
•
•            FW

• OSS FW
• CakePHP   symfony   Codeigniter
Zend Framework
Zend Framework
Zend Framework

• Zend Framework
•          Hello world
Zend Framework

  • Zend Framework
  •          Hello world


Invalid controller specified (hello)
Zend Framework



   orz
Zend Framework
• CakePHP   symfony



•
•
    •
Zend Framework
• View   Smarty




    •     100% Smarty

•
Zend Framework
•                  Java    C#




• Zend Framework      XXX_Interface
    XXX_Abstract

•
Zend Framework
•
    •      (         )

•
    •
Zend Framework
•
•
    •    symfony     …

• FW
  •
•       FW
Zend Framework
•
• Zend Framework     Zend Framework
 •         symfony              …

• FW
  •
•      FW
Zend Framework
•
 •

•
Zend Framework
•

    •
•       1.5       Layout
         Smarty   Layout

•
Zend Framework
Zend Framework
Zend Framework

           Phwittr
Zend Framework

PHP
                                                     Phwittr


      PHP                                                      PHP



http://d.hatena.ne.jp/sotarok/20080422/php_framework_fight
Phwittr
Phwittr
•
    • app   configs, layouts, modules

    •
    •
Phwittr


• http://coderepos.org/share/browser/events/
  phpframework/zend_framework/trunk
•
•
•
•
•
Phwittr
•
    •

    •     DAO

• O/R         Zend_Db_Table
Phwittr
•                 Plugin

    • Zend_Auth
• Zend_Acl
 •
Phwittr
•          Zend_Auth_Adapter_DbTable



•               Salt   sha1

•        Salt

•          Junichiro
Phwittr
•

• Csrf
•
  •
Phwittr
• Layout
•
•
•
      postDispatch
Phwittr
•

•

• Zend_Db_Table
Phwittr
• Zend_Db_Statement           SQL
              /
       O/R

• Join
 • setIntegrityCheck(false)
Phwittr


• Ajax           AjaxContext

•   $ajaxContext->addActionContext('update',
    array('html', 'json'))->initContext();
Phwittr
• View Revulo_View_Phtmlc
 • <?= ?>         <?php echo
     htmlspecialchars() ?>

 •
• Zend_View_Abstract
Phwittr
•                 $this->render()

• Placeholder   Partial

  •
  •
• @hogefuga               View helper
Phwittr
•
•
•
          …

    •
Phwittr
•

•
    •         …

•
Phwittr
• ActionStack
• SidenaviController

•
       ActionStack     Sidenavi
Phwittr
• Forward     Action

•

•
Phwittr
• Ver 1.5
•           Ver 1.5

•
•
•                orz
Phwittr
•             Pear::Pager

•
     (                )

•             Magento       EC
• Zend Framework

•
• Zend_Controller_Frontend   Dispatch
•
•

•
•
•
•
•
•
• Cli
•
•
•
    validation

    http://d.hatena.ne.jp/hiro_y/20081119/1227026500
•
•

•
•
•

•
• Gene_Base::load('Service_Class_Name');
•
•

•
•   etc etc
•

•
• app   plugins, locale, views
•

• Zend_Translate
 • $translate->_(‘message’);
• ini
•
•

•
• Gene_Base::log()->write('hogefuga');
•
•                Zend_Config



• Zend_Cache_Frontend_File
•
•


• PHPSpec, Stagehand_Testrunner
DEMO
•
    …
•
    …
•   MVAC



•
•
•
•
    App

• App     array   stdClass

•         view

•
•
    •

• ActionStack   …
•
•

•
• Zend Framework


•
•
• Zend_Paginator Zend_File_Transfer
• Ver 1.8 Zend_Application
  Zend_Application_Module_Autoloader
Zend Framework Study@Tokyo Vol1

More Related Content

Similar to Zend Framework Study@Tokyo Vol1

第1回PHP拡張勉強会
第1回PHP拡張勉強会第1回PHP拡張勉強会
第1回PHP拡張勉強会Ippei Ogiwara
 
2007 0822 Antelope Php
2007 0822 Antelope Php2007 0822 Antelope Php
2007 0822 Antelope Phpgmaxsonic
 
글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...
글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...
글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...Junho Choi
 
Symfony 2.0
Symfony 2.0Symfony 2.0
Symfony 2.0GrUSP
 
Openshift: Deployments for the rest of us
Openshift: Deployments for the rest of usOpenshift: Deployments for the rest of us
Openshift: Deployments for the rest of usAnurag Patel
 
Enterprise PHP Development - ZendCon 2008
Enterprise PHP Development - ZendCon 2008Enterprise PHP Development - ZendCon 2008
Enterprise PHP Development - ZendCon 2008Ivo Jansch
 
Hacking Movable Type Training - Day 1
Hacking Movable Type Training - Day 1Hacking Movable Type Training - Day 1
Hacking Movable Type Training - Day 1Byrne Reese
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And MavenPerconaPerformance
 
Ajax Tutorial
Ajax TutorialAjax Tutorial
Ajax Tutorialoscon2007
 
Артем Маркушев - JavaScript
Артем Маркушев - JavaScriptАртем Маркушев - JavaScript
Артем Маркушев - JavaScriptDataArt
 
[Muir] Seam 2 in practice
[Muir] Seam 2 in practice[Muir] Seam 2 in practice
[Muir] Seam 2 in practicejavablend
 
BADCamp 2008 DB Sync
BADCamp 2008 DB SyncBADCamp 2008 DB Sync
BADCamp 2008 DB SyncShaun Haber
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Androidnatdefreitas
 
symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)
symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)
symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)Fabien Potencier
 
Efficient JavaScript Development
Efficient JavaScript DevelopmentEfficient JavaScript Development
Efficient JavaScript Developmentwolframkriesing
 
Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008phpbarcelona
 
微软客户端技术纵览
微软客户端技术纵览微软客户端技术纵览
微软客户端技术纵览ntoskrnl
 
How Not To Code Flex Applications
How Not To Code Flex ApplicationsHow Not To Code Flex Applications
How Not To Code Flex Applicationsjeff tapper
 

Similar to Zend Framework Study@Tokyo Vol1 (20)

第1回PHP拡張勉強会
第1回PHP拡張勉強会第1回PHP拡張勉強会
第1回PHP拡張勉強会
 
2007 0822 Antelope Php
2007 0822 Antelope Php2007 0822 Antelope Php
2007 0822 Antelope Php
 
글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...
글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...
글로벌 CDN과 동적 웹 가속 기술 (Global CDN & Dynamic Web Acceleration) - FNet Grand Conf...
 
Symfony 2.0
Symfony 2.0Symfony 2.0
Symfony 2.0
 
Openshift: Deployments for the rest of us
Openshift: Deployments for the rest of usOpenshift: Deployments for the rest of us
Openshift: Deployments for the rest of us
 
Enterprise PHP Development - ZendCon 2008
Enterprise PHP Development - ZendCon 2008Enterprise PHP Development - ZendCon 2008
Enterprise PHP Development - ZendCon 2008
 
Hacking Movable Type Training - Day 1
Hacking Movable Type Training - Day 1Hacking Movable Type Training - Day 1
Hacking Movable Type Training - Day 1
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And Maven
 
Ajax Tutorial
Ajax TutorialAjax Tutorial
Ajax Tutorial
 
Артем Маркушев - JavaScript
Артем Маркушев - JavaScriptАртем Маркушев - JavaScript
Артем Маркушев - JavaScript
 
[Muir] Seam 2 in practice
[Muir] Seam 2 in practice[Muir] Seam 2 in practice
[Muir] Seam 2 in practice
 
BADCamp 2008 DB Sync
BADCamp 2008 DB SyncBADCamp 2008 DB Sync
BADCamp 2008 DB Sync
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Android
 
symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)
symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)
symfony: An Open-Source Framework for Professionals (Dutch Php Conference 2008)
 
Pc54
Pc54Pc54
Pc54
 
Efficient JavaScript Development
Efficient JavaScript DevelopmentEfficient JavaScript Development
Efficient JavaScript Development
 
WordPress APIs
WordPress APIsWordPress APIs
WordPress APIs
 
Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008
 
微软客户端技术纵览
微软客户端技术纵览微软客户端技术纵览
微软客户端技术纵览
 
How Not To Code Flex Applications
How Not To Code Flex ApplicationsHow Not To Code Flex Applications
How Not To Code Flex Applications
 

Zend Framework Study@Tokyo Vol1

Editor's Notes