Développement d'applications Web avec PHP
Adresses derrière les liens

Quelques références en ligne
Écran 2
  1. http://www.php.net/ http://www.php.net/
  2. http://www.phptherightway.com/ http://www.phptherightway.com/
  3. http://www.php-builder.com/ http://www.php-builder.com/
  4. http://www.phpindex.com/ http://www.phpindex.com/
  5. http://espacecourbeformation.com/fr/ http://espacecourbeformation.com/fr/
Exemples de gros progiciels
Écran 4
  1. eZ Publish http://ez.no/fr
  2. TYPO3 http://www.typo3.com/
  3. Drupal http://drupal.org/
  4. WordPress http://wordpress.org
  5. MediaWiki http://www.mediawiki.org/wiki/MediaWiki
  6. TikiWiki https://tiki.org/tiki-index.php
  7. SugarCRM http://www.sugarcrm.com/
  8. CiviCRM https://civicrm.org/
  9. Magento http://www.magentocommerce.com/
  10. Prestashop https://www.prestashop.com/
  11. WooCommerce https://wordpress.org/plugins/woocommerce/
  12. PhpBB http://www.phpbb.com/
Comment insérer du script côté serveur
Écran 6
  1. justification de la non fermeture de la déclaration http://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag
Distributions toutes faites...
Écran 7
  1. EasyPHP http://www.easyphp.org
  2. WampServer http://www.wampserver.com/
  3. Windows http://bitnami.com/stack/wamp
  4. MacOS http://bitnami.com/stack/mamp
  5. Linux http://bitnami.com/stack/lamp
  6. XAMPP http://www.apachefriends.org/
Types de variables
Écran 12
  1. http://ca.php.net/manual/en/language.types.php : http://ca.php.net/manual/en/language.types.php
Chaînes de caractères
Écran 14
  1. http://ca3.php.net/manual/en/language.types.string.php http://ca3.php.net/manual/en/language.types.string.php
  2. http://ca.php.net/print http://ca.php.net/print
Notion de vide
Écran 20
  1. ses subtilités http://ca.php.net/manual/fr/function.unset.php
Opérateurs
Écran 22
  1. http://ca3.php.net/manual/en/language.operators.php#language.operators.precedence http://ca3.php.net/manual/en/language.operators.php#language.operators.precedence
Exemple de boucle
Écran 30
  1. Smarty http://www.smarty.net/
  2. phpTAL http://phptal.org/
  3. phptemplate dans Drupal https://www.drupal.org/project/phptemplate
  4. Twig http://twig.sensiolabs.org/
Fonctions
Écran 31
  1. suggestions de types scalaires dans la définition des paramètres et un type de retour http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
Étendue des variables
Écran 34
  1. http://ca3.php.net/manual/en/language.variables.scope.php http://ca3.php.net/manual/en/language.variables.scope.php
Variables externes explicites
Écran 38
  1. http://ca3.php.net/manual/fr/reserved.variables.php http://ca3.php.net/manual/fr/reserved.variables.php
Exercice : formulaire de saisie
Écran 41
  1. http://fr.wikipedia.org/wiki/XSS http://fr.wikipedia.org/wiki/XSS
  2. XSS attacks examples http://www.thegeekstuff.com/2012/02/xss-attack-examples/
Variables d'environnement (suite)
Écran 44
  1. http://ca3.php.net/manual/fr/reserved.variables.server.php http://ca3.php.net/manual/fr/reserved.variables.server.php
  2. http://fr.wikipedia.org/wiki/Variables_d%27environnement_CGI http://fr.wikipedia.org/wiki/Variables_d%27environnement_CGI
Tableaux
Écran 48
  1. documentation sur les tableaux PHP (arrays) http://php.net/manual/fr/language.types.array.php
Tableaux PHP et variables multivaluées d'un formulaire
Écran 58
  1. How to POST an associative array in PHP http://stackoverflow.com/questions/14050812/how-to-post-an-associative-array-in-php
Quelques autres fonctions de tableaux
Écran 61
  1. liste des fonctions disponibles pour les tableaux http://ca1.php.net/manual/fr/book.array.php
PHP et UTF-8
Écran 64
  1. Data Encoding: A Guide to UTF-8 for PHP and MySQL https://www.toptal.com/php/a-utf-8-primer-for-php-and-mysql
Exemple de format
Écran 66
  1. sprintf (et printf) ne sont pas compatibles avec le multi-octets http://stackoverflow.com/questions/16003505/php-sprintf-with-foreign-characters
Expressions régulières
Écran 67
  1. http://www.regular-expressions.info/ http://www.regular-expressions.info/
Opérations avec les expressions régulières
Écran 68
  1. différence entre les deux familles http://ca3.php.net/manual/fr/reference.pcre.pattern.posix.php
Banalisation pour le SQL
Écran 69
  1. http://ca3.php.net/magic_quotes http://ca3.php.net/magic_quotes
Banalisation pour le HTML et les URL
Écran 70
  1. différence entre urlencode et rawurlencode http://stackoverflow.com/questions/996139/urlencode-vs-rawurlencode
  2. Forger un lien mailto: avec des paramètres http://www.espacecourbeformation.com/fr/articles/lien-mailto-avec-parametres/
Traitement de la date
Écran 73
  1. Datetime http://php.net/manual/en/class.datetime.php
Pour contrer les différences de systèmes d'exploitation pour setlocale()
Écran 74
  1. http://ca3.php.net/manual/en/function.setlocale.php http://ca3.php.net/manual/en/function.setlocale.php
Pilotes disponibles
Écran 78
  1. liste complète des pilotes de bases de données http://php.net/manual/en/refs.database.php
MySQL
Écran 80
  1. http://www.mysql.com/ http://www.mysql.com/
Principales fonctions pour MySQL en PHP avec l'interface mysqli
Écran 87
  1. http://ca3.php.net/manual/en/security.database.sql-injection.php http://ca3.php.net/manual/en/security.database.sql-injection.php
Principales fonctions pour MySQL en PHP avec l'interface mysqli (suite)
Écran 88
  1. http://www.php.net/manual/fr/mysqli.summary.php http://www.php.net/manual/fr/mysqli.summary.php
  2. mysqli_prepare() et mysqli_stmt_execute() http://php.net/manual/fr/mysqli.prepare.php
PDO : instructions utiles
Écran 95
  1. http://ca3.php.net/manual/en/book.pdo.php http://ca3.php.net/manual/en/book.pdo.php
  2. erreurs avec la communication avec la base de données http://www.php.net/manual/fr/pdo.error-handling.php

Tous droits réservés 2017, Espace Courbe Formation inc. —8 janvier 2017 — 15:12:53