Slide 1

Slide 1 text

Last Month in PHP July 21, 2012 Kansas City PHP User Group John Kary @johnkary Slides: http://johnkary.net/talks

Slide 2

Slide 2 text

Releases

Slide 3

Slide 3 text

New PHP versions • PHP 5.4.5 • PHP 5.3.15

Slide 4

Slide 4 text

Symfony 2.1 Beta3 • Last Beta • Form & Validator component improvements

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

jQuery 1.8 Beta 1 & 2 • Modules - custom builds • ajax, css, dimensions, effects, offset • Rewrite Sizzle - CSS selector engine • CSS prefixing

Slide 7

Slide 7 text

New Developments

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

Composer - Installers Install modules/libraries/plugins in older applications • Lithium • Magento • phpBB • PPI • Symfony 1 • WordPress • Zend • CakePHP 2+ • CodeIgniter • Drupal • FuelPHP • Joomla • Laravel

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

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!

Slide 13

Slide 13 text

Notable Links

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

fin http://johnkary.net/talks