How does dependency injection work? Is it magic? Does it hurt? The first two questions might be reasonable, and the third one might be something I would ask. Either way, I’ll cover these issues and …
PHP
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), …
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 …
Make sure you have composer installed 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 …
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 …
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 …
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, …
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 …
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 …
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. …
Adopt a dev: ltc1q9khrkdm83eayae9ffenqttgp6qhxhrvv6qfruw
Contact
- email levi.durfee@gmail.com
- encryption RSA Key
- protonmail levi@x6c.us
- www goproxy.dev
- www wappr.net
- www fetcher cdn fetcher
- www feed.levi.lol news feed
- www novault.pw vaultless passwords
Categories
- 6 how-to
- 10 javascript
- 22 php
- 5 programming
- 6 security
- 7 update