the road to php 7.1

27
THE ROAD TO PHP 7.1 A PERSONAL STORY

Upload: michelangelo-van-dam

Post on 10-Apr-2017

68 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: The road to php 7.1

THE ROAD TO PHP 7.1A PERSONAL STORY

Page 2: The road to php 7.1

OH “PHP 7”

Zeev Suraski (@zeevs)

Page 3: The road to php 7.1
Page 4: The road to php 7.1
Page 5: The road to php 7.1

DECEMBER 3, 2015A REVOLUTION STARTS

Page 6: The road to php 7.1

#GOPHP7

Page 7: The road to php 7.1

IMPORTANT QUESTIONS

HOW CAN WE MOVE TO PHP 7?

▸ Review PHP 7's changelog

▸ are we still using deprecated functions?

▸ are we using PHP extensions?

▸ do we depend on 3rd party packages?

Page 8: The road to php 7.1

THE BEST WAY TO LEARN…

I PRESENTED ON PHP 7

▸ Required me to do the research

▸ Needed to engage with PHP core developers

▸ Played with the code base

▸ Simulated small challenges

▸ Reviewed the results

▸ BONUS: I could speak at meetups!!!

Page 9: The road to php 7.1

PRESENTING ON A SUBJECT IS THE BEST WAY TO BECOME AN EXPERT ON THAT SUBJECT.

Cal Evans (@CalEvans)

TWEETABLE QUOTE

Page 10: The road to php 7.1

FINDING ANSWERS

CODE ANALYSIS

▸ Reviewing codebases against PHP 7 change log

▸ Reviewing critical extensions and removing non-critical extensions

▸ Negotiate roadmaps with 3rd party vendors and software suppliers

▸ Discussing with the PHP community (global and local)

▸ To see what others have done (and learn from their experiences)

▸ To understand the position of projects and frameworks

Page 11: The road to php 7.1

NOT READY (YET)!

Let’s get to ready…

Page 12: The road to php 7.1

LET’S START THE ELIMINATION ROUND

mysqlnd_ms

DB ATK-FrameworkHTTP2

Net2

Drupal6

ereg_*mcrypt_*

mysql_*

Page 13: The road to php 7.1

CHANGE TAKES TIMETHE INCONVENIENT TRUTH

Page 14: The road to php 7.1

PHP 7.1AND THEN THERE WAS…

Page 15: The road to php 7.1

WE NEED TO STEP UP!

Page 16: The road to php 7.1

WHAT WE ALREADY DID

IMPROVE GOING FORWARD

▸ Elimination of non-compatible code

▸ Refactored code base

▸ Better understanding of our weaknesses

▸ Separation of responsibilities

Page 17: The road to php 7.1

ENTER THE “ARMOURY”

USE THE PHPORCE

Page 18: The road to php 7.1
Page 19: The road to php 7.1

#COMMUNITYWORKS

Page 20: The road to php 7.1
Page 21: The road to php 7.1

THE COMMUNITY IS STRONG

SHARING AS WE GO FORWARD

▸ Sharing our issues & solutions

▸ Promoting PHP 7.1

▸ Improve adoption rate

▸ Becoming an expert in upgrades

▸ Learning more about PHP 7

Page 22: The road to php 7.1

TO CHANGE IS DIFFICULT. NOT TO CHANGE IS FATAL.

William Pollard

TWEETABLE QUOTE

Page 23: The road to php 7.1

OUR RESULTTIME TO SHOW

Page 24: The road to php 7.1

THE NUMBERS

MEMORY

CPU

0 17,5 35 52,5 70

PHP 5.6 PHP 7.1

Page 25: The road to php 7.1

THE "GRAPH"

Page 26: The road to php 7.1

QUICK RECAP

TIMELINE

▸ Sep 2015: Research starts with PHP 7.0.0 RC3

▸ Dec 2015: Release of PHP 7.0.0

▸ Mar 2016: Planning starts

▸ Jul 2016: Preparation development starts

▸ Nov 2016: Testing phase starts

▸ Dec 2016: Release of PHP 7.1.0

▸ Jan 2017: Upgrade completed 🎉

Page 27: The road to php 7.1

in it2PROFESSIONAL PHP SERVICES

Michelangelo van DamZend Certified Engineer

[email protected] - www.in2it.beT @in2itvof - F in2itvof

PHPUnit

Getting StartedAdvanced Testing

Zend Framework 3

FundamentalsAdvanced

Azure PHP

Quick time to marketScale up and out

Security

Locking downweb apps

PHPBootcamp

PHP 7 fromZero to Hero

DevOps

Continuous Deployment

www.dragonbe.comT @DragonBe - F DragonBe