PHP for the Web: Learn PHP without a Framework

Gain insights into modern PHP by delving into POST requests, forms, sessions, and redirects to build a CRUD app with authentication, focusing on pure PHP without frameworks.

Intermediate

92 Lessons

17h 15min

Certificate of Completion

Gain insights into modern PHP by delving into POST requests, forms, sessions, and redirects to build a CRUD app with authentication, focusing on pure PHP without frameworks.

AI-POWERED

Code Feedback
Explanations

AI-POWERED

Code Feedback
Explanations

This course includes

91 Playgrounds
12 Quizzes

This course includes

91 Playgrounds
12 Quizzes

Course Overview

PHP for the Web is a terrific introduction on how to use modern PHP effectively. While there is a lot of material out there about building applications with PHP, most of them focus on using a framework like Laravel or Symfony. By working with pure PHP, you will be able to focus on the core ideas instead of how a particular framework implements them. In this course, you will learn how to use multiple web technologies like POST requests, forms, sessions, and redirects to build a CRUD application with an auth...Show More

Course Content

1.

Getting Started

Learn how to use foundational PHP skills and practical web development techniques.
2.

Serving Resources

Get started with serving HTML files, adding favicons, securing directories, and monitoring server communication.
3.

Serving PHP Scripts

Master the steps to serve dynamic content, pass values, and ensure PHP script security.
4.

Forms

Break down complex ideas to enhance form handling, security, and POST/GET data submissions in PHP.
5.

Cookies

Solve problems in setting and utilizing PHP cookies for user personalization and state maintenance.
6.

Sessions

5 Lessons

Simplify complex topics like session handling, storage, and flash messaging in PHP for secure user data management.
7.

Authentication

7 Lessons

Build on authenticating users, creating secret pages, setting up login forms, and managing sessions.
8.

PHP Project Structure

12 Lessons

Learn how to structure PHP projects with reusable snippets, routing, and task management.
9.

CRUD Part 1: Create

8 Lessons

Walk through creating, validating, and listing data using PHP and JSON storage.
10.

CRUD Part 2: The Rest

8 Lessons

Examine how to edit, delete, and manage tour and task data efficiently.
11.

File Uploads

7 Lessons

Apply your skills to securely upload, process, and display files in a PHP application.
12.

Error Handling

5 Lessons

Map out the steps for effective error handling and configuration in PHP environments.
13.

Automated Testing

10 Lessons

Follow the process of setting up automated tests using PHPUnit and Panther for PHP applications.
14.

Conclusion

1 Lesson

Approach advanced PHP concepts like OOP, frameworks, and automated testing for growth.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor