Freelance Web Design

What exactly is web design, specifically freelance web design? When I first started learning how to code, I wanted to become a freelance web designer. What I didn’t realize is that web designers have a much different subset of skills than a strict coder. There is definitely cross over, but at a certain point, web … Read more

PHP Refresher 1

Types PHP supports ten primitive types: bool, int, float,  string, array, object, callable, iterable, resource, and NULL. class ManyTypes { private $isObject = true; // bool private $myAge = 10; // int private $nationalDebt = 20000000000000.25; // float public $languages = [ ‘php’, ‘JavaScript’, ]; public function getMyAge() { echo “I am $this->myAge years old”; … Read more

Model Relationships

Below the properties, we have a couple functions. The first function describes a relationship between a note and a user. If a table has a field that has _id, the first part refers to another database table. In this case, it’s referring to the user table. Since the notes table has this field, it means … Read more

DevOps – Bonus Lesson: MySQL Docker Service

Add the following block of code to the bottom of the docker-compose.yaml file. This will give you a MySQL database for your application. Note that indentation is very important. Always refer to this block of code instead of the snippets since the snippets aren’t properly indented. # Database database: image: mysql:8.0 command: –default-authentication-plugin=mysql_native_password volumes: – … Read more

Creating the Laravel Application

We’re going to learn Laravel by walking through the user story. The user story parts will be underlined. You can view all of the code for this course on git: https://github.com/davidrichied/laravel-notes. The user goes to the home page of the website and sees a button that says Create Note. Routes First of all, how does … Read more