PHP-FIG – Part of a balanced PHP diet – What is PHP-FIG?



PHP-FIG – Part of a balanced PHP diet – What is PHP-FIG?

0 0


slides-php-fig


On Github Crell / slides-php-fig

PHP-FIG

Part of a balanced PHP diet

Presented by Larry Garfield (@Crell)

@Crell

  • Senior Architect, Palantir.net
  • Drupal 8 Web Services Lead
  • Drupal Representative, PHP-FIG
  • implements Huggable

What is PHP-FIG?

(Credit: @ninjagrlstuff)
We're a group of established PHP projects whose goal is to talk about commonalities between our projects and find ways we can work better together.

—PHP-FIG website

In the beginning,PHP was without form and void...

The PHP Standards Group

php|tek, May 2009

We're going to have these namespace things,let's use them the same way for a change!

(Smoke not guaranteed)

  • Not smoky, was after lunch, was light outside...

PSR-0

  • One autoloading standard/convention
  • Java-inspired
  • PEAR-inspired
  • Rudimentary, but enough

PSR-0

<vendor>\Package\Whatever

new \Some\Class\Name_Here();
include_once $some_root . '/Some/Class/Name/Here.php';
new Guzzle\Http\Client();
// require('/some/root/path/Guzzle/Http/Client.php');

Worst

Launch

Ever

Thrown off lists.php.net, moved to Google Groups

Admitted a few new projects

Slept through 2010

Debated a lot in 2011

  • 4 messages in all of 2010

2012

Renamed to Framework Interoperability Group

FIG

Actually became useful!

  • Not just frameworks
  • PHP Interop Group = PIG

A real process!

Only took until 2013...

So what does FIG, um, do?

PSR

PHP Standard Recommendation

  • We discuss and vote on PSRs
- Intro / What is FIG -- UN of PHP -- Collaboration venue - History (steal from Rennaissance) -- phpTek 2009 -- Smoke filled room story -- PSR-0 -- 2010 -- 2013 Structure reboot - Process -- Draft, Review, numbering, etc. - Current specs -- PSR-1/2 -- PSR-4 -- PSR-3 -- PSR-7 -- PSR-6??? -- PSR-8 :) - Up and coming -- PSR-5 -- PSR-9/10 -- PSR-11 -- PSR-12 - Getting involved -- Talk to your rep! -- Is your rep absentee? Suggest taking their place. :-) -- Want to be an Editor? Build a team first

Larry Garfield

Senior Architect, Palantir.net

Let's Make Something Good Together.

Keep tabs on our work at @Palantir

PHP-FIG Part of a balanced PHP diet Presented by Larry Garfield (@Crell)