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

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
  2. Releases

  3. 5.4.9 5.3.19

  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
  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/
  6. 2.0.4 & 2.0.5 JSON and XML View Strategies Proxy IP

    Security Fix
  7. 2.0.19 & 2.1.4 Proxy IP Security Fix

  8. ?

  9. Latest Developments

  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
  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
  12. $password = password_hash('rasmuslerdorf', PASSWORD_BCRYPT, array( 'cost' => 7, 'salt' =>

    'useSomeSillyStringFor', )); Password Hashing API $2y$07$useSomeSillyStringFore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi Hashing Algorithm Cost Salt Hash
  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 }
  14. Install Twitter Bootstrap with Composer

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

  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
  17. Web Development Advent Calendars Image: http://www.flickr.com/photos/marfis75/5278866730/

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

  19. Conferences / Events

  20. Hack Day

  21. KC Ruby Global Day of Coderetreat

  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
  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
  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
  25. April 5 & 6, 2013 Kansas City, MO LIMITED $129

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

    Early Bird tickets RubyMidwest.com I'm Going!
  27. None
  28. None
  29. None
  30. Kansas City http://codeforamerica.org/2013-partners/kansas-city/

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