Description
This course will allow you to operationally master the PHP language in the context of object development. You will learn how to create a dynamic website and address the implementation of aspects related to this type of development. The entire course is object oriented.
Who is this training for ?
For whom ?Developers and webmasters.
Prerequisites
Training objectives
Training program
- Introduction
- - What is PHP? Interactivity with Internet users.
- - The differences between PHP 4, PHP 5 and PHP 7.
- - Presentation of the example used during training.
- -
- PHP Language Basics
- - Automation of a Web page.
- - The client-server.
- - First elements of the language.
- - Integration of PHP in a page HTML.
- - Variables and functions.
- - Libraries.
- - Basic functions, server variables and PHP variable.
- - Flow controls and loops.
- - Practical work Creating custom functions.
- Object Oriented Programming (OOP)
- - UML reminder.
- - Modeling classes.
- - Tools.
- - Classes, properties, methods.
- - Visibility and protection.
- - Constructor, destructor.
- - Implicit vs. explicit call.
- - Inheritance and aggregation.
- - Propagation.
- - Polymorphism.
- - Serialization and storage.
- - Organization of files.
- - Practical work Creation of a PageWeb class.
- User session management
- - Persistent variables: Cookies and Session.
- - Advantages, limitations and precautions.
- - Session variables and related functions.
- - Cookies.
- - Serialization of complex variables.
- - Usage.
- - Practical work Creation of a shopping cart object that can be stored in Cookie or Session.
- - Order quantity management.
- Using a MySQL database
- - Concepts: bases, tables, fields, records.
- - PHP Mysqli functions.
- - Introduction to the SQL language.
- - Queries and processing of results.
- - Practical work Creation of a MySQL database and product sheets on the fly.
- A professional web application
- - Multi-layer architecture concepts.
- - MVC principles.
- - Complex forms.
- - Data binding.
- - Advanced selection functions: searches and sorting.
- - Graphics in PHP: from the GD library.
- - Site integration.
- - Practical work Production of a search engine.
- - Improvement of the SQL class.
- - Multi-layer implementation.
- - Integration of the different modules produced.