The World of PHP PSR Standards

RaduMurzea 516 views 16 slides Mar 26, 2017
Slide 1
Slide 1 of 16
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16

About This Presentation

Presentation about PHP PSR Standards


Slide Content

The World of PHP PSR Standards by Radu Murzea (Pentalog)

PHP standards before 2009…

PHP standards Today PSR-3 Logger Interface PSR-2 Coding Style PSR-1 Coding Style PSR-0 Autoloading PSR-4 Autoloading PSR-6 Caching Interface PSR-7 HTTP Messages

History…

History…

History…

History… PSR-0 Namespaces

History… PSR-0 Autoloading

The Standards ID Name Description PSR-0 Autoloading Standard Mandatory requirements that must be adhered to for autoloader interoperability PSR-1 Basic Coding Standard Standard coding elements that are required to ensure a high level of technical interoperability between shared PHP code. PSR-2 Coding Style Guide Extends and expands on PSR-1. PSR-3 Logger Interface Common interface for logging libraries. PSR-4 Autoloading Standard Specification for autoloading classes from file paths. PSR-6 Caching Interface Create cache-aware libraries that can be integrated into existing frameworks and systems without the need for custom development. PSR-7 HTTP Message Interface Common interfaces for representing HTTP messages.

How they’re born

How they’re born PHP-FIG

How they’re born PHP-FIG

How they’re born PHP-FIG

How they’re born PHP-FIG

How they’re born PHP-FIG PSR-x