Logo de PHP

Goals


- Master the fundamentals of object-oriented programming in PHP

Program

PHP reminders Understand
object-oriented, link design and programming
Understand the progressive appearance of the object in PHP over the versions
Structuring processing through objects

Create web scenarios through an organization of objects

Definition: object, instance and class
Grouping processes: classes and methods
Passing parameters and returning: the “hinting type”
Sharing data between methods: attributes, notion of encapsulation
Instantiating and calling on objects
Visibility of members : methods, attributes and constants
Static accesses

Implement scenarios via classes and test them

Association: principle and notion of dependency
Handling one object via another: aggregation
Controlling the life cycle of an object via composition
Namespaces: namespaces
Automatically load definitions: autoload

Link objects together, define levels of abstraction

Make a contract via the interface declaration
Extend the behavior of an object by inheritance
Factor behaviors through a parent class
Factor behaviors through a trait
Block instantiation using abstract classes
Understand the notions of polymorphism and genericity

nteraction between classes, management cardinality

PHP command line CLI
Installation of composer
Project
declaration Declaration of dependencies, version constraints
Dependencies related to the platform
Update and installation of dependencies
Auto-loading of definitions (PSR-0, PSR-4, classmap, files )
Debugging incompatibilities (why, why-not)

Declare your project with composer, import a library

Passing of the certification (if foreseen in the financing).

Duration

3 days

Price

£ 1175

Audience

PHP Developer or Modern Language Developer (Java, C #) with a good knowledge of PHP syntax

Prerequisites

Good knowledge of PHP

Reference

PHP1085-F

Sessions

Contact us for more informations about session date