Advanced PHP
2h 18mAdvanced2016-09-13
Authors

Justin Yost
Web Developer, Programmer
Course details
Implement namespaces, extend interfaces, create your first Trait, dive into object-oriented programming, and discover versatile scripting methods with this course. Web developer Justin Yost takes you into the advanced parts of the PHP server-side language, including abstract classes, iterators, generators, and password hashing. He provides an overview of each topic, takes you through how to code each item for the first time, and then shows you how to expand further.
Learn how to establish consistency, solve problems, and prevent your applications from crashing by applying the techniques Justin shares in this course. Take your object-oriented programming beyond basic attributes and methods into using constructors, deconstructors, and singletons. Build nested exceptions, use type hints, and explore additional ways you can craft more flexible software using PHP.
Learning objectives
Namespaces
Standard interfaces
Traits
Constructors, deconstructors, and singletons
Cloning objects
Abstract classes
Iterators
Generators
Password hashing and verification
Type hints, strict type hints, and return types
Advanced closures
Nested exceptions and SPL exceptions
Learn how to establish consistency, solve problems, and prevent your applications from crashing by applying the techniques Justin shares in this course. Take your object-oriented programming beyond basic attributes and methods into using constructors, deconstructors, and singletons. Build nested exceptions, use type hints, and explore additional ways you can craft more flexible software using PHP.
Learning objectives
Namespaces
Standard interfaces
Traits
Constructors, deconstructors, and singletons
Cloning objects
Abstract classes
Iterators
Generators
Password hashing and verification
Type hints, strict type hints, and return types
Advanced closures
Nested exceptions and SPL exceptions
Skills covered
PHPAdvancedProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - How to use the exercise files
1. PHP Namespaces
- 04 - PHP namespaces overview
- 05 - Use PHP namespaces
- 06 - Composer overview
2. PHP Interfaces
- 07 - PHP interfaces overview
- 08 - Create an interface
- 09 - Extend an interface
- 10 - PHP standard interfaces
3. PHP Traits
- 11 - PHP Traits overview
- 12 - Create a Trait
4. Advanced PHP Object-Oriented Programming
- 13 - PHP magic methods
- 14 - PHP constructors and deconstructors
- 15 - PHP singletons
5. PHP Abstract Classes
- 16 - PHP abstract classes overview
- 17 - Create an abstract class
6. PHP Iterator
- 18 - PHP Iterator overview
- 19 - Create an iterator
- 20 - Stacking iterators
- 21 - SPL iterators
7. PHP Generators
- 22 - PHP generator overview
- 23 - Create a generator
8. PHP Password Hashing
- 24 - PHP password hashing
- 25 - PHP password verification
- 26 - Update PHP passwords
9. PHP Type Hints
- 27 - Basic PHP type hints
- 28 - PHP strict type declarations
- 29 - PHP return types
10. PHP Closures
- 30 - PHP closure overview
- 31 - Create a closure
- 32 - Advanced closures
11. PHP Exceptions
- 33 - PHP exception overview
- 34 - Throw an exception
- 35 - Nested exceptions
- 36 - PHP SPL exceptions
- 37 - Extend PHP exceptions
- 38 - Finally block
Conclusion
- 39 - Next steps