Description
In this course, you will study advanced aspects of the PHP language related to authentication and database manipulation. Opening up to new perspectives (Web 2.0) is addressed through an introduction to Ajax and the use of rich clients communicating in XML streams with the server. Finally, you will use some software bricks like PEAR or PHPLib to optimize your developments.
Who is this training for ?
For whom ?PHP developers who already have good practice with the language in procedural mode.
Prerequisites
Training objectives
Training program
- Introduction
- - Optimization of developments through the use of software bricks.
- - Development and reusability: strategies and challenges.
- Object Oriented Programming (OOP)
- - Classes, properties, methods.
- - Automatic methods.
- - Visibility and protection.
- - Constructor, destructor.
- - Implicit vs. explicit calling.
- - Inheritance and aggregation.
- - Propagation rules.
- - Polymorphism and typing.
- - Advanced OOP concepts .
- - Abstract class.
- - Interface.
- - SPL.
- - Design Pattern.
- - Cloning.
- - Practical work Creation of a form class.
- Namespaces
- - Relevance of Namespaces.
- - Basic syntax.
- - Implementation and impacts on loading.
- - Practical work Modification of classes carried out to take into account a Namespace.
- Composer / Packagist
- - Principle and issues.
- - The Composer dependency manager.
- - Share your packages with Packagist.
- - Installation / basic configuration.
- - Constraint syntax.
- - Universal loader and PSR.
- - Practical work Configuration and use of Composer for the integration and debugging of the form.
- Error management
- - Handling errors and exceptions with PHP.
- - Creating an error handler.
- - Buffering and Log files.
- - Practical work Creation of a personalized exception class.
- - Implementation of a buffered display and a Log file in the class.
- Authentification LDAP
- - Introduction.
- - OpenLDAP.
- - Configuration and startup (conf and ldif files).
- - Reading.
- - Anonymous login.
- - Querying and retrieving data.
- - Writing.
- - Administrator login.
- - Data formatting and inserting.
- - Practical work Implementation of an authentication class.
- Databases: moving to PDO
- n'as pas encore du programme
- XML/DOM/XSLT
- - XML.
- - Format and validation.
- - DOM and XPath.
- - Creation, parsing.
- - XSL transformers .
- - Using XSLT.
- - Practical work Creating a Google siteMap.
- Web Services
- - Presentation of web services.
- - REST approach (JSON/XML).
- - Implementation of a REST client and web service.
- - SOAP approach (WSDL).
- - Create a SOAP Web Service and its description file.
- - Implementation of a SOAP client in multi-service query.
- - Practical work Creation of SOAP web services and cross-requests.
- - Creation of RSS feeds (REST mode) based on third-party feeds (aggregation).
- PDF and Email
- n'as pas encore du programme