Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Last Month in PHP - September 2012

John Kary
September 15, 2012

Last Month in PHP - September 2012

Kansas City PHP User Group
September 15, 2012

John Kary

September 15, 2012
Tweet

More Decks by John Kary

Other Decks in Programming

Transcript

  1. Last Month in PHP
    September 15, 2012
    Kansas City PHP User Group
    John Kary
    @johnkary
    Slides: http://johnkary.net/talks

    View full-size slide

  2. New PHP versions
    5.4.7
    5.3.17

    View full-size slide

  3. Zend Framework 2.0
    Final
    Many new or rewritten libraries!

    View full-size slide

  4. Zend Framework 2.0
    Final
    ModuleManager
    EventManager
    ServiceManager
    DI
    MVC
    Loader
    Code
    Config
    Escaper
    HTTP
    i18n
    InputFilter
    Form
    Log
    Mail
    Session
    Uri

    View full-size slide

  5. Zend Framework 2.0
    Final
    ModuleManager
    EventManager
    ServiceManager
    DI
    MVC
    Loader
    Code
    Config
    Escaper
    HTTP
    i18n
    InputFilter
    Form
    Log
    Mail
    Session
    Uri

    View full-size slide

  6. // module/Album/config/module.config.php:
    return array(
    'controllers' => array(
    'invokables' => array(
    'Album\Controller\Album' => 'Album\Controller\AlbumController',
    ),
    ),
    // The following section is new and should be added to your file
    'router' => array(
    'routes' => array(
    'album' => array(
    'type' => 'segment',
    'options' => array(
    'route' => '/album[/:action][/:id]',
    'constraints' => array(
    'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
    'id' => '[0-9]+',
    ),
    'defaults' => array(
    'controller' => 'Album\Controller\Album',
    'action' => 'index',
    ),
    ),
    ),
    ),
    ),
    'view_manager' => array(
    'template_path_stack' => array(
    'album' => __DIR__ . '/../view',
    ),
    ),
    );
    Wire a Controller
    with a single Route

    View full-size slide

  7. Zend Framework 2.0
    Final
    • Official Release Announcement - http://bit.ly/zf2stable
    • Tutorial: http://zf2.readthedocs.org/en/latest/user-guide/overview.html
    • READ THROUGH THIS!
    • Build a simple MVC database-powered application
    • Zend Webcasts: http://www.zend.com/en/company/events/

    View full-size slide

  8. Zend Framework 1.12.0
    • More performant autoloading ported from ZF2
    • New Zend_EventManager - back port of Zend\EventManager

    View full-size slide

  9. Symfony 2.1.0
    Final
    • ~13 months since 2.0
    • Upgrading from 2.0: https://github.com/symfony/symfony/blob/master/UPGRADE-2.1.md
    • Notable changes
    • Form - lots and lots of API changes
    • Doctrine decoupling (better support for Propel)
    • Validator - MinLength, MaxLength replaced by Length
    • Soon moving to faster release cycle

    View full-size slide

  10. Sept 26 Training
    Going Further With Symfony
    Caching with ESI & Varnish
    Twig Templates
    Symfony Forms & Validation
    Authentication & Authorization
    DIC Configuration
    Automated Testing
    Sept 27-28 Conference
    A few notable talks...
    Keynote from Fabien
    Symfony2 meets Drupal 8
    Designing HTTP Interfaces
    In-Depth with Composer
    Symfony2 Form Tricks
    Security: In Real Life
    Sept 29 Hack
    Free Hack Day
    Lunch provided
    Ask questions to core devs
    Get help on your own project
    $350 $290 FREE
    http://sanfrancisco2012.live.symfony.com/

    View full-size slide

  11. Zendcon.com
    Oct 22 Training
    Choose 1 sessions:
    Part 1: Building a ZF2 App
    Part 1: Zend PHP 5.3 Cert Bootcamp
    Design Patterns Bootcamp
    QA for PHP Projects
    Going Deep w/ Zend Server Performance
    Choose 1 sessions:
    Part 2: Re-usable Modules in ZF2
    Part 2: Zend PHP 5.3 Cert Bootcamp
    Hands-On MongoDB
    Design and Build Your API
    Web-Security 360
    Oct 23-25 Conference
    Notable Zend-based talks...
    Intro to Zend Server 6
    Intro to ZF2 Router
    Working with ZF2’s Zend\Form
    Zend\Db 2.0
    Cryptography Made Easy in ZF2
    Notable community talks...
    Integrating ZF2 and Others using Composer
    Silex: Creating Sites in Hours, Not Days
    Designing Beautiful Software
    Event & Signal Programming
    PHPUnit Best Practices
    Test Mocks/Fixtures Can Save Your Sanity
    $595 $1,145

    View full-size slide

  12. fin
    http://johnkary.net/talks

    View full-size slide