Laravel, PHP, Programming, Testing
Scenario Our form is expecting user input from a specific field is typed in all capital letters so we have a custom validation rule to check if the input is uppercase. Writing tests for a custom Laravel validation rule is ...
Programming, Vue.js
While building most apps we need to have different layouts depending on the route. For example we might have a different base layout for someone logging in (/login) and for someone visiting a dashboard (/dashboard). Let’s go over one of ...
Programming, Vue.js
First Impressions Having been familiar with HTML and XML layouts building layouts was easy. Styling the layouts feels similar to designing a web app, but not completely the same. Some CSS selectors and HTML attributes aren’t allowed or don’t work ...
PHP, Programming
It’s possible to type hint an array (sort of) in PHP without using a Doc block. Version 5.6 added a splat operator or sometimes called argument unpacking. A splat operator is 3 dots before a parameter. The splat operator allows ...
Laravel
Laravel claims estimated upgrade times upgrading version to version, but this estimation may not be true for you. Upgrades take time and vary depending on application size, architecture, and knowledge. If you’re asked for an estimate use these tips and ...
First, why we might transform data? If we have raw data from a database and need to send data to an external system or maybe export data. In either case we most likely don’t want to expose database column names ...
Programming
We often turn to open source or proprietary packages for adding functionality to our apps. Here are some key points and questions to ask when selecting your next dependency.
Laravel, Programming
Problem Page took over 30 seconds to load locally on a local Vagrant virtual machine. After investigating the results were astonishing, over 1,000 queries executed in order to load the page. Not only was there an extraordinary number of queries ...
I launched a new website dedicated to finding champion spotlights: http://championspotlight.lol for the game League of Legends (LoL). If you haven’t heard of League of Legends: League of Legends is a fast-paced, competitive online game that blends the speed and intensity ...
Vue.js
Filtering in Vue.js is simple thanks to the filter function built into Vue. Let's take a look at an introduction filtering with Vue.js and Lodash.