Chapter 1: intro
A short chapter on what PHP is, tips and tricks for getting the most out of the course, and installing PHP on your machines.
Chapter 2: working with data
In this chapter, learn the basics of PHP: executing a script, defining variables, exploring data types, and typecasting.
Chapter 3: control structures
In this chapter, learn how to control logic flow by instructing the PHP interpreter to execute specific blocks of code or to perform repetitive actions with loops.
Chapter 4: functions
Explore PHP functions in this chapter. Learn to create reusable code blocks, use parameters, and handle return values.
Chapter 5: filling in the gaps
In this chapter, we'll explore various topics that should be covered before we get into object-oriented programming.
Chapter 6: introduction to object oriented programming
In this chapter, we'll start getting into object-oriented programming, creating objects, understanding properties and methods, and the four principles of OOP.
- What is Object-Oriented Programming?
- Creating Objects and Classes
- Constructor Method
- Null Safe Operator
- Using Constants in Classes
- Access Modifiers
- Typed Properties
- Readonly Properties
- Inheritance (OOP Principle)
- Overriding Methods
- Encapsulation (OOP Principle)
- Abstract Classes
- Abstraction (OOP Principle)
- Polymorphism (OOP Principle)
Chapter 7: php functions
In this chapter, we'll explore the various functions offered by PHP to help you work with various types of data from strings and arrays to files.
Chapter 8: regular expressions
In this chapter, we'll learn about how to write and use regular expressions to help us search and replace strings.
Chapter 9: user submitted data
In this chapter, we'll learn how to work with data submitted by the browser and the steps you should take before performing any action based on the data.
Chapter 10: file uploads
In this chapter, we'll learn how to allow users to upload files. Afterward, we'll process them by extracting file information, validate files, and manipulate the data.
Chapter 11: dates and time
In this chapter, we'll look at how to use PHP's functions and classes for working with dates, timezones, and timestamps. By the end, you'll be able to easily manipulate the date/time.
Chapter 12: data persistence
In this chapter, you'll learn how to persist data after a request has been completed by using cookies and sessions.
Chapter 13: error handling
In this chapter, we'll dive more into errors by configuring PHP and handling exceptions with try-catch blocks.
Chapter 14: sql crash course
In this chapter, we'll deviate from our PHP journey to explore databases. We'll learn about SQL syntax and perform basic operations from creating tables to CRUD actions.
Chapter 15: pdo
In this chapter, we learn about PHP's PDO extension for performing SQL queries to interact with databases.
Chapter 16: advanced oop
In this chapter, we'll talk about advanced object-oriented programming features, such as object cloning, traits, and attributes.
Chapter 17: dependency management
In this chapter, we'll learn how to manage the dependencies in our project from 3rd party vendors.
Chapter 18: best practices
In this chapter, we'll talk about best practices that you should always implement in your PHP projects to boost productivity and development.
Chapter 19: security
In this chapter, we'll talk about how to secure your application from various attacks.
Chapter 20: testing
In this chapter, we'll talk about how to test your application and the various approaches developers take during the development lifecycle of an app.