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

Last Month in PHP - July 2012

Last Month in PHP - July 2012

Brief overview of important news stories and happenings in the PHP community in the previous month before this presentation was delivered.

Delivered at Kansas City PHP User Group on July 21, 2012

John Kary

July 21, 2012
Tweet

More Decks by John Kary

Other Decks in Programming

Transcript

  1. Last Month in PHP July 21, 2012 Kansas City PHP

    User Group John Kary @johnkary Slides: http://johnkary.net/talks
  2. Zend Framework 2 Beta5 • Last Beta • Encoder -

    OWASP-compliant for context-specific escaping • i18n - uses intl extension for localization & translation • Form - annotation support via Doctrine\Common
  3. jQuery 1.8 Beta 1 & 2 • Modules - custom

    builds • ajax, css, dimensions, effects, offset • Rewrite Sizzle - CSS selector engine • CSS prefixing
  4. jQuery 1.9 • Last to support < IE9 • Release:

    Early 2013 • Remove deprecated 1.8 jQuery 2.0 • Drop support < IE9 • Release: Shortly after 1.9 • Same API as 1.9 http://blog.jquery.com/2012/06/28/jquery-core-version-1-9-and-beyond/ Interchangeable API If you need IE 6/7/8 support: use 1.9 If you only want IE 9+: use 2.0
  5. Composer - Installers Install modules/libraries/plugins in older applications • Lithium

    • Magento • phpBB • PPI • Symfony 1 • WordPress • Zend • CakePHP 2+ • CodeIgniter • Drupal • FuelPHP • Joomla • Laravel
  6. Composer - Installers You found my Drupal module `johnkary/acl` on

    Packagist.org # ./acl/composer.json { "name": "johnkary/acl", "type": "drupal-module", "require": { "composer/installers": "*" } } You search Packagist for an Access Control List module
  7. Composer - Installers # ./yourproject/composer.json { "require": { "johnkary/acl": "*"

    } } Add `johnkary/acl` to your project’s composer.json (master) ~/Sites/drupal $ composer.phar install Downloads and installs the acl module: ~/Sites/drupal/modules/acl
  8. Composer Webcast Composer: Putting Dependencies on the Score Presenter :

    Rafael Dohms August 8, 2012 http://www.phparch.com/phparchitect-presents-webcasts-for-busy-php-developers/ FREE!
  9. What PHP 5.5 might look like • Windows XP and

    2003 support dropped • /e modifier deprecated • boolval() - works exactly like (bool) casting • hash_pbkdf2() - native implementation of PBKDF2 • NATIVE - no need for mcrypt extension • empty() works with function calls (and other expressions) • if (empty($db->getPassword())) What’s in for sure? http://nikic.github.com/2012/07/10/What-PHP-5-5-might-look-like.html
  10. PHPMentoring.org • Championed by Elizabeth Marie Smith • Better known

    as @auroraeosrose • Ideas spawned by her talk at Lone Star PHP “Padawan and Master - Mentoring Developers” • Guide mentors and apprentices
  11. PHP: The Right Way • Community-crafted - 35 contributors •

    Created by Josh Lockhart - @codeguy • Inspired by many of the negative articles surrounding PHP lately An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web. phptherightway.com