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

D3e3f4ac37c02289f5dfed115949fc88?s=128

John Kary

July 21, 2012
Tweet

Transcript

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

    User Group John Kary @johnkary Slides: http://johnkary.net/talks
  2. Releases

  3. New PHP versions • PHP 5.4.5 • PHP 5.3.15

  4. Symfony 2.1 Beta3 • Last Beta • Form & Validator

    component improvements
  5. 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
  6. jQuery 1.8 Beta 1 & 2 • Modules - custom

    builds • ajax, css, dimensions, effects, offset • Rewrite Sizzle - CSS selector engine • CSS prefixing
  7. New Developments

  8. 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
  9. Composer - Installers Install modules/libraries/plugins in older applications • Lithium

    • Magento • phpBB • PPI • Symfony 1 • WordPress • Zend • CakePHP 2+ • CodeIgniter • Drupal • FuelPHP • Joomla • Laravel
  10. 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
  11. 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
  12. 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!
  13. Notable Links

  14. 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
  15. None
  16. 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
  17. None
  18. 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
  19. fin http://johnkary.net/talks