Skip to content

dbierer/php-ii-jun-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class Repo: PHP II - Jun - 2021

TODO

Homework

  • For Fri 18 Jun 2021
    • Lab: Validate an Email Address
  • For Thu 17 Jun 2021
    • Lab: SQL Statements
    • Lab: Prepared Statements
    • Lab: Stored Procedure
    • Lab: Transaction
  • For Wed 16 Jun 2021
    • Lab: Type Hinting
    • Lab: Build Custom Exception Class
    • Lab: Traits
  • For Fri 11 Jun 2021
  • For Wed 9 Jun 2021
    • Lab: Namespace
    • Lab: Create a Class
    • Lab: Create an Extensible Super Class

OOP

Autoloading

See autoload_example.php Notes:

PHP Async

Composer

Example of alternative repository other than packagist.org

  • wpackagist.org
    • Add this to the composer.json file:
    "repositories":[
        {
            "type":"composer",
            "url":"https://wpackagist.org",
            "only": [
                "wpackagist-plugin/*",
                "wpackagist-theme/*"
            ]
        }
    ],
    "require": {
        "aws/aws-sdk-php":"*",
        "wpackagist-plugin/akismet":"dev-trunk",
        "wpackagist-plugin/wordpress-seo":">=7.0.2",
        "wpackagist-theme/hueman":"*"
    },

If you run into problems regarding unmatched requirements, add this flag: --ignore-platform-reqs

  • Example: you're running PHP 8, and the Composer package requires PHP 7, but not 8
  • Composer will install with this flag ... but there's still guarantee that the package runs in PHP 8

Web Services

SOAP vs. REST:

Final Bindings

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages