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.
Topics include:
- 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