Php symfony and software lifecycle

Preview:

DESCRIPTION

 

Citation preview

PHP, Symfony & Software lifecycle

Pierre Joye

Pierre Joye@pierrejoye

pierre@php.net

IRC Freenode, EFNet

@Pierre

Pierre JoyePHP (core) Developer

The crazy guy behind PHP/WindowsPortability Fanatic

PHP Bugs Generator

Pierre JoyeWorks with the Ancient Dark Side

OpenSource Tech Center/Microsoft

I Worked w/Johann@Mayflower too

Won’t talk too much about Symfony

Who uses PHP?

Who uses Symfony?

Professionally?

?

??5.25.3

4 !?

??

??

??

??

6 ?!

intl

namespace

enchant

closure

windows

ifsetor

phar

Closures

$myarray = array(3, 9, 2);$myarray = array_filter(

$myarray,function ($elm) {

return $elm > 5;}

);var_dump($myarray);

intl$fmt2 = new MessageFormatter("de_DE", "{0,number,integer} Affen auf {1,number,integer} Baumen sind {2,number} Affen pro Baum"); echo $fmt2->format(array(4560, 123, 4560/123)); echo "<br />";

$fmt = new MessageFormatter("en_US", "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tree"); echo $fmt->format(array(4560, 123, 4560/123));

phar

• Jar for PHP• Easy way to distribute

applications• Custom format or use tar/zip• Mapping requests to a file inside

the phar

enchant

• UTF-8 support• MySpell/HunSpell (OpenOffice)

support• Zemberek (Tuerkisch)• One API• AppleSpell on Mac OS X• Aspell/Pspell

Developpers?

Project managers?CTO?

CEO?

Designers?

Java C PHP Ruby

Java

C

PHP

Ruby

Seen by ..

Fanb

oyz

PHP is ugly

PHP is incosistent

PHP core has no plan

Not enough releases!

Right!

But…

It is not about Art

It is not about Beauty

We are not Artists

We are craftsmen

Aspiring to be Masters

Before he could be elected to become a master craftsman. He would then have to produce a sum of money and a masterpiece before he could actually join the guild.Wikipedia (http://en.wikipedia.org/wiki/Master_craftsman)

#4 in The Tiobe Indexx4 more popular than Ruby

x2 more popular than Python or C#

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Horde of Idiots use it

until recently :->

Seven of the top #10 Site in Germany use

Frameworks?

Symfony let you focus on Your business

Symfony enforces cleanness

And prevent you to develop

the best frameworkwe ever seen

(NB: We never asked to see another one)

Or at least ensure that everyone else

can follow your(organized) chaos

Release management?

History Of PHPPH

P 4.

04.

14.

24.

34.

4

5.0

5.1

5.2

5.3

Next

?

2000 2004

2001

2001

2002

2005

2005

2006

2009

2011

PHP(.net) Release Cycles

• 3-4 releases per year• Almost 3 Years support• Mostly full BC within a branch• Security release during lifetime

PHP Release Cycles

• Many updates per year• 5+ Years support• Security release during lifetime

History Of SymfonySF

1.0

1.1

1.2

1.3

1.4

2.0

2.1

Next

?

2007 2011

2008

2008

2009

2009

2012

?

2013

Symfony 2+ Release Cycles

• Yearly release• Up to 3 Years support• Full BC for the branch lifetime• Secutiry releases, no limit

Is PHP the bottleneck?

noSQL

NoOS

•CouchDB

•MongoDB

•MemCache(d)

•Membase

•Mashups

•JS

•Apps

•Web 2.0 apps

Image from http://en.wikipedia.org/wiki/File:Cumulus_clouds_panorama.jpg

Fail Fast,Fail Cheap,Be lazy.Rasmus Lersdorf

Scrum Architecture

What else?

Thank you

Recommended