PHP Unit Testing
Unit testing can reduce the number of headaches you may have with a large project. You should test each “unit” or piece of code. While it may be difficult for 100% code coverage (testing everything), …
Gulp and SCSS
There are so many technologies out there that you can learn; it’s probably impossible to keep up with all of them. It’s still fun to try and learn a little bit about a lot of things. Perhaps we should …
PHP Type Hinting
PHP type hinting is something I’m a huge fan of and think everyone should use. It removes a lot of the guesswork from your PHP; you know that your method will only accept certain types. Being able to …
Creating a PHP Package
Make sure you have composerinstalled if you want to use PHP packages. If you’re new to PHP, then you may not know what a package is or why they’re nice. If you played with Legos as a kid, think about …
Factory Design Pattern
In this post, I’m going to talk about a design pattern; a design pattern is something you can use to solve common problems. I’m going to cover a simple example of the “factory design pattern” and an …
Intro to Object Oriented PHP
To learn how to write Object Oriented PHP, we will start with some basics and build upon those. I will use fictitious and realistic examples. We will also use a simple autoloader, so we don’t have to …
Top 5 PHP Frameworks
In this post, I’ll review what I believe to be the top five PHP frameworks. These frameworks are in no particular order since they all have benefits and can be handy in different situations. Also, …
Inheritance & Visibility
I managed to keep my last post about inheritance relatively short, and I’m going to do the same for this post. I think it’s easier to digest little bits of information at a time. This post will cover …
Inheritance in PHP
I hope my last post about interfaces didn’t make anyone cry. Even if you didn’t understand it; I hope you keep reading. You may have an “aha!” moment when you least expect it. The last post ran a …
Interfaces in PHP
If you’ve read my post about classes in PHP, then you should have a fair understanding of how those work. I didn’t go into too much detail because I would like to build upon what you read previously. …