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. 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
  3. 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/
  4. ?

  5. $password = password_hash('rasmuslerdorf', PASSWORD_BCRYPT, array( 'cost' => 7, 'salt' =>

    'useSomeSillyStringFor', )); Password Hashing API $2y$07$useSomeSillyStringFore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi Hashing Algorithm Cost Salt Hash
  6. // 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 }
  7. 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
  8. 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
  9. 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
  10. 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
  11. April 5 & 6, 2013 Kansas City, MO LIMITED $129

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

    Early Bird tickets RubyMidwest.com I'm Going!