Book List App
Just a short codepen I made for adding and deleting a list of books in js. Utilizes local storage. See the Pen Book List App by Yohan (@yo) on CodePen.
Just a short codepen I made for adding and deleting a list of books in js. Utilizes local storage. See the Pen Book List App by Yohan (@yo) on CodePen.
About the course Learning How to Learn is a Coursera course taught by Dr. Barbara Oakley from McMaster University and Dr. Terrence Sejnowski of UC San Diego. The course teaches proven learning techniques backed by modern science and can be used to master a variety of subject. This course gives you easy access to the … Read more
I ran into some trouble running through different tutorials to setup virtual hosts while setting up a local Laravel site. There doesn’t seem to be much consensus on the developers’ preferred local environment. So here’s how to setup virtual hosts on a mac with MAMP. From what I understand this let’s you use a “virtual” … Read more
How to set up a child theme There are a number of tutorials that go over how to set up a child theme. I should know by this point, but there are a few frequent mistakes that are both crucial to the setup process and that other tutorials fail to make explicit. Short-hand list for … Read more
I finally finished the Object Oriented PHP Track! That finished everything I wanted to learn about PHP within Team Treehouse. It’s a huge milestone for me and I’m excited to move on to the next phase of my learning. But what did I think about the OOP track? In, short I felt that the track … Read more
Class Abstract Class Interface Instantiated ✔ X X Extend/Implement Multiple X X ✔ Contract X ✔ ✔ Implementation ✔ ✔ X Single Place Versioning ✔ ✔ X All Methods Public (Access Modifiers) X X ✔ Properties ✔ ✔ X Constants ✔ ✔ ✔ Overridable Constant ✔ ✔ X Type Checked ✔ ✔ ✔ Abstract Class … Read more
Introduction I started with almost zero PHP knowledge beyond copying and pasting snippets of code into WordPress. Team Treehouse’s Beginner’s PHP course gave me the fundamental background on how PHP, and programming in general, works. The Intermediate PHP course gave me the nitty gritty deep dive into the intricacies and quirks of PHP. Before I … Read more
When I was a pseudo WordPress site builder where I wrote some code but did the majority of the work through the UI, various fixes or add-ons came in the form of modifying the theme’s function.php. Preferably, I’d use a child theme or creating a separate plugin. But with the Code Snippets plugin, life doesn’t … Read more
Accessing Directory Read Directory Files into Array $dir = ‘example’; $files = scandir($dir, ‘w’) or die(‘Cannot read directory: ‘.$dir); //implicitly creates file foreach ($files as $file) { //do something with $file } Open and Close Directory $dir = ‘example’; if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if (substr($file, 0, 1) … Read more
It was after I learned how to use PDO that I decided to create a to-do list site from scratch, save for using Bootstrap. As is my learning habit I want the lessons to stick and using them on the to-do list site has served that purpose. But over time it’s grown into a blog … Read more