the world of php psr standards

Post on 08-Apr-2017

17 Views

Category:

Software

6 Downloads

Preview:

Click to see full reader

TRANSCRIPT

The World of PHP PSR Standards

by Radu Murzea (Pentalog)

PHP standards before 2009…

PHP standards Today

PSR-3Logger Interface

PSR-2Coding Style

PSR-1Coding Style

PSR-0Autoloading

PSR-4Autoloading

PSR-6Caching Interface

PSR-7HTTP Messages

History…

History…

History…

History…

PSR-0Namespaces

History…

PSR-0Autoloading

The StandardsID 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

top related