$30 off During Our Annual Pro Sale. View Details »

Last Month in PHP - December 2012

John Kary
December 15, 2012

Last Month in PHP - December 2012

Kansas City PHP User Group
December 15, 2012

John Kary

December 15, 2012
Tweet

More Decks by John Kary

Other Decks in Programming

Transcript

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

    View Slide

  2. Releases

    View Slide

  3. 5.4.9
    5.3.19

    View Slide

  4. 3.5
    "Elvin"
    New default theme: Twenty Twelve
    Brand new Media Manager
    Retina display support
    New color picker
    http://codex.wordpress.org/Version_3.5

    View Slide

  5. 1.0 Stable
    Lead: Paul M. Jones
    "Libraries First, Framework Second"
    • Autoload
    • CLI
    • DI
    • Filter
    • Framework
    • HTTP
    • Intl
    • Marshal
    • Router
    • Session
    • Signal
    • SQL
    • URI
    • View
    • Web
    http://auraphp.github.com/

    View Slide

  6. 2.0.4 & 2.0.5
    JSON and XML View Strategies
    Proxy IP Security Fix

    View Slide

  7. 2.0.19 & 2.1.4
    Proxy IP Security Fix

    View Slide

  8. ?

    View Slide

  9. Latest Developments

    View Slide

  10. password_compat
    https://github.com/ircmaxell/password_compat
    Forward compatibility with the
    password_* functions in PHP 5.5
    5.3.7 <= PHP < 5.5

    View Slide

  11. password_hash($password, $algo, array $options = array())
    password_get_info($hash)
    password_needs_rehash($hash, $algo, array $options = array())
    password_verify($password, $hash)
    Password Hashing API

    View Slide

  12. $password = password_hash('rasmuslerdorf', PASSWORD_BCRYPT, array(
    'cost' => 7,
    'salt' => 'useSomeSillyStringFor',
    ));
    Password Hashing API
    $2y$07$useSomeSillyStringFore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi
    Hashing
    Algorithm
    Cost Salt Hash

    View Slide

  13. // create.php
    $password = 'rasmuslerdorf';
    $hash = password_hash($password, PASSWORD_BCRYPT, array(
    'cost' => 7,
    'salt' => 'someLongRandomUniqueSalt',
    ));
    Password Hashing API
    // login.php
    $password = $_POST['password'];
    $hash = getPasswordHashByUserId($_GET['id']);
    if (password_verify($password, $hash)) {
    // Password Is Correct
    } else {
    // Password Is Not Correct
    }

    View Slide

  14. Install Twitter Bootstrap
    with Composer

    View Slide

  15. https://packagist.org/packages/twitter/bootstrap

    View Slide

  16. 2.2.2+
    // composer.json
    {
    "require": {
    "twitter/bootstrap": "v2.2.2"
    }
    }
    $ composer require twitter/bootstrap v2.2.2
    $ ls -la vendor/twitter/bootstrap/twitter/bootstrap

    View Slide

  17. Web Development
    Advent Calendars
    Image: http://www.flickr.com/photos/marfis75/5278866730/

    View Slide

  18. http://webadvent.org/2012
    http://24ways.org/
    http://freelancember.com/
    http://calendar.perfplanet.com/2012/
    http://advent2012.digitpaint.nl/

    View Slide

  19. Conferences / Events

    View Slide

  20. Hack Day

    View Slide

  21. KC Ruby
    Global Day of Coderetreat

    View Slide

  22. SunshinePHP.com
    • Held in sunny Miami, Florida
    • South Florida PHP User Group / ServerGrove
    • $220 tickets, $159 for students
    • 36 sessions, 12 will be Symfony-focused
    • Escape the cold Kansas winter!
    February 8-9, 2013

    View Slide

  23. SunshinePHP.com
    Anthony Ferrara
    Beth Tucker Long
    Brian Fenton
    Cal Evans
    Fabien Potencier
    Jordi Boggiano
    Keith Casey
    Ligaya Turmelle
    Paul M. Jones
    Rasmus Lerdorf
    Sebastian Bergmann
    • Keynotes from Rasmus, Cal & Keith
    • PHP 5.4: The New Bits
    • Cryptography for the Average Developer
    • 3 talks on modernizing legacy code
    • Coding, Deploying, Scaling with AWS
    • Building OpenSky with Symfony2
    • PHPUnit Best Practices
    February 8-9, 2013

    View Slide

  24. SunshinePHP.com
    Anthony Ferrara
    Beth Tucker Long
    Brian Fenton
    Cal Evans
    Fabien Potencier
    Jordi Boggiano
    Keith Casey
    Ligaya Turmelle
    Paul M. Jones
    Rasmus Lerdorf
    Sebastian Bergmann
    • Keynotes from Rasmus, Cal & Keith
    • PHP 5.4: The New Bits
    • Cryptography for the Average Developer
    • 3 talks on modernizing legacy code
    • Coding, Deploying, Scaling with AWS
    • Building OpenSky with Symfony2
    • PHPUnit Best Practices
    I'm Going!
    February 8-9, 2013

    View Slide

  25. April 5 & 6, 2013
    Kansas City, MO
    LIMITED
    $129 Early Bird tickets
    RubyMidwest.com

    View Slide

  26. April 5 & 6, 2013
    Kansas City, MO
    LIMITED
    $129 Early Bird tickets
    RubyMidwest.com
    I'm
    Going!

    View Slide

  27. View Slide

  28. View Slide

  29. View Slide

  30. Kansas City
    http://codeforamerica.org/2013-partners/kansas-city/

    View Slide

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

    View Slide