Publication date : 03/21/2025

Course : Creating dynamic websites with PHP, certification

ENI certification - RS 6889

Practical course - 5d - 35h00 - Ref. PHC
Price : 2710 € E.T.

Creating dynamic websites with PHP, certification

ENI certification - RS 6889


New course

You will master the PHP language in the context of dynamic website development. You will also be able to tackle the related aspects of this type of development: databases, SQL language, etc.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. PHC
  5d - 35h00
2710 € E.T.




You will master the PHP language in the context of dynamic website development. You will also be able to tackle the related aspects of this type of development: databases, SQL language, etc.


Teaching objectives
At the end of the training, the participant will be able to:
Master PHP syntax and functionality to develop simple web pages
Using object-oriented programming mechanisms in PHP
Manipulate a relational database using the PDO API
Processing Web forms
Manage user sessions
Handling files and directories

Intended audience
Developers and Webmasters.

Prerequisites
Basic knowledge of HTML and at least one programming language.

Certification
La certification ENI « Langage PHP : Développer des sites web » est inclus lors de l’inscription à la formation. Accessible en ligne 24h/24 ou en présentiel dans un centre partenaire, l’évaluation est chronométrée (1h30) et comprend des cas pratiques et un QCM/QCU. Les cas pratiques, reproduisant un environnement de travail réaliste, valent cinq fois plus qu’une question QCM/QCU. Le score sur 1000 détermine le niveau atteint : opérationnel (500 à 700 points) ou avancé (701 à 1000 points). La certification est obtenue dès 500 points et valide les compétences du candidat dans sa maîtrise du langage PHP. Les résultats sont disponibles immédiatement après l’épreuve, et le certificat est envoyé par e-mail. Cette certification, enregistrée sous le numéro RS6889 au Répertoire Spécifique de France Compétences. Lien vers la fiche France compétence : https://www.francecompetences.fr/recherche/rs/6889/

Practical details
Hands-on work
Windows or Linux machines equipped with the Apache Web server with PHP module and a MySQL server will be made available. Participants will create the beginnings of an online sales site, including a product display page and a product administration page.
Teaching methods
Active pedagogy based on examples, demonstrations, experience sharing, case studies and assessment of learning throughout the course.

Course schedule

1
Introduction

  • Client/server principle.
  • What is PHP?
  • PHP history.
  • The differences between PHP 4, PHP 5 and PHP 8.
  • Presentation of the common thread used during the course: the start of an online sales site.

2
PHP syntax

  • First language elements.
  • Integrating PHP into an HTML page.
  • Inclusion and brief presentation of the Bootstrap CSS library.
  • PHP configuration file.
  • Variables and constants.
  • Concatenation and string manipulation.
  • Test the existence of a variable (isset()).
  • Variable types and transtyping.
  • Server variables.
  • Regular expressions (preg_match(), preg_replace()).
  • Terms and conditions.
  • The expression match.
  • Loops.
  • Functions and anonymous functions.
Hands-on work
Implementation of our red wire site: home page linked to the Bootstrap CSS library. Inclusion of a constants file and a functions file. First product displayed.

3
PHP tables

  • Create and manipulate digital tables.
  • Create and manipulate associative tables.
  • 2-dimensional panels.
  • Common array functions (array_search(), array_replace(), etc.).
  • Array sorting (sort(), rsort(), asort(), arsort(), ksort(), krsort()).
Hands-on work
Creation of a table of products, and display of these products on the home page.

4
Object-oriented programming with PHP

  • Classes.
  • Instantiation.
  • Attributes.
  • Accessors.
  • Manufacturer.
  • Methods.
  • Exceptions (try, catch, throw, finally).
  • Inheritance.
  • Polymorphism.
  • Abstract class.
  • Interface.
  • Namespaces (namespace, use).
Hands-on work
Set up a class and a child class to model products. Practice of the various OOP topics covered. Update previous code to use these classes on the home page to display products.

5
Handling a database with PDO

  • Review the fundamental concepts of relational databases: bases, tables, fields.
  • Setting up a simple database.
  • Introducing PDO.
  • PDO database connection.
  • Simple queries.
  • Pre-compiled requests.
  • fetch(), fetchAll() and fetchObject().
  • PDOExceptions.
  • Transactions: beginTransaction(), commit(), rollback().
Hands-on work
Create a simple database with products, categories and user accounts. Use PDO to display products in the database.

6
Forms

  • Setting up a form.
  • Precise sending URL.
  • GET data transmission.
  • POST data transmission.
  • Error testing: required fields and formats (regular expressions).
  • Redirections.

7
Sessions

  • Introduction to sessions.
  • session_start().
  • Table $_SESSION.
  • Delete a session.
  • Displays and redirects according to session data.
Hands-on work
Set up a session for the logged-in user, along with a logout button. Creation of an administration page with restricted access, initially empty. Set up a menu with a conditionally displayed administration button. If time permits, set up a shopping cart listing products in session.

8
Files

  • File system manipulation: chown(), chmod(), copy(), delete(), rename(), mkdir(), rmdir().
  • Create files: fopen(), fread(), fwrite(), fclose() file_get_contents() and file_put_contents().
  • Retrieve and format dates: date() and strftime().
  • Set up a form with file upload (enctype attribute, input file).
  • Retrieving and using the $_FILES array.
  • Set limits on sending size and file type.
  • Tests the existence of files on the server with file_exists().
  • Move uploaded files with move_upload_file().
Hands-on work
Implementation of a logging system that lists users who have logged on in a file. Creation of a product administration page, including a form for adding a product, as well as a table listing the products in the database, and allowing them to be deleted.

9
Preparation for certification

  • Terms and conditions.
  • Training quiz.
  • Add features to the site as time permits.


Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie

REMOTE CLASS
2026 : 2 Mar., 8 June, 28 Sep., 7 Dec.

PARIS LA DÉFENSE
2026 : 9 Mar., 8 June, 21 Sep., 30 Nov.