TI290
Information technology

Mastering object-oriented programming in PHP

Build dynamic web applications in PHP using object-oriented programming

Participants will cover both the comprehensive features of the object model, such as data management, and aspects related to this type of development, such as accessing stored data and manipulating graphic files.

Is it for you ?

Computer scientists who wish to acquire operational training in PHP in the context of object-oriented PHP development.

Prerequisites

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.

What You'll Walk Away With

  • Develop dynamic web applications using core PHP programming concepts
  • Design object-oriented models with classes, inheritance, and polymorphism
  • Manage user interactions with forms, sessions, and cookies
  • Connect to MySQL databases and execute SQL queries in PHP
  • Structure applications using MVC architecture and integrate advanced features

Training content

1 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

2 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

3 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

4 First WEB applications

Simple forms:

  • Passing and transmitting variables
  • Reading and writing files
  • Login/password verification
  • Redirection
  • Complex variables: arrays
  • Array constructor
  • Functions associated with arrays
  • Extraction functions
  • Array navigation functions

5 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

6 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

7 A professional web application

Concepts of multi-layer architecture: Introduction to MVC principles

  • Complex forms: Search engine: object form linked to a database, advanced selection functions: searches and sorting

Graphics in PHP

  • Presentation of the GD library
  • Image creation, reuse
  • Font and image mode writing management
  • Text overlay for copyright protection
  • Website integration

Integration of the various modules created, image display, with copyright notice

See more

📌 Practical information

Our training sessions are offered in Montreal or Quebec City, in person or in a virtual classroom. Dates and locations are specified when you select your session below. If you have any questions, check out our FAQ.

Duration
5 days
Schedule
See training dates for details
Regular fee
$2,395
Preferential fee A preferential rate is offered to public institutions, to members of certain professional organizations as well as to companies that do a certain amount of business with Technologia. To know more, please read the "Registration and rates" section on our FAQ page. Please note that preferential rates are not available for online training courses. Discounts cannot be combined with other offers.
$2,155
Private or personalized training

Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.

Request a quote

Request in-company training

Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.

Tell us more
Added to cart View my cart