PHP 7 training will teach you how to use the most advanced features of the PHP 7 language to quickly create high-performance, secure, and rich web applications.
Pedagogical objectives of PHP 7 Training:
- The PHP syntax for developing dynamic websites
- Web form processing
- User session management
- Accessing data from a MySQL database
- Creation of dynamic images and graphics
PHP 7 Training Course:
- Module 1 of the PHP 7 training: The main new features of PHP
- Performance optimization, an engine redesign
- Typing for parameters and return values ??of functions
- A large number of fatal errors are turned into exceptions
- New operator: spaceship, to compare two variables
- array_column function
- Semi-reserved keywords
- New operator: ??
- Anonymous classes
- Module 2 of the PHP 7 training: Typing in PHP
- Variables with flexible typing
- Functions and methods: Defining the type of parameters
- Functions and methods: Defining the type of the return value
- Namespace, namespace
- Declare a namespace
- Manage multiple namespaces
- Redefining PHP classes, functions, constants
- Import namespaces
- Naming conventions, PSR 0 and PSR 4
- Module 3 of the PHP 7 training: Automatic loading of classes (autoload)
- Defining an autoload function
- Native autoload function (to introduce the sequel)
- The spl_autoload_*() family of functions
- PHP 7 Training Module 4: Iterators and Generators
- Presentation of use cases
- Simple Iterator Usage
- Externalize iterator code with IteratorAggregate
- Write a generator
- Delegation of generators
- Generator vs Iterator
- Module 5 of the PHP 7 training: Code organization, naming and dependencies
- Organization of code and files (PSR inside)
- SOLID (not new but so important)
- Using packages (compose; version numbers and semver...)
- PHP 7 Training Module 6: Case Studies
- Migration from Badoo to PHP 7
- Migration from Dailymotion to PHP 7
- Introduction to code analysis tools