CommonLounge Archive

Learn PHP: From Beginner to Expert

September 20, 2018

Welcome to Commonlounge’s PHP Class. This is a 23-part course which will teach you PHP from scratch. It’s designed to be very hands-on and will walk you through every step of the process.

You don’t need to have any previous knowledge of programming or PHP! The only prerequisite for this course is some basic knowledge of HTML.

The course is divided into five sections — set-up and installation, PHP programming basics, more involved topics (sessions, forms and OOP), PHP and databases, and final project.

The quizzes, coding exercises and projects get more involved as the course goes on. This course includes 50+ practice problems, 20+ coding exercises and a 3-part final project — which guides you through creating a Twitter clone in PHP!

Setup and Installation

In this section, we’ll guide you through installing PHP and installing a code editor (for writing PHP code).

Getting started with PHP programming

The first few tutorials work on basic PHP concepts like strings, variables, arrays and if-statements — along with quizzes to check your understanding. Towards the end of the section, you will learn about more involved topics like functions, loops and superglobals — and also do a lot of coding exercises.

Going deeper into PHP programming

In this section, you will learn how to work with multiple PHP files at the same time. You will also learn about sessions (so that you can allow users to log-in and log-out) and forms (to input user data). Finally, you will learn about Object Oriented Programming (OOP).

PHP and Databases

These tutorials will teach you about databases, and how to interact with databases using PHP. This is the final step before you can make really cool projects and websites using PHP.

Final Project: Twitter Clone

These tutorials guide you through creating a Twitter Clone in PHP from scratch. You will be implementing all the primary features of Twitter — including signup and login flow, tweeting, home feed, profile page, and the ability to follow users!

© 2016-2022. All rights reserved.