O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PHP 7 Programming Solutions

Video Description

Take your PHP 7 web development skills to the next level with over 80 practical tasks

About This Video

  • Explore the new features of version 7.x

  • Go through the best practices for server-side programming, and MVC frameworks

  • Solve practical real-world programming problems using PHP 7

  • In Detail

    PHP 7 comes with a myriad of new features and great tools to optimize your code and make your code perform faster than in previous versions. Most importantly, it allows you to maintain high traffic on your websites with low-cost hardware and servers through a multithreading web server.

    This course demonstrates intermediate to advanced PHP techniques with a focus on PHP 7. Each video is designed to solve practical, real-world problems faced by PHP developers like yourself every day. We also cover new ways of writing PHP code made possible only in version 7. In addition, we discuss backward-compatibility breaks and give you plenty of guidance on when and where PHP 5 code needs to be changed to produce the correct results when running under PHP 7. This course also incorporates the latest PHP 7.x features.

    By the end of the course, you will be equipped with the tools and skills required to deliver efficient applications for your websites and enterprises.

    Table of Contents

    1. Chapter 1 : Building a Foundation
      1. PHP 7 Installation Considerations 00:06:54
      2. Using PHP Server, Defining MYSQL, and Installing PHPUnit 00:04:42
      3. Implementing Class Autoloading 00:05:39
      4. Hoovering a Website 00:03:42
      5. Building a Deep Web Scanner 00:03:28
      6. Creating a PHP 5 to PHP 7 Code Converter 00:05:00
    2. Chapter 2 : Using PHP 7 High Performance Features
      1. Understanding the Abstract Syntax Tree 00:05:42
      2. Understanding Differences in Parsing 00:03:52
      3. Understanding Differences in foreach() Handling 00:04:40
      4. Improving Performance Using PHP 7 Enhancements 00:05:27
      5. Iterating Through a Massive File 00:04:35
      6. Uploading a Spreadsheet into a Database 00:03:57
      7. Recursive Directory Iterator 00:04:34
    3. Chapter 3 : Working with PHP Functional Programming
      1. Developing Functions 00:05:30
      2. Hinting at Data Types 00:06:08
      3. Using Return Value Data Typing 00:04:54
      4. Using Iterators 00:10:37
      5. Writing Your Own Iterator Using Generators 00:05:48
    4. Chapter 4 : Working with PHP Object-Oriented Programming
      1. Developing Classes 00:06:18
      2. Extending classes 00:06:44
      3. Using Static Properties and Methods 00:03:43
      4. Using Namespaces 00:04:14
      5. Defining Visibility 00:03:48
      6. Using Interfaces 00:05:07
      7. Using Traits 00:07:16
      8. Implementing Anonymous Classes 00:05:27
    5. Chapter 5 : Interacting with a Database
      1. Using PDO to Connect to a Database 00:13:26
      2. Building an OOP SQL Query Builder 00:01:50
      3. Handling Pagination 00:03:54
      4. Defining Entities to Match Database Tables 00:04:33
      5. Tying Entity Classes to RDBMS Queries 00:08:09
      6. Embedding Secondary Lookups into Query Results 00:03:36
      7. Implementing jQuery DataTables PHP Lookups 00:05:36
    6. Chapter 6 : Building Scalable Websites
      1. Creating a Generic Form Element Generator 00:07:22
      2. Creating an HTML Radio Element Generator 00:04:50
      3. Creating an HTML Select Element Generator 00:05:53
      4. Implementing a Form Factory 00:06:29
      5. Chaining $_POST Filters 00:13:15
      6. Chaining $_POST Validators 00:05:53
      7. Tying Validation to a Form 00:05:37
    7. Chapter 7 : Accessing Web Services
      1. Converting between PHP and XML 00:04:12
      2. Creating a Simple REST Client 00:07:51
      3. Creating a Simple REST Server 00:07:11
      4. Creating a Simple SOAP Client 00:03:48
      5. Creating a Simple SOAP Server 00:04:28
    8. Chapter 8 : Looking at Advanced Algorithms
      1. Using Getters and Setters 00:06:46
      2. Implementing a Linked List 00:05:36
      3. Building a Bubble Sort 00:04:25
      4. Implementing a Stack 00:03:02
      5. Building a Binary Search Class 00:04:44
      6. Implementing a Search Engine 00:06:13
      7. Displaying a Multi-dimensional Array and Accumulating Tools 00:06:17
    9. Chapter 9 : Implementing Software Design Patterns
      1. Creating an Array to Object Hydrator 00:02:50
      2. Building an Object to Array Hydrator 00:01:41
      3. Implementing a Strategy Pattern 00:08:07
      4. Defining a Mapper 00:09:02
      5. Implementing Object-Relational Mapping 00:11:11
      6. Implementing the Pub/Sub Design Pattern 00:05:38
    10. Chapter 10 : Improving Web Security
      1. Filtering $_POST Data 00:04:27
      2. Validating $_POST Data 00:03:29
      3. Safeguarding the PHP Session 00:06:29
      4. Securing Forms with a Token 00:04:55
      5. Building a Secure Password Generator 00:06:36
      6. Safeguarding Forms with a CAPTCHA 00:14:03
      7. Encrypting/Decrypting without mcrypt 00:10:42
    11. Chapter 11 : Best Practices, Testing, and Debugging
      1. Using Traits and Interfaces 00:05:02
      2. Universal Exception Handler 00:04:43
      3. Universal Error Handler 00:04:08
      4. Customizing Sessions Using the session_start Parameters 00:04:45