Objectives of the training
This training course enables participants to acquire the skills and knowledge necessary to master the PHP language in an operational manner in the context of object-oriented development.Targeted audience
Computer scientists who wish to acquire operational training in PHP in the context of object-oriented PHP development.Prerequisite
It is essential to have a basic knowledge of HTML outside of WYSIWYG software (documents, formatting, images, tables, and forms) and at least one programming language.Trainers
Benefits for Participants
• Master the concepts of object-oriented programming in PHP.
• Develop dynamic and secure web applications.
• Use PHP to interact with MySQL databases.
• Integrate advanced graphics features with the GD library.
• Apply the principles of multi-layer architecture and the MVC model.
Course architecture
Introduction
• What is PHP?
• Interactivity with Internet users
• Differences between PHP 4 and PHP 5
• Presentation of the example used during the training: the online store
Language Basics
• Automating a web page
• Client-server principles
• First elements of the language
• Integrating PHP into an HTML page
• Variables and functions
• Libraries
• Basic functions, server variables, and variables
• Flow controls and loops
Object-Oriented Programming (OOP)
• UML essentials: Class modeling, design tools
• Classes, Properties, Methods: Visibility & Protection
• Constructor, destructor: Implicit vs. explicit calls
• Inheritance & Aggregation: Propagation rules, polymorphism
• Serialization and storage: transmission, recording
• File organization: transmission, recording
First WEB applications
• Simple forms:
o Passing and transmitting variables
o Reading and writing files
o Login/password verification
o Redirection
• Complex variables: arrays
o Array constructor
o Functions associated with arrays
o Extraction functions
o Array navigation functions
User session management
• Persistent variables: Cookies and Sessions
• Advantages and disadvantages of cookies and sessions
• Limitations and precautions
• Session variables
• Functions related to session variables
• Cookies
• Serialization of complex variables
• Use
Databases: “Using a MySQL database”
• Overview
• Fundamental concepts: Databases, tables, fields, records
• PHP Mysqli functions
• Introduction to SQL (selection, modification, deletion)
• Processing query results
• Creating a Criteria object and a Query object
A professional web application
• Concepts of multi-layer architecture: Introduction to MVC principles
o Complex forms: Search engine: object form linked to a database, advanced selection functions: searches and sorting
• Graphics in PHP
o Presentation of the GD library
o Image creation, reuse
o Font and image mode writing management
o Text overlay for copyright protection
o Website integration
Integration of the various modules created, image display, with copyright notice
Pedagogical details
Type of training
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quotePrivate or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote