
Master end-to-end web development with PHP and Bootstrap, manage databases with MySQL and phpMyAdmin, and deploy via GitHub and Heroku, plus hosting with cPanel.
Install and configure the XAMPP stack to run Apache and MySQL locally, then create a new site under htdocs with an index.php page and access it via local host.
Install Visual Studio Code as a flexible PHP development IDE, configure extensions and the PHP executable path, and prepare the project for GitHub deployment.
Set up a GitHub account, install desktop clients, host code remotely with git, and manage public or private repositories, commits, and pushes.
learn how to create a Heroku account, connect your github repository, and deploy a php app to a scalable Heroku container with automatic deployments.
Learn how php works by building a local web page with xampp and apache, using vscode, creating index.php, echoing content, variables, concatenation, and HTML output with single or double quotes.
Master if statements in basic PHP development to make decisions using variables and comparisons. Render dynamic, color-coded results (pass or fail) with echo and else/else if blocks.
Explore switch statements in php, compare with if-else, declare a switch on a variable, define cases with break, and use default for fallbacks, illustrated with color outputs.
Explore the PHP for loop as a counter-controlled construct that repeats actions a set number of times, using initialization, condition, and increment with echo and interpolation.
Master while and do while loops, exploring precondition and postcondition behavior, avoiding infinite loops, and comparing them to the for loop for condition-based execution.
Explore PHP arrays and manipulation, contrasting variables with arrays, declare and access indexed arrays, zero-based subscripts, determine size, and traverse with for loops to print values.
Explore string manipulation in PHP by concatenating strings, transforming case, and using built-in functions like substr, strlen, trim, replace, and repeat to format output.
Learn date and time manipulation in PHP, including obtaining a timestamp, formatting dates with date(), and printing with interpolation and named subscripts.
Learn how to define and call user defined functions in PHP, with parameters and function scope. Master passing by value and passing by reference with the ampersand, and returning results.
Master PHP include and require to centralize headers, menus, and footers with an includes folder, enabling dynamic titles and consistent pages across the site.
Learn to integrate the Bootstrap framework into a PHP project, via download or a CDN, and apply a container, responsive grid, and nav components.
Publish your PSP primer site to GitHub by creating a local repository, publishing it, and pushing changes with GitHub Desktop; commit to master and use fetch and pull for collaboration.
Learn to deploy PHP primer websites to Heroku by linking GitHub, creating an app, and using Bootstrap with manual or automatic deploys from the master branch.
Overview
This course is designed to equip students with the basic knowledge on how PHP works with HTML and CSS. It equips students with the fundamentals of PHP programming, teaches them about the benefits of using source control and ultimately allows you to publish your finished website to the internet.
Why Learn PHP
PHP was designed to make web development easier, and many beginners find it effortless to pick up and get started with. In fact, PHP code was so easy to pick up, many non-programmers end up being able to hack PHP code together without truly understanding the code.
The top 5 reasons to learn PHP are:
Beginner Friendliness
Designed to Scale
Active Support Community
Career Opportunities
Future
At the end of this course, you should be able to:
Understand the PHP Application Flow
Understand how to use:
Variables
Print Statements
Arrays
Date/Time and String Manipulation
Functions
Loops
Decision Statements
Understand Bootstrap 4 CSS Framework
Use Visual Studio Code Efficiently
Deploy using Heroku Hosting
Manage Projects with GitHub