SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
Jean-Marie Renouard 
LightPath 2014©
Le logo PHP est du domaine public 
http://commons.wikimedia.org/wiki/File:PHP-logo.svg 
Ce document est licencié sous licence 
◦Attribution-NonCommercial-ShareAlike 
◦CC BY-NC-SA 
Plus de détails: 
http://creativecommons.org/licenses/by-nc-sa/3.0/fr/ 
LightPath 2014© - http://www.jmrenouard.fr 
2
Architecture Client / serveur 
Exécution de code applicatif 
Caractéristiques de PHP 
Histoire de PHP 
Licence de PHP 
Spécificités du langage 
LightPath 2014© - http://www.jmrenouard.fr 
3
LightPath 2014© - http://www.jmrenouard.fr 
4
Architecture 2 tiers 
Un serveur attends les clients pour les servir 
Des clients demandent au serveur de réaliser des opérations pour leurs comptes. 
LightPath 2014© - http://www.jmrenouard.fr 
5
LightPath 2014© - http://www.jmrenouard.fr 
6
Code exécuté côté serveur 
Le code est écrit en PHP. 
A chaque appel, le code est interprété en langage machine. 
La machine exécute le code traduit. 
La réponse est traduite et retournée au client. 
LightPath 2014© - http://www.jmrenouard.fr 
7
LightPath 2014© - http://www.jmrenouard.fr 
8
Langage de programmation interprété 
Écriture de sites web dynamiques. 
Interprétateur PHP repose sur le moteur Zend 2 écrit en langage C. 
Intégration PHP dans le serveur Web Apache sous forme de module 
Facilité d’installation et d’utilisation en environnement web. 
LightPath 2014© - http://www.jmrenouard.fr 
9
LightPath 2014© - http://www.jmrenouard.fr 
10
8 juin 1995, la syntaxe de PHP/FI 1.0 
Juin 1998: PHP 3 
Juin 2000: PHP 4 
Juillet 2004: PHP 5 
Juin 2009: PHP 5.3 
Aout 2011: PHP 5.3.8 
Novembre 2011: PHP 5.4 
Juin 2013: PHP 5.5 
Août 2014: PHP 5.6 
LightPath 2014© - http://www.jmrenouard.fr 
11
LightPath 2014© - http://www.jmrenouard.fr 
12
The PHP License, version 3.01 
La licence PHP est actuellement considérée comme une licence libre par l’OSI(Open source Initiative) 
LightPath 2014© - http://www.jmrenouard.fr 
13
PHP respectant les 4 libertés : 
◦Liberté d’utilisation 
◦Liberté d’étudier le logiciel 
◦Liberté de modifier le logiciel 
◦Liberté de redistribuer le logiciel et ses modifications 
LightPath 2014© - http://www.jmrenouard.fr 
14
LightPath 2014© - http://www.jmrenouard.fr 
15
Facilité de programmation 
Structure de données en tableau simple 
Langage à typage faible 
Type par inférence 
◦Les données affectées définissent son type. 
Syntaxe et support objet complet 
LightPath 2014© - http://www.jmrenouard.fr 
16
LightPath: 
◦Société de conseil et d’ingénierie 
◦Formations, Conseil, Audit et mise en oeuvre 
◦jmrenouard@lightpath.fr 
Jean-Marie RENOUARD 
◦jmrenouard@gmail.com 
◦Twitter: @jmrenouard 
◦http://www.jmrenouard.fr 
LightPath 2014© - http://www.jmrenouard.fr 
17

Contenu connexe

Tendances

Alphorm.com Formation pfSense: Le firewall open source de référence
Alphorm.com Formation pfSense: Le firewall open source de référenceAlphorm.com Formation pfSense: Le firewall open source de référence
Alphorm.com Formation pfSense: Le firewall open source de référence
Alphorm
 
Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2
Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2 Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2
Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2
Alphorm
 
أنواع نظم التشغيل
أنواع نظم التشغيلأنواع نظم التشغيل
أنواع نظم التشغيل
Ahmad Abdelbaqy
 
COURS INITIATION A L'ALGORITHME ET PROGRAMMATION.06.12.21.pptx
COURS INITIATION A L'ALGORITHME ET  PROGRAMMATION.06.12.21.pptxCOURS INITIATION A L'ALGORITHME ET  PROGRAMMATION.06.12.21.pptx
COURS INITIATION A L'ALGORITHME ET PROGRAMMATION.06.12.21.pptx
ITNAV1
 

Tendances (20)

Les web services
Les web servicesLes web services
Les web services
 
Alphorm.com Formation pfSense: Le firewall open source de référence
Alphorm.com Formation pfSense: Le firewall open source de référenceAlphorm.com Formation pfSense: Le firewall open source de référence
Alphorm.com Formation pfSense: Le firewall open source de référence
 
Authentification
AuthentificationAuthentification
Authentification
 
Introduction aux web services
Introduction aux web servicesIntroduction aux web services
Introduction aux web services
 
alphorm.com - Formation Cisco ICND1-CCENT (100-101)
alphorm.com - Formation Cisco ICND1-CCENT (100-101)alphorm.com - Formation Cisco ICND1-CCENT (100-101)
alphorm.com - Formation Cisco ICND1-CCENT (100-101)
 
Cours 1 introduction
Cours 1 introductionCours 1 introduction
Cours 1 introduction
 
Langage HTML
Langage HTMLLangage HTML
Langage HTML
 
Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2
Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2 Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2
Alphorm.com Formation WSUS (Windows Server Update Services) 3.0 SP2
 
Migration TDM vers le réseaux NGN
Migration TDM vers le réseaux NGNMigration TDM vers le réseaux NGN
Migration TDM vers le réseaux NGN
 
Un introduction à Pig
Un introduction à PigUn introduction à Pig
Un introduction à Pig
 
CV DE DIBY RICHMOND ADMINISTRATEUR RESEAUX ET SYSTEME
CV DE DIBY RICHMOND ADMINISTRATEUR RESEAUX ET SYSTEMECV DE DIBY RICHMOND ADMINISTRATEUR RESEAUX ET SYSTEME
CV DE DIBY RICHMOND ADMINISTRATEUR RESEAUX ET SYSTEME
 
OpenID Connect入門
OpenID Connect入門OpenID Connect入門
OpenID Connect入門
 
أنواع نظم التشغيل
أنواع نظم التشغيلأنواع نظم التشغيل
أنواع نظم التشغيل
 
Curriculum vitae pour technicien superieur en réseaux et télécommunication
Curriculum vitae pour technicien superieur en réseaux et télécommunicationCurriculum vitae pour technicien superieur en réseaux et télécommunication
Curriculum vitae pour technicien superieur en réseaux et télécommunication
 
Introduction à la sécurité informatique
Introduction à la sécurité informatiqueIntroduction à la sécurité informatique
Introduction à la sécurité informatique
 
Zoom sur le Métier de Développeur
Zoom sur le Métier de DéveloppeurZoom sur le Métier de Développeur
Zoom sur le Métier de Développeur
 
Support de cours Spring M.youssfi
Support de cours Spring  M.youssfiSupport de cours Spring  M.youssfi
Support de cours Spring M.youssfi
 
Rapport projet pfe
Rapport projet pfeRapport projet pfe
Rapport projet pfe
 
Support POO Java première partie
Support POO Java première partieSupport POO Java première partie
Support POO Java première partie
 
COURS INITIATION A L'ALGORITHME ET PROGRAMMATION.06.12.21.pptx
COURS INITIATION A L'ALGORITHME ET  PROGRAMMATION.06.12.21.pptxCOURS INITIATION A L'ALGORITHME ET  PROGRAMMATION.06.12.21.pptx
COURS INITIATION A L'ALGORITHME ET PROGRAMMATION.06.12.21.pptx
 

En vedette

En vedette (20)

Syntaxe du langage PHP
Syntaxe du langage PHPSyntaxe du langage PHP
Syntaxe du langage PHP
 
Ssh cookbook
Ssh cookbookSsh cookbook
Ssh cookbook
 
Structure de données en PHP
Structure de données en PHPStructure de données en PHP
Structure de données en PHP
 
Manuel de sécurisation d'un serveur Linux
Manuel de sécurisation d'un serveur LinuxManuel de sécurisation d'un serveur Linux
Manuel de sécurisation d'un serveur Linux
 
Le client FTP de PHP5
Le client FTP de PHP5Le client FTP de PHP5
Le client FTP de PHP5
 
Les structures de données PHP5
Les structures de données PHP5Les structures de données PHP5
Les structures de données PHP5
 
Le client HTTP PHP5
Le client HTTP PHP5Le client HTTP PHP5
Le client HTTP PHP5
 
Fichier XML et PHP5
Fichier XML et PHP5Fichier XML et PHP5
Fichier XML et PHP5
 
Configuration PHP5
Configuration PHP5Configuration PHP5
Configuration PHP5
 
SQL et MySQL
SQL et MySQLSQL et MySQL
SQL et MySQL
 
Email et PHP5
Email et PHP5Email et PHP5
Email et PHP5
 
PHP5 et les fichiers
PHP5 et les fichiersPHP5 et les fichiers
PHP5 et les fichiers
 
PHP 5 et la programmation objet
PHP 5 et la programmation objetPHP 5 et la programmation objet
PHP 5 et la programmation objet
 
Sécurité et Quaité de code PHP
Sécurité et Quaité de code PHPSécurité et Quaité de code PHP
Sécurité et Quaité de code PHP
 
MVC / Frameworks PHP
MVC / Frameworks PHPMVC / Frameworks PHP
MVC / Frameworks PHP
 
Client base de données en PHP5
Client base de données en PHP5Client base de données en PHP5
Client base de données en PHP5
 
Javascript et JQuery
Javascript et JQueryJavascript et JQuery
Javascript et JQuery
 
Gestion de formulaires en PHP
Gestion de formulaires en PHPGestion de formulaires en PHP
Gestion de formulaires en PHP
 
анимации в Windows phone
анимации в Windows phoneанимации в Windows phone
анимации в Windows phone
 
About Sage France
About Sage FranceAbout Sage France
About Sage France
 

Similaire à Présentation de PHP

Alphorm.com Support de la formation NodeJS , avancé
Alphorm.com Support de la formation NodeJS , avancé Alphorm.com Support de la formation NodeJS , avancé
Alphorm.com Support de la formation NodeJS , avancé
Alphorm
 
AFUP & PHP @ Supelec
AFUP & PHP @ SupelecAFUP & PHP @ Supelec
AFUP & PHP @ Supelec
julien pauli
 
Alphorm.com Support de la Formation LPIC-1 version 4 ss
Alphorm.com Support de la Formation LPIC-1 version 4 ssAlphorm.com Support de la Formation LPIC-1 version 4 ss
Alphorm.com Support de la Formation LPIC-1 version 4 ss
Alphorm
 
Cyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmation
Cyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmationCyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmation
Cyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmation
CERTyou Formation
 
Cyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-web
Cyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-webCyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-web
Cyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-web
CERTyou Formation
 

Similaire à Présentation de PHP (20)

Afnic corp day point frogans et projet frogans 23/09/2014
Afnic corp day point frogans et projet frogans 23/09/2014Afnic corp day point frogans et projet frogans 23/09/2014
Afnic corp day point frogans et projet frogans 23/09/2014
 
Lp web tp3_idse
Lp web tp3_idseLp web tp3_idse
Lp web tp3_idse
 
Apache for développeurs PHP
Apache for développeurs PHPApache for développeurs PHP
Apache for développeurs PHP
 
Introduction à WordPress sous Nginx
Introduction à WordPress sous NginxIntroduction à WordPress sous Nginx
Introduction à WordPress sous Nginx
 
Alphorm.com Support de la formation NodeJS , avancé
Alphorm.com Support de la formation NodeJS , avancé Alphorm.com Support de la formation NodeJS , avancé
Alphorm.com Support de la formation NodeJS , avancé
 
AFUP & PHP @ Supelec
AFUP & PHP @ SupelecAFUP & PHP @ Supelec
AFUP & PHP @ Supelec
 
Alphorm.com Support de la Formation LPIC-1 version 4 ss
Alphorm.com Support de la Formation LPIC-1 version 4 ssAlphorm.com Support de la Formation LPIC-1 version 4 ss
Alphorm.com Support de la Formation LPIC-1 version 4 ss
 
Cyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmation
Cyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmationCyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmation
Cyphp5 p formation-php-5-perfectionnement-fonctions-avancees-et-programmation
 
Openerp
OpenerpOpenerp
Openerp
 
PHP & Initiation Symfony
PHP & Initiation SymfonyPHP & Initiation Symfony
PHP & Initiation Symfony
 
Barcamp tunisie edition 2010 langage de programmation php
Barcamp tunisie edition 2010 langage de programmation php Barcamp tunisie edition 2010 langage de programmation php
Barcamp tunisie edition 2010 langage de programmation php
 
Cyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-web
Cyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-webCyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-web
Cyphp5 w formation-php-5-l-essentiel-de-php-pour-developper-un-site-web
 
Integrons en mode continu
Integrons en mode continuIntegrons en mode continu
Integrons en mode continu
 
Les protocles temps reels
Les protocles temps reelsLes protocles temps reels
Les protocles temps reels
 
Les protocoles temps réels
Les protocoles temps réelsLes protocoles temps réels
Les protocoles temps réels
 
Mieux Développer en PHP avec Symfony
Mieux Développer en PHP avec SymfonyMieux Développer en PHP avec Symfony
Mieux Développer en PHP avec Symfony
 
Symfony2 Presentation
Symfony2 PresentationSymfony2 Presentation
Symfony2 Presentation
 
AlterWay SolutionsLinux Outils Industrialisation PHP
AlterWay SolutionsLinux Outils Industrialisation PHPAlterWay SolutionsLinux Outils Industrialisation PHP
AlterWay SolutionsLinux Outils Industrialisation PHP
 
Présentation Système d’exploitation Open Source Lepton - MEITO Mai 2014
Présentation Système d’exploitation Open Source Lepton - MEITO Mai 2014Présentation Système d’exploitation Open Source Lepton - MEITO Mai 2014
Présentation Système d’exploitation Open Source Lepton - MEITO Mai 2014
 
Créer son 1er site web
Créer son 1er site webCréer son 1er site web
Créer son 1er site web
 

Présentation de PHP

  • 2. Le logo PHP est du domaine public http://commons.wikimedia.org/wiki/File:PHP-logo.svg Ce document est licencié sous licence ◦Attribution-NonCommercial-ShareAlike ◦CC BY-NC-SA Plus de détails: http://creativecommons.org/licenses/by-nc-sa/3.0/fr/ LightPath 2014© - http://www.jmrenouard.fr 2
  • 3. Architecture Client / serveur Exécution de code applicatif Caractéristiques de PHP Histoire de PHP Licence de PHP Spécificités du langage LightPath 2014© - http://www.jmrenouard.fr 3
  • 4. LightPath 2014© - http://www.jmrenouard.fr 4
  • 5. Architecture 2 tiers Un serveur attends les clients pour les servir Des clients demandent au serveur de réaliser des opérations pour leurs comptes. LightPath 2014© - http://www.jmrenouard.fr 5
  • 6. LightPath 2014© - http://www.jmrenouard.fr 6
  • 7. Code exécuté côté serveur Le code est écrit en PHP. A chaque appel, le code est interprété en langage machine. La machine exécute le code traduit. La réponse est traduite et retournée au client. LightPath 2014© - http://www.jmrenouard.fr 7
  • 8. LightPath 2014© - http://www.jmrenouard.fr 8
  • 9. Langage de programmation interprété Écriture de sites web dynamiques. Interprétateur PHP repose sur le moteur Zend 2 écrit en langage C. Intégration PHP dans le serveur Web Apache sous forme de module Facilité d’installation et d’utilisation en environnement web. LightPath 2014© - http://www.jmrenouard.fr 9
  • 10. LightPath 2014© - http://www.jmrenouard.fr 10
  • 11. 8 juin 1995, la syntaxe de PHP/FI 1.0 Juin 1998: PHP 3 Juin 2000: PHP 4 Juillet 2004: PHP 5 Juin 2009: PHP 5.3 Aout 2011: PHP 5.3.8 Novembre 2011: PHP 5.4 Juin 2013: PHP 5.5 Août 2014: PHP 5.6 LightPath 2014© - http://www.jmrenouard.fr 11
  • 12. LightPath 2014© - http://www.jmrenouard.fr 12
  • 13. The PHP License, version 3.01 La licence PHP est actuellement considérée comme une licence libre par l’OSI(Open source Initiative) LightPath 2014© - http://www.jmrenouard.fr 13
  • 14. PHP respectant les 4 libertés : ◦Liberté d’utilisation ◦Liberté d’étudier le logiciel ◦Liberté de modifier le logiciel ◦Liberté de redistribuer le logiciel et ses modifications LightPath 2014© - http://www.jmrenouard.fr 14
  • 15. LightPath 2014© - http://www.jmrenouard.fr 15
  • 16. Facilité de programmation Structure de données en tableau simple Langage à typage faible Type par inférence ◦Les données affectées définissent son type. Syntaxe et support objet complet LightPath 2014© - http://www.jmrenouard.fr 16
  • 17. LightPath: ◦Société de conseil et d’ingénierie ◦Formations, Conseil, Audit et mise en oeuvre ◦jmrenouard@lightpath.fr Jean-Marie RENOUARD ◦jmrenouard@gmail.com ◦Twitter: @jmrenouard ◦http://www.jmrenouard.fr LightPath 2014© - http://www.jmrenouard.fr 17