PHP Development Fundamentals

Paths

PHP Development Fundamentals

Authors: Jonathan Klein, Christian Wenz, Jill Gundersen, Reza Salehi, Matthew Setter, Annapurna Agrawal, Mike Van Sickle, Anna Filina

PHP is a general-purpose scripting language especially suited to web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference... Read more

  • How to set up your PHP development environment
  • Object Oriented PHP
  • Work with forms and databases
  • Authentication and authorization
  • Sessions and cookies
  • Working with files, dates and times
  • Unit testing with PHPUnit
  • PHP Design Patterns
  • Debugging with XDebug

Pre-requisites

  • HTML
  • CSS

PHP Development Fundamentals

PHP is a general-purpose scripting language especially suited to web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group. In this path you will build a solid foundation of PHP fundamentals.

PHP: The Big Picture

by Jonathan Klein

Sep 15, 2020 / 50m

50m

Start Course
Description

PHP powered early versions of Facebook, Slack, Wikipedia, Wordpress, and more. At one point it ran over 50% of the internet! Has it kept up with the times, and is it right for you? In this course, PHP: The Big Picture, you will explore what makes PHP so important. First, you will learn why PHP became so popular. Next, you will learn the tradeoffs inherent in PHP’s design. After watching this course, you'll have a clear understanding of PHP’s core use cases, advantages, and drawbacks so you can make an educated decision on whether PHP is right for you.

Table of contents
  1. Course Overview
  2. PHP in Context
  3. PHP vs. the Competition
  4. PHP Basics
  5. Building Robust Production Applications

PHP: Getting Started

by Christian Wenz

Dec 9, 2020 / 3h 1m

3h 1m

Start Course
Description

PHP is the most widely used server language on the web. In this course, PHP: Getting Started, you’ll learn to make your first steps with PHP. First, you’ll explore processing form data. Next, you’ll discover storing and retrieving data from a database. Finally, you’ll learn how to create a simple, password-protected database-backed application. When you’re finished with this course, you’ll have the skills and knowledge of PHP needed to dive deeper into selected topics.

Table of contents
  1. Course Overview
  2. Diving into PHP
  3. Processing Form Data
  4. Using MySQL with PHP
  5. MySQL Database Management
  6. More Features and Conclusion

Object-Oriented PHP

by Jill Gundersen

Aug 16, 2021 / 1h 4m

1h 4m

Start Course
Description

In any modern, high level programming language like PHP, developers must know the fundamentals of object-oriented programming. In this course, Object-Oriented PHP, you’ll learn about object-oriented programming. First, you’ll explore what goes into making a class, understanding property types, and creating member methods. Next, you’ll discover how to create objects and how they interact with classes. Finally, you’ll learn how to use inheritance, create an interface, and add abstraction to complete your learning. When you’re finished with this course, you’ll have the skills and knowledge of object-oriented programming using PHP that is needed to tackle any type of PHP application.

Table of contents
  1. Course Overview
  2. Introduction
  3. Classes and Objects
  4. Advanced Object-Oriented PHP

Working with Databases in PHP

by Reza Salehi

Sep 9, 2020 / 2h 56s

2h 56s

Start Course
Description

Interacting with a database is one of the most crucial tasks in a web application. In this course, Working with Databases in PHP, you’ll learn to use common databases in your PHP web application. First, you’ll explore how to set up a local PHP development environment. Next, you’ll discover how to interact with common relational databases in your code. Finally, you’ll learn how to use MongoDB with PHP to persist non-relational/NoSQL data. When you’re finished with this course, you’ll have the skills and knowledge of PHP needed to work with common databases.

Table of contents
  1. Course Overview
  2. Getting Started
  3. PHP and Relational Databases
  4. PHP Data Objects (PDO)
  5. PHP and Non-relational Databases
  6. Use Doctrine ORM

Implementing Forms in PHP

by Christian Wenz

May 10, 2021 / 1h 59m

1h 59m

Start Course
Description

Forms allow users to send data to your site. In this course, Implementing Forms in PHP, you’ll learn to use PHP to work with HTML forms. First, you’ll explore different HTTP verbs, and how to use them with PHP. Next, you’ll discover handling form data, including data validation and prefilling form fields. Finally, you’ll learn how to handle file uploads. When you’re finished with this course, you’ll have the skills and knowledge of PHP needed to work with forms.

Table of contents
  1. Course Overview
  2. PHP Form Basics
  3. Processing Form Data
  4. Form Validation
  5. File Uploads

Authentication and Authorization in PHP

by Matthew Setter

Dec 16, 2020 / 2h 35m

2h 35m

Start Course
Description

Implementing authentication and authorization in PHP are crucial for safeguarding your applications and ensuring proper usage of them. In this course, Authentication and Authorization in PHP, you’ll learn how to implement multiple methods of authentication and authorization using PHP. First, you'll explore how to implement four types of authentication: HTTP, Session, OAuth2, and OIDC. Next, you’ll discover how to implement two types of authorization: Role-based Access Control (RBAC) and Access Control Lists (ACLs). Finally, you'll get a broad introduction to modern privacy legislation and its impacts on the security measures which you implement in your applications. When you’re finished with this course, you’ll have the skills and knowledge needed to implement modern authentication and authorization in your PHP web applications.

Table of contents
  1. Course Overview
  2. What Is Authentication?
  3. HTTP Authentication
  4. (HTTP+HTML) Form-based Authentication
  5. What Is Authorization?
  6. ACL (Access Control Lists)
  7. RBAC (Role-based Access Control)
  8. JWT (JSON Web Token) Authentication
  9. The Impact of Privacy Legislation

Cookies and Sessions in PHP

by Annapurna Agrawal

Feb 16, 2021 / 2h 6m

2h 6m

Start Course
Description

Learning about sessions and cookies in PHP is finally easy! In this course, Sessions and Cookies in PHP, you’ll learn to remember the user preferences and personalize the browsing experiences on your application. First, you’ll explore the ins and outs of cookies in PHP. What they are, how are they used to save user data and what are the pros and cons of cookies. Next, you’ll discover the alternative to cookies, i.e. the sessions. You will see how the session is more secure as compared to cookies. Finally, you’ll learn how to use cookies with sessions. When you’re finished with this course, you’ll have the skills and knowledge of using cookies and sessions in PHP needed to remember the user data, preserve their state, and give a personal touch for the users in your application.

Table of contents
  1. Course Overview
  2. Understanding Sessions and Cookies
  3. Working with Cookies
  4. Working with Sessions
  5. Handling Session Security

Working with Files in PHP

by Mike Van Sickle

Sep 3, 2020 / 1h 34m

1h 34m

Start Course
Description

Almost all applications have to work with the filesystem at some point. In this course, Working with Files in PHP, you’ll learn to safely and efficiently manage files in your applications. First, you’ll explore how to create, read, and update individual files. Next, you’ll discover the tools that PHP offers for managing directories. Finally, you’ll learn how to send and receive files in the context of web services. When you’re finished with this course, you’ll have the skills and knowledge of file management needed to open, modify, and save files using PHP.

Table of contents
  1. Course Overview
  2. Managing Files
  3. Other File Operations
  4. Working with the Filesystem
  5. Sending and Receiving Files with Web Services

Working with Date and Time in PHP

by Annapurna Agrawal

Jun 25, 2021 / 2h 16m

2h 16m

Start Course
Description

Date and time are so basic, that we often forget its complexity. These are found everywhere, in all applications, be it the timestamp columns in the database, or logging data into the log files. The date format varies in different places. In this course, Working with Date and Time in PHP, you will familiarize yourself with foundational knowledge and gain the ability to use classes and functions to work with time and date. First, you will learn functions to work with time and date, which would be valid for everyone across any timezone. Next, you will discover how to deal with daylight saving. Finally, you will explore how to use dates when it comes to using MySQL with PHP. When you’re finished with this course, you will have the skills and knowledge to know how PHP handles the timezones and daylight saving, making the task even easier.

Table of contents
  1. Course Overview
  2. Getting Started with Date and Time in PHP
  3. Getting Familiar with Basic Date and Time Functions in PHP
  4. Understanding DateTime Class in PHP
  5. Using TimeZones in PHP
  6. Working with DateInterval and DatePeriod Class
  7. Dealing with Database for Dates

Unit Testing with PHPUnit

by Anna Filina

Dec 15, 2020 / 1h 21m

1h 21m

Start Course
Description

Debugging is typically very time-consuming, and pre-release manual testing is often unreliable. In this course, Unit Testing with PHPUnit, you’ll learn to write unit tests in PHP. First, you’ll explore the fundamentals of unit tests and PHPUnit itself. Next, you’ll discover how to write better tests using mocks. Finally, you’ll learn how to track your code coverage and run tests using continuous integration. When you’re finished with this course, you’ll have the skills and knowledge of PHPUnit needed to increase the quality of your PHP applications.

Table of contents
  1. Course Overview
  2. Understanding the Role of Unit Tests
  3. PHPUnit Basics
  4. Advancing from Debugging to TDD
  5. Writing Better Tests
  6. Using Mocks
  7. Measuring Code Coverage
  8. Writing Integration Tests
  9. Continuous Integration

PHP Design Patterns

by Annapurna Agrawal

Feb 14, 2020 / 1h 19m

1h 19m

Start Course
Description

Design patterns, in any programming language, are the solution to common problems in software design. These are blueprints that can be customized to suit the need, unlike a library or a code file, which can be simply pasted into the out program. In this course, PHP Design Pattern, you will learn foundational knowledge of how using design patterns can make your application design flexible and extensible, following all the design principles. First, you will learn what exactly the design pattern is. Next, you will discover how they are categorized and learn about its types. Finally, you will explore the creational, structural, and behavioral design patterns in PHP. When you’re finished with this course, you will have the skills and knowledge of having a recommendable application design needed to manage and extend it, while keeping it simple.

Table of contents
  1. Course Overview
  2. Understanding Design Patterns
  3. Learning Creational Design Patterns
  4. Using Structural Design Patterns
  5. Implementing Behavioral Design Patterns
Offer Code *
Email * First name * Last name *
Company
Title
Phone
Country *

* Required field

Opt in for the latest promotions and events. You may unsubscribe at any time. Privacy Policy

By providing my phone number to Pluralsight and toggling this feature on, I agree and acknowledge that Pluralsight may use that number to contact me for marketing purposes, including using autodialed or pre-recorded calls and text messages. I understand that consent is not required as a condition of purchase from Pluralsight.

By activating this benefit, you agree to abide by Pluralsight's terms of use and privacy policy.

I agree, activate benefit
Learning Paths

PHP Development Fundamentals

  • Number of Courses11 courses
  • Duration20 hours
  • Skill IQ available Skill IQ

PHP is a general-purpose scripting language especially suited to web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group. In this path you will build a solid foundation of PHP fundamentals.

Join our learners and upskill
in leading technologies