Last Month in PHP - December 2012

D3e3f4ac37c02289f5dfed115949fc88?s=47 John Kary
December 15, 2012

Last Month in PHP - December 2012

Kansas City PHP User Group
December 15, 2012

D3e3f4ac37c02289f5dfed115949fc88?s=128

John Kary

December 15, 2012
Tweet

Transcript

  1. 1.

    Last Month in PHP December 15, 2012 Kansas City PHP

    User Group John Kary @johnkary Slides: http://johnkary.net/talks
  2. 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
  3. 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/
  4. 8.

    ?

  5. 12.

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

    'useSomeSillyStringFor', )); Password Hashing API $2y$07$useSomeSillyStringFore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi Hashing Algorithm Cost Salt Hash
  6. 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 }
  7. 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
  8. 20.
  9. 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
  10. 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
  11. 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
  12. 25.

    April 5 & 6, 2013 Kansas City, MO LIMITED $129

    Early Bird tickets RubyMidwest.com
  13. 26.

    April 5 & 6, 2013 Kansas City, MO LIMITED $129

    Early Bird tickets RubyMidwest.com I'm Going!
  14. 27.
  15. 28.
  16. 29.