PHP for beginners
A comprehensive 3-day training designed for beginners aiming to build dynamic web applications using PHP. Participants will learn to set up a PHP/MySQL development environment, write structured PHP code, handle data with SQL, and integrate external libraries using Composer. The course emphasizes practical learning through progressive exercises, culminating in the development of a functional web application. By the end, attendees will be equipped to design and develop the server-side of a website, generating the necessary code for the front-end. This training is ideal for novice developers seeking to create applications or services based on the PHP programming language.

Program:
Day 1 - PHP basics
What is PHP?
- A bit of History
- What is PHP and what is a PHP File?
PHP basics
- PHP tags
- Short echo tags
- PHP + HTML
- Comments
Variables
- Variables types
- Constants
- Quotes
- Concatenation
- Operators
Control Structures
- if, elseif, else, while, for, while, for, foreach
- break, continue
- switch…case
- match
- include, require
Functions
- Recursion
- Types declaration
- Variable arguments
- Default parameters
- Anonymous functions
- Arrow functions
HTTP methods
- Superglobals
- GET and POST
- Other HTTP methods
- Forms
- Filters
Persistency and storage
- Sessions
- Cookies
- File storage
Day 2 - OOP and database
The essence of Object Oriented Programming
- Basics
- Properties
- Constructor and Destructor
- Keyword $this
- Visibility
- Constants
- Inheritance
- Abstract, Final and Static
- Magic methods
- Errors and exceptions
- Headers
- Interfaces and traits
- Namespaces
Database
- Mysqli
- PDO
Day 3 - External libraries and opening topics
External libraries
- Autoload
- Composer
- Dotenv
- PHPUnit
- PHP cli
Ecosystem
- Extensions
- Frameworks
- CMS
Gwendal Le Coguic - contact@glc.st - quotes on request - SIRET 79778302400038