Instead of teaching you about different parts of PHP programming like variables, loops, arrays, functions and so on I believe the best way to learn is by working on a project so you can see how all the pieces fit together.
We’re going to start right from the beginning so even if this is your first time programming this course is for you.
We’re going to create a PHP journal application which has the following features:-
- Home page
- Registration + login
- View profile
- Edit profile
- Create journal entry
- Edit journal entry
- Delete journal entry
- Reset password
These features form the foundation for nearly all web applications so when you have these skills you will be well on your way to becoming a professional programmer.
The application which we will create will be almost like your own little version of Twitter.
We will use the following technologies:-
Ready? Let’s go!
Setting up your development environment
PHP programming is written inside files which end with .php
First you need to set up a server on your desktop or laptop which will run your PHP files. You can easily set up a PHP development server called XAMPP on your computer by doing the following:-
- Visit https://www.apachefriends.org
- Download the installer for your operating system – Windows, OS X or Linux
- Run the installer
You can watch the video below to guide you through the installation.
That’s it for this lesson!
In the next lesson we’ll start using our new development server to build our PHP journal application.