Advanced PHP

Advanced PHP

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 17m | 350 MB

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
Table of Contents

1 Welcome
2 What you should know
3 How to use the exercise files
4 PHP namespaces overview
5 Use PHP namespaces
6 Composer overview
7 PHP interfaces overview
8 Create an interface
9 Extend an interface
10 PHP standard interfaces
11 PHP Traits overview
12 Create a Trait
13 PHP magic methods
14 PHP constructors and deconstructors
15 PHP singletons
16 PHP abstract classes overview
17 Create an abstract class
18 PHP Iterator overview
19 Create an iterator
20 Stacking iterators
21 SPL iterators
22 PHP generator overview
23 Create a generator
24 PHP password hashing
25 PHP password verification
26 Update PHP passwords
27 Basic PHP type hints
28 PHP strict type declarations
29 PHP return types
30 PHP closure overview
31 Create a closure
32 Advanced closures
33 PHP exception overview
34 Throw an exception
35 Nested exceptions
36 PHP SPL exceptions
37 Extend PHP exceptions
38 Finally block
39 Next steps